Programmable Gateways
Login
Overview
Power Industry
Serial Device Server
Programmable Gateways
Serial/Ethernet Gateway XNUT-100
CAN/Ethernet Gateway XNUT-105
Ethernet CPU Boards
Shop
Information and Support
Main Page
|
Modules
|
Data Structures
|
File List
|
Data Fields
|
Globals
|
Related Pages
|
Examples
include/net/route.h File Reference
Detailed Description
Routing information definitions.
Typedefs
typedef
_RTENTRY
RTENTRY
Route entry type.
Functions
int
NutIpRouteAdd
(
u_long
ip
,
u_long
mask,
u_long
gate,
NUTDEVICE
*dev)
Add a new entry to the IP routing table.
NUTDEVICE
*
NutIpRouteQuery
(
u_long
ip
,
u_long
*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
(
u_long
ip
,
u_long
mask,
u_long
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.