VxWorks Reference Manual : Libraries
etherMultiLib - a library to handle Ethernet multicast addresses
etherMultiAdd( ) - add multicast address to a multicast address list
etherMultiDel( ) - delete an Ethernet multicast address record
etherMultiGet( ) - retrieve a table of multicast addresses from a driver
This library manages a list of multicast addresses for network drivers. This abstracts the management of these drivers into a device independant library.
string.h, errno.h, netinet/in.h, net/if.h, lstLib.h, etherMultiLib.h
etherMultiAdd( ) - add multicast address to a multicast address list
int etherMultiAdd ( LIST * pList, /* pointer to list of multicast addresses */ char* pAddress /* address you want to add to list */ )
This routine adds an Ethernet multicast address list for a given END. The address is a six-byte value pointed to by pAddress.
OK or ENETRESET.
etherMultiDel( ) - delete an Ethernet multicast address record
int etherMultiDel ( LIST * pList, /* pointer to list of multicast addresses */ char* pAddress /* address you want to add to list */ )
This routine deletes an Ethernet multicast address from the list. The address is a six-byte value pointed to by pAddress.
OK or ENETRESET.
etherMultiGet( ) - retrieve a table of multicast addresses from a driver
int etherMultiGet ( LIST* pList, /* pointer to list of multicast addresses */ MULTI_TABLE* pTable /* table into which to copy addresses */ )
This routine runs down the multicast address list stored in a driver and places all the entries it finds into the multicast table structure passed to it.
OK or ERROR.