beautypg.com

Adlink_acl_rule_clear (), Adlink_acl_rule_get () – ADLINK aTCA-N700 User Manual

Page 37

background image

Switch Manager API Programming Guide

37

DESCRIPTION

This function is used to delete an ACL rule.

PARAMETERS

rule _id

[IN] the ID of the ACL rule that want to delete.

RETURN

See the description of status_t in Section 1.

adlink_acl_rule_clear ()

PROTOTYPE

status_t adlink_acl_clear ();

DESCRIPTION

This function is used to clear the ACL table in the system. After executing this function, all ACL

rules in the system will be lost.

PARAMETERS

None

RETURN

See the description of status_t in Section 1.

adlink_acl_rule_get ()

PROTOTYPE

status_t adlink_acl_rule_get (UINT16 rule_id, adlink_acl_rule_info_t *rule_info);

DESCRIPTION

This function is used to get the detail information of an ACL rule.

PARAMETERS

rule_id

[IN] The ID of the rule that want to get information.

rule_info

[OUT] The pointer for saving the rule information.

RETURN

See the description of status_t in Section 1.