20.12.2012 Views

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

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.

List of APIs API Call Reference<br />

INPUT<br />

ETH_PORT<br />

ethPortNum<br />

unsigned char<br />

*pAddr<br />

Port number.<br />

Unicast MAC Address.<br />

ETH_QUEUE queue Rx queue number <strong>for</strong> this MAC address.<br />

int option 0 = Add,<br />

1 = remove address.<br />

OUTPUT Not Applicable<br />

RETURN<br />

True If output succeeded<br />

False If addAddressTableEntry( ) failed.<br />

static bool ethPortSmcAddr(ETH_PORT ethPortNum, unsigned char mcByte, ETH_QUEUE<br />

queue, int option)<br />

DESCRIPTION This routine controls the MV device special MAC multicast support.<br />

The Special Multicast Table <strong>for</strong> MAC addresses supports<br />

MAC of the <strong>for</strong>m 0x01-00-5E-00-00-XX (where XX is between 0x00<br />

and 0xFF). The MAC DA[7:0] bits are used as a pointer to the Special<br />

Multicast Table entries in the DA-Filter table.This function set<br />

the Special Multicast Table appropriate entry according to the<br />

argument given.<br />

INPUT<br />

ETH_PORT<br />

ethPortNum<br />

unsigned char<br />

mcByte<br />

Port number.<br />

Multicast addr last byte (MAC DA[7:0] bits).<br />

ETH_QUEUE queue Rx queue number <strong>for</strong> this MAC address.<br />

5 - 32 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>

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

Saved successfully!

Ooh no, something went wrong!