Nut/OS  5.0.5
API Reference
ip_opt Struct Reference

#include <ip.h>

Collaboration diagram for ip_opt:
[legend]

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.

Field Documentation

Header length.

Referenced by NutIpOutput().

Version.

Referenced by NutIpOutput().

Type of service.

Referenced by NutIpOutput().

Total length.

Referenced by NutIpOutput().

Identification.

Referenced by NutIpOutput().

Fragment offset field.

Referenced by NutIpOutput().

Time to live.

Referenced by NutIpOutput().

Protocol.

Referenced by NutIpOutput().

Checksum.

Referenced by NutIpOutput().

Source IP address.

Referenced by NutIpOutput().

Destination IP address.

Referenced by NutIpOutput().

Option.

Referenced by NutIpOutput().


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