Structure of an internet header. More...
#include <ip.h>
Data Fields | |
uint8_t | ip_hl:4 |
Header length. | |
uint8_t | ip_v:4 |
Version. | |
uint8_t | ip_tos |
Type of service. | |
short | ip_len |
Total length. | |
uint16_t | ip_id |
Identification. | |
short | ip_off |
Fragment offset field. | |
uint8_t | ip_ttl |
Time to live. | |
uint8_t | ip_p |
Protocol. | |
uint16_t | ip_sum |
Checksum. | |
uint32_t | ip_src |
Source IP address. | |
uint32_t | ip_dst |
Destination IP address. |
Structure of an internet header.
Header length.
Referenced by NutIpInput().
Version.
Referenced by NutIpInput().
Type of service.
short ip::ip_len |
Total length.
Referenced by NutIpInput().
short ip::ip_off |
Fragment offset field.
Referenced by NutIpInput().
Time to live.
Protocol.
Referenced by NutIpInput().
Checksum.
Source IP address.
Referenced by main(), NutIcmpResponse(), NutIpInput(), NutTcpReject(), NutTcpSm(), and NutUdpReceiveFrom().
Destination IP address.
Referenced by NutIpInput(), and NutTcpReject().