|
bool | setPtpDstMacStr (const std::string &string) |
|
bool | setPtpDstMac (const Binary &ptp_dst_mac) |
|
bool | setPtpDstMac (const void *ptp_dst_mac, size_t len) |
|
bool | setPtpDstMac (const ConfigFile &cfg, const std::string §ion="") |
|
bool | setSocketPriority (uint8_t socket_priority) |
|
bool | setSocketPriority (const ConfigFile &cfg, const std::string §ion="") |
|
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="") |
|
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 |
|
Raw socket that uses PTP over Ethernet
- Note
- The class does NOT support VLAN tags!