beautypg.com

Functions, Adlink_route_add (), Adlink_route_delete () – ADLINK aTCA-N700 User Manual

Page 39: Adlink_route_table_clear ()

background image

Switch Manager API Programming Guide

39

Functions

adlink_route_add ()

PROTOTYPE

status_t adlink_route_add (adlink_route_info_t *route_info);

DESCRIPTION

This function is used to add a rule entry.

PARAMETERS

route_info

[IN] route info that want to add.

RETURN

See the description of status_t in Section 1.

adlink_route_delete ()

PROTOTYPE

status_t adlink_route_delete (UINT32 ip_addr,UINT32 ip_mask);

DESCRIPTION

This function is used to delete a route entry.

PARAMETERS

ip_addr

[IN] ip address that want to delete.

ip_mask

[IN] ip mask that want to delete.

RETURN

See the description of status_t in Section 1.

adlink_route_table_clear ()

PROTOTYPE

status_t adlink_route_table_clear ();

DESCRIPTION

This function is used to clear all routing table entries that have been added by users.