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

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 />

RETURN None.<br />

LOCAL int mgiIoctl(DRV_CTRL *pDrvCtrl, int cmd, caddr_t data)<br />

DESCRIPTION Process an interface ioctl request.<br />

INPUT<br />

DRV_CTRL<br />

*pDrvCtrl<br />

int<br />

cmd<br />

Pointer to DRV_CTRL structure<br />

Command to process<br />

caddrt data Pointer to data<br />

OUTPUT None.<br />

RETURN<br />

OK Upon success.<br />

ERROR If the config command failed.<br />

LOCAL STATUS mgiMCastAddrAdd(DRV_CTRL *pDrvCtrl, char *pAddr)<br />

DESCRIPTION This routine adds a multicast address to whatever the driver is<br />

already listening <strong>for</strong>.<br />

INPUT<br />

DRV_CTRL<br />

*pDrvCtrl<br />

Pointer to DRV_CTRL structure<br />

char * pAddr Address to be added<br />

OUTPUT Multicast address will be accepted.<br />

RETURN OK or ERROR.<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 - 97

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

Saved successfully!

Ooh no, something went wrong!