IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


Routing and ARP functions


Detailed Description

These functions are providing access to the TCPIP stack's internal routing tables and the ARP cache.

TCPIP API main page

Functions

int SetDefaultGateway (void *InterfaceHandle, unsigned long ipAddress)
 Add the default gateway.
int RemoveDefaultGateway (unsigned long ipAddress)
 Delete the default gateway.
int DefaultGateway (unsigned long *ipAddressPtr)
 Retrieve the default gateway.
int SetStaticRoute (void *InterfaceHandle, unsigned long destIPAddress, unsigned long destNetmask, unsigned long gateway, int hops)
 Add a route.
int RemoveStaticRoute (unsigned long destIPAddress, unsigned long destNetmask)
 Delete a route.
int SetArpEntry (unsigned long ipAddress, char *physicalAddressPtr, int physicalAddressLength)
 Add an ARP entry.
int RemoveArpEntryByPhysAddr (char *physicalAddressPtr, int physicalAddressLength)
 Remove an ARP entry.
int GetARPRouteCacheEntries (ArpRouteCacheEntry *arpEntryStorage)
 Read ARP cache.
int DelArpEntryByPhys (const unsigned char *physicalAddressPtr, int *error)
 Delete an ARP entry.
int AddDefaultGateway (IP_INTERFACE which_interface, const unsigned long *Gateway, int *error)
 Add the default gateway.
int AddDefaultGatewayEx (IP_INTERFACE which_interface, const unsigned long *Gateway, void *userIfaceHandle, int *error)
 Add the default gateway (Extended).
int DelDefaultGateway (const unsigned long *Gateway, int *error)
 Delete the default gateway.
int GetDefaultGateway (unsigned long *Gateway, int *error)
 Get the current default gateway.
int AddStaticRoute (IP_INTERFACE iface_id, const Route_Entry *route, int *error)
 Add a route.
int AddStaticRouteEx (IP_INTERFACE iface_id, const Route_Entry *route, DevUserIfaceHandle userIfaceHandle, int *error)
 Add a route (Extended).
int DelStaticRoute (IP_INTERFACE iface_id, const Route_Entry *route, int *error)
 Remove a route.
int AddArpEntry (const unsigned long *ipAddressPtr, const unsigned char *physicalAddressPtr, int *error)
 Add an ARP entry.





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Jan 26 16:21:39 2017 by Doxygen 1.6.1