ip.h File Reference

#include "lwip/debug.h"
#include "lwip/def.h"
#include "lwip/pbuf.h"
#include "lwip/ip_addr.h"
#include "lwip/err.h"
#include "lwip/netif.h"

Go to the source code of this file.

Data Structures

struct  ip_hdr

Defines

#define IP_HDRINCL   NULL
#define IP_HLEN   40
#define IP_PROTO_ICMP   58
#define IP_PROTO_TCP   6
#define IP_PROTO_UDP   17
#define IP_PROTO_UDPLITE   170

Functions

void ip_init (void)
void ip_input (struct pbuf *p, struct netif *inp)
err_t ip_output (struct pbuf *p, struct ip_addr *src, struct ip_addr *dest, unsigned char ttl, unsigned char proto)
err_t ip_output_if (struct pbuf *p, struct ip_addr *src, struct ip_addr *dest, unsigned char ttl, unsigned char proto, struct netif *netif)
netifip_route (struct ip_addr *dest)


Define Documentation

#define IP_HDRINCL   NULL

Definition at line 58 of file ip.h.

#define IP_HLEN   40

Definition at line 45 of file ip.h.

#define IP_PROTO_ICMP   58

Definition at line 47 of file ip.h.

#define IP_PROTO_TCP   6

Definition at line 50 of file ip.h.

#define IP_PROTO_UDP   17

Definition at line 48 of file ip.h.

#define IP_PROTO_UDPLITE   170

Definition at line 49 of file ip.h.


Function Documentation

void ip_init ( void   ) 

void ip_input ( struct pbuf p,
struct netif inp 
)

err_t ip_output ( struct pbuf p,
struct ip_addr src,
struct ip_addr dest,
unsigned char  ttl,
unsigned char  proto 
)

err_t ip_output_if ( struct pbuf p,
struct ip_addr src,
struct ip_addr dest,
unsigned char  ttl,
unsigned char  proto,
struct netif netif 
)

struct netif* ip_route ( struct ip_addr dest  ) 


Generated on Sun Dec 3 02:38:06 2006 for UbixOS V2 by  doxygen 1.4.7