Lines Matching defs:EthAddr
77 struct EthAddr : protected eth_addr
83 EthAddr();
84 EthAddr(const uint8_t ea[ETH_ADDR_LEN]);
85 EthAddr(const eth_addr &ea);
86 EthAddr(const std::string &addr);
87 const EthAddr &operator=(const eth_addr &ea);
88 const EthAddr &operator=(const std::string &addr);
124 std::ostream &operator<<(std::ostream &stream, const EthAddr &ea);
125 bool operator==(const EthAddr &left, const EthAddr &right);
145 const EthAddr &src() const { return *(EthAddr *)ð_src; }
146 const EthAddr &dst() const { return *(EthAddr *)ð_dst; }