Generic IP header structure. More...
Data Fields | |
| LT_BITFIELD8 | ip_hl:4 |
| Header Length. | |
| LT_BITFIELD8 | ip_v:4 |
| Version. | |
| uint8_t | ip_tos |
| Type of Service. | |
| uint16_t | ip_len |
| Total Length. | |
| int16_t | ip_id |
| Identification. | |
| uint16_t | ip_off |
| IP Fragment offset (and flags). | |
| uint8_t | ip_ttl |
| Time to Live. | |
| uint8_t | ip_p |
| Protocol. | |
| uint16_t | ip_sum |
| Checksum. | |
| struct in_addr | ip_src |
| Source Address. | |
| struct in_addr | ip_dst |
| Destination Address. | |
Generic IP header structure.
| struct in_addr libtrace_ip::ip_dst |
Destination Address.
Referenced by trace_get_destination_address().
| LT_BITFIELD8 libtrace_ip::ip_hl |
Header Length.
Referenced by trace_get_payload_from_ip(), and trace_get_payload_length().
| int16_t libtrace_ip::ip_id |
Identification.
| uint16_t libtrace_ip::ip_len |
Total Length.
Referenced by trace_get_payload_length().
| uint16_t libtrace_ip::ip_off |
IP Fragment offset (and flags).
Referenced by trace_get_payload_from_ip().
| uint8_t libtrace_ip::ip_p |
Protocol.
Referenced by trace_get_icmp_from_ip(), trace_get_payload_from_ip(), trace_get_payload_length(), trace_get_tcp_from_ip(), and trace_get_udp_from_ip().
| struct in_addr libtrace_ip::ip_src |
Source Address.
Referenced by trace_get_source_address().
| uint16_t libtrace_ip::ip_sum |
Checksum.
| uint8_t libtrace_ip::ip_tos |
Type of Service.
| uint8_t libtrace_ip::ip_ttl |
Time to Live.
| LT_BITFIELD8 libtrace_ip::ip_v |
Version.
Referenced by trace_get_payload_from_ip().
1.7.1