libptpmgmt
1.4
libptpmgmt library that provides the functionality of linuxptp pmc
|
UDP over IP version 6 socket. More...
#include <sock.h>
Protected Member Functions | |
bool | setScope (uint8_t udp6_scope) |
bool | setScope (const ConfigFile &cfg, const std::string §ion="") |
Protected Member Functions inherited from SockBase | |
void | close () |
bool | init () |
bool | send (const void *msg, size_t len) |
bool | send (Buf &buf, size_t len) |
bool | sendBuf (Buf &buf, size_t len) |
ssize_t | rcv (void *buf, size_t bufSize, bool block=false) |
ssize_t | rcv (Buf &buf, bool block=false) |
ssize_t | rcvBuf (Buf &buf, bool block=false) |
int | getFd () const |
int | fileno () const |
bool | poll (uint64_t timeout_ms=0) const |
bool | tpoll (uint64_t &timeout_ms) const |
Additional Inherited Members | |
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="") |
UDP over IP version 6 socket.
|
protected |
Set IP version 6 address scope using configuration file
[in] | cfg | reference to configuration file object |
[in] | section | in configuration file |
|
protected |
< Set IP version 6 address scope
[in] | udp6_scope | IP version 6 address scope |