Nut/OS  5.0.5
API Reference
route.h File Reference

Routing information definitions. More...

#include <net/if_var.h>
Include dependency graph for route.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _RTENTRY
 Route entry structure. More...

Typedefs

typedef struct _RTENTRY RTENTRY
 Route entry type.

Functions

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

Detailed Description

Routing information definitions.


Typedef Documentation

typedef struct _RTENTRY RTENTRY

Route entry type.