|
libptpmgmt 2.0
libptpmgmt library that provides the functionality of linuxptp pmc
|
#include <sock.h>


Public Member Functions | |
| bool | setScope (uint8_t udp6_scope) |
| bool | setScope (const ConfigFile &cfg, const std::string §ion="") |
Public Member Functions inherited from SockIp | |
| bool | setUdpTtl (uint8_t udp_ttl) |
| bool | setUdpTtl (const ConfigFile &cfg, const std::string §ion="") |
Public Member Functions inherited from SockBaseIf | |
| bool | setIfUsingName (const std::string &ifName) |
| bool | setIfUsingIndex (int ifIndex) |
| bool | setIf (const IfInfo &ifObj) |
| bool | setAll (const IfInfo &ifObj, const ConfigFile &cfg, const std::string §ion="") |
| bool | setAllInit (const IfInfo &ifObj, const ConfigFile &cfg, const std::string §ion="") |
Public Member Functions inherited from SockBase | |
| virtual | ~SockBase () |
| void | close () |
| bool | init () |
| bool | send (const void *msg, size_t len) const |
| bool | send (const Buf &buf, size_t len) const |
| bool | sendBuf (const Buf &buf, size_t len) const |
| ssize_t | rcv (void *buf, size_t bufSize, bool block=false) const |
| ssize_t | rcv (Buf &buf, bool block=false) const |
| ssize_t | rcvBuf (Buf &buf, bool block=false) const |
| int | getFd () const |
| int | fileno () const |
| bool | poll (uint64_t timeout_ms=0) const |
| bool | tpoll (uint64_t &timeout_ms) const |
UDP over IP version 6 socket
| bool SockIp6::setScope | ( | const ConfigFile & | cfg, |
| const std::string & | section = "" |
||
| ) |
Set IP version 6 address scope using configuration file
| [in] | cfg | reference to configuration file object |
| [in] | section | in configuration file |
| bool SockIp6::setScope | ( | uint8_t | udp6_scope | ) |
Set IP version 6 address scope
| [in] | udp6_scope | IP version 6 address scope |