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

ip.h File Reference


Detailed Description

Definitions for internet protocol version 4.

RFC 791.


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.
typedef int(* NutIpFilterFunc )(u_long)

Functions

int NutIpOutput (u_char proto, u_long dest, NETBUF *nb)
 Send IP datagram.
void NutIpInput (NUTDEVICE *dev, NETBUF *nb)
 Process incoming IP datagrams.
void NutIpSetInputFilter (NutIpFilterFunc callbackFunc)
 Set filter function for incoming IP datagrams.


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