|
| | BasicLinkLayerEndpoint () noexcept |
| | default constructor.
|
| |
| | BasicLinkLayerEndpoint (const struct sockaddr *addr, socklen_t len) noexcept |
| | create instance using socket address.
|
| |
| | BasicLinkLayerEndpoint (const char *dev) noexcept |
| | create instance using device name.
|
| |
| | BasicLinkLayerEndpoint (const std::string &dev) noexcept |
| | create instance using device name.
|
| |
| constexpr Protocol | protocol () const noexcept |
| | get endpoint protocol.
|
| |
| constexpr socklen_t | length () const noexcept |
| | get socket address length.
|
| |
| void | device (const std::string &dev) noexcept |
| | set endpoint device name.
|
| |
| std::string | device () const |
| | get endpoint device name.
|
| |
| constexpr | BasicEndpoint () noexcept |
| | default constructor.
|
| |
| | BasicEndpoint (const struct sockaddr *addr, socklen_t len) noexcept |
| | create instance using socket address.
|
| |
| struct sockaddr * | addr () noexcept |
| | get socket address.
|
| |
| const struct sockaddr * | addr () const noexcept |
| | get socket address.
|
| |
template<class Protocol>
class join::BasicLinkLayerEndpoint< Protocol >
basic link layer endpoint class.