Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages | Examples

ip Struct Reference
[IPIP]

#include <netinet/ip.h>


Detailed Description

Structure of an internet header.


Data Fields

u_char ip_hl:4
 Header length.

u_char ip_v:4
 Header length Version.

u_char ip_tos
 Type of service.

short ip_len
 Total length.

u_short ip_id
 Identification.

short ip_off
 Fragment offset field.

u_char ip_ttl
 Time to live.

u_char ip_p
 Protocol.

u_short ip_sum
 Checksum.

u_long ip_src
 Source IP address.

u_long ip_dst
 Destination IP address.


© 2000-2003 by egnite Software GmbH - visit http://www.ethernut.de/