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

netinet/ip.h File Reference

Definitions for internet protocol version 4. More...


Data Structures

struct  ip
 Structure of an internet header. More...


Defines

#define IPVERSION
 IP protocol version.

#define IP_DF
 Don't fragment flag.

#define IP_MF
 More fragments flag.

#define IP_OFFMASK
 Mask for fragmenting bits.

#define IPOPT_EOL
 End of option list.

#define IPOPT_NOP
 No operation.

#define IPOPT_RR
 Record packet route.

#define IPOPT_TS
 Timestamp.

#define IPOPT_SECURITY
 Provide s,c,h,tcc.

#define IPOPT_LSRR
 Loose source route.

#define IPOPT_SATID
 Satnet id.

#define IPOPT_SSRR
 Strict source route.

#define IPOPT_OPTVAL
 Option identifier offset.

#define IPOPT_OLEN
 Option length offset.

#define IPOPT_OFFSET
 Offset within option.

#define IPOPT_MINOFF
 Minimum offset within option.

#define MAXTTL
 Maximum time to live (seconds).

#define IPDEFTTL
 Default time to live.

#define IPFRAGTTL
 Time to live for fragments.

#define IPTTLDEC
 Subtracted from time to live when forwarding.


Typedefs

typedef ip IPHDR
 Internet header type.


Functions

int NutIpOutput (u_char proto, u_long dest, NETBUF *nb)
 Send IP datagram.

void NutIpInput (NUTDEVICE *dev, NETBUF *nb)
 Process incoming IP datagrams.


Detailed Description

Definitions for internet protocol version 4.

RFC 791.


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