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

ip Struct Reference
[IP]

#include <ip.h>


Detailed Description

Structure of an internet header.


Data Fields

u_char ip_hl:4
 Header length.
u_char ip_v:4
 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-2006 by egnite Software GmbH - visit http://www.ethernut.de/