Nut/OS  4.10.3
API Reference
ip_opt Struct Reference

#include <ip.h>

Collaboration diagram for ip_opt:

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.
uint32_t ip_option
 Option.

Detailed Description

Definition at line 169 of file ip.h.


Field Documentation

Header length.

Definition at line 175 of file ip.h.

Referenced by NutIpOutput().

Version.

Definition at line 175 of file ip.h.

Referenced by NutIpOutput().

Type of service.

Definition at line 182 of file ip.h.

Referenced by NutIpOutput().

Total length.

Definition at line 183 of file ip.h.

Referenced by NutIpOutput().

Identification.

Definition at line 184 of file ip.h.

Referenced by NutIpOutput().

Fragment offset field.

Definition at line 185 of file ip.h.

Referenced by NutIpOutput().

Time to live.

Definition at line 186 of file ip.h.

Referenced by NutIpOutput().

Protocol.

Definition at line 187 of file ip.h.

Referenced by NutIpOutput().

Checksum.

Definition at line 188 of file ip.h.

Referenced by NutIpOutput().

Source IP address.

Definition at line 189 of file ip.h.

Referenced by NutIpOutput().

Destination IP address.

Definition at line 190 of file ip.h.

Referenced by NutIpOutput().

Option.

Definition at line 191 of file ip.h.

Referenced by NutIpOutput().


The documentation for this struct was generated from the following file: