20.12.2012 Views

CPCI-910 Programmer's Guide - Emerson Network Power

CPCI-910 Programmer's Guide - Emerson Network Power

CPCI-910 Programmer's Guide - Emerson Network Power

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

API Call Reference List of APIs<br />

BCM_L2_RTAG_MAC_SRCDST<br />

BCM_L2_RTAG_IP_SRC<br />

BCM_L2_RTAG_IP_DST<br />

BCM_L2_RTAG_IP_SRCDST<br />

Trunk selection based on Source and destination MAC Address<br />

Trunk selection based on IP (L3) source address<br />

Trunk selection based on IP (L3) source address<br />

Trunk selection based on Source and destination IP (L3) address<br />

int bcm_l2_addr_remove (int unit, unsigned char *mac, int vid)<br />

DESCRIPTION Removes the MAC address for the specified VLAN from the ARL table<br />

INCLUDE src/tulsi_drivers/bcm_cli_kern/arl.h<br />

INPUT<br />

unit Number<br />

Mac 802.3 MAC address<br />

Vid VLAN ID<br />

RETURN VALUE<br />

BCM_E_XXX<br />

BCM_E_NONE (Success)<br />

int bcm_l2_addr_get (int unit, unsigned char *mac, int vid, arl_t *l2addr)<br />

DESCRIPTION Given a MAC address and VLAN ID, check if the entry is present in the L2<br />

table, and if so, return an entry<br />

INCLUDE src/tulsi_drivers/bcm_cli_kern/arl.h<br />

<strong>CPCI</strong>-<strong>910</strong> 2 - 13

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!