#include <cfg/os.h>
#include <sys/heap.h>
#include <net/if_var.h>
#include <net/route.h>
#include <netinet/ip.h>
#include <stdlib.h>
#include <string.h>
#include <memdebug.h>
#include <sys/osdebug.h>
Go to the source code of this file.
Functions | |
int | NutIpRouteAdd (uint32_t ip, uint32_t mask, uint32_t gate, NUTDEVICE *dev) |
Add a new entry to the IP routing table. | |
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. | |
RTENTRY * | NutIpRouteList (int *numEntries) |
Return an array of RTENTRY structures which contain all the current route table entries. | |
NUTDEVICE * | NutIpRouteQuery (uint32_t ip, uint32_t *gate) |
Find a device associated with a particular IP route. | |
Variables | |
RTENTRY * | rteList |