2.2 BSP Rel. 1.0 for PPMC-275 Programmer's Guide
2.2 BSP Rel. 1.0 for PPMC-275 Programmer's Guide
2.2 BSP Rel. 1.0 for PPMC-275 Programmer's Guide
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
API Call Reference List of APIs<br />
INPUT<br />
ETH_PORT<br />
ethPortNum<br />
unsigned char<br />
ucNibble<br />
Port number.<br />
Unicast MAC Address last nibble.<br />
ETH_QUEUE queue Rx queue number <strong>for</strong> this MAC address.<br />
int option 0 = Add<br />
1 = remove address.<br />
OUTPUT This function add/removes MAC addresses from the port unicast<br />
addresstable.<br />
RETURN<br />
True If output succeeded.<br />
False If option parameter is invalid.<br />
void ethPortMcAddr(ETH_PORT ethPortNum, unsigned char *pAddr, ETH_QUEUE queue, int<br />
option)<br />
DESCRIPTION This API controls the MV device MAC multicast support. The MV<br />
device supports multicast using two tables:<br />
1. Special Multicast Table <strong>for</strong> MAC addresses of the <strong>for</strong>m 0x01-<br />
00-5E-00-00-XX (where XX is between 0x00 and 0xFF). The<br />
MAC DA[7:0] bits are used as a pointer to the Special Multicast<br />
Table entries in the DA-Filter table. In this case, the function<br />
calls ethPortSmcAddr() routine to set the Special Multicast<br />
Table.<br />
2. Other Multicast Table <strong>for</strong> multicast of another type. A CRC-<br />
8bit is used as an index to the Other Multicast Table entries in<br />
the DA-Filter table. In this case, the function calculates the<br />
CRC-8bit value and calls ethPortOmcAddr() routine to set<br />
the Other Multicast Table.<br />
VxWorks 5.5/Tornado <strong>2.2</strong> <strong>BSP</strong> <strong>Rel</strong>. <strong>1.0</strong> <strong>for</strong> <strong>PPMC</strong>-<strong>275</strong> 5 - 31