Lines Matching defs:rhs
50 std::ostream &operator<<(std::ostream &lhs, const ip &rhs)
52 lhs << "Version: " << (uint32_t)rhs.version << std::endl
53 << "Header length: " << (uint32_t)rhs.header_length << std::endl
54 << "Differentiated Services Field: " << (uint32_t)rhs.dsfield << std::endl
55 << "Total Length: " << (uint32_t)rhs.total_length << std::endl
56 << "Identification: " << (uint32_t)rhs.id << std::endl
57 << "Flags: " << (uint32_t)rhs.flags << std::endl
58 << "Fragment offset: " << (uint32_t)rhs.fragment_offset << std::endl
59 << "TTL: " << (uint32_t)rhs.ttl << std::endl
60 << "Protocol: " << (uint32_t)rhs.protocol << std::endl
61 << "Checksum: " << (uint32_t)rhs.checksum << std::endl
62 << "Source: " << inet_ntoa(*((in_addr *)&rhs.source)) << std::endl
63 << "Destination: " << inet_ntoa(*((in_addr *)&rhs.destination)) << std::endl;