nut/include/net/route.h File Reference


Detailed Description

Routing information definitions.

#include <net/if_var.h>

Data Structures

struct  _RTENTRY
 Route entry structure. More...

Typedefs

typedef _RTENTRY RTENTRY
 Route entry type.

Functions

__BEGIN_DECLS int NutIpRouteAdd (u_long ip, u_long mask, u_long gate, NUTDEVICE *dev)
 Add a new entry to the IP routing table.
int NutIpRouteDel (u_long ip, u_long mask, u_long gate, NUTDEVICE *dev)
 Delete the specified route table entry.
int NutIpRouteDelAll (NUTDEVICE *dev)
 Delete all route table entries for the given device.
RTENTRYNutIpRouteList (int *numEntries)
 Return an array of RTENTRY structures which contain all the current route table entries.
NUTDEVICENutIpRouteQuery (u_long ip, u_long *gate)
 Find a device associated with a particular IP route.


Generated on Tue Jan 23 21:12:26 2007 for BTnut System Software by doxygen 1.4.7