#include <ip.h>
Data Fields | |
| uint8_t | ip_hdr_len:4 |
| The header length. | |
| uint8_t | ip_version:4 |
| The IP version. | |
| uint8_t | ip_tos |
| Type of Service. | |
| uint16_t | ip_len |
| IP packet length (both data and header). | |
| uint16_t | ip_id |
| Identification. | |
| uint16_t | ip_off |
| Fragment offset. | |
| uint8_t | ip_ttl |
| Time To Live. | |
| uint8_t | ip_proto |
| The type of the upper-level protocol. | |
| uint16_t | ip_chk |
| IP header checksum. | |
| uint32_t | ip_src |
| IP source address (in network format). | |
| uint32_t | ip_dst |
| IP destination address (in network format). | |
Definition at line 80 of file ip.h.
|
|
IP header checksum.
|
|
|
IP destination address (in network format).
|
|
|
The header length.
|
|
|
Identification.
|
|
|
IP packet length (both data and header).
|
|
|
Fragment offset.
|
|
|
The type of the upper-level protocol.
|
|
|
IP source address (in network format).
|
|
|
Type of Service.
|
|
|
Time To Live.
|
|
|
The IP version.
|
1.2.18