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.
pppc/pppc.c, and tcps/tcps.c.
short ip::ip_len |
short ip::ip_off |
Source IP address.
Definition at line 165 of file ip.h.
Referenced by NutIcmpResponse(), NutIpInput(), NutTcpReject(), NutTcpSm(), and NutUdpReceiveFrom().
Destination IP address.
Definition at line 166 of file ip.h.
Referenced by NutIpInput(), and NutTcpReject().