VxWorks Reference Manual : Libraries

etherMultiLib

NAME

etherMultiLib - a library to handle Ethernet multicast addresses

ROUTINES

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

DESCRIPTION

This library manages a list of multicast addresses for network drivers. This abstracts the management of these drivers into a device independant library.

INCLUDE FILES

string.h, errno.h, netinet/in.h, net/if.h, lstLib.h, etherMultiLib.h

SEE ALSO

etherMultiLib


Libraries : Routines

etherMultiAdd( )

NAME

etherMultiAdd( ) - add multicast address to a multicast address list

SYNOPSIS

int etherMultiAdd
    (
    LIST * pList,   /* pointer to list of multicast addresses */
    char*  pAddress /* address you want to add to list */
    )

DESCRIPTION

This routine adds an Ethernet multicast address list for a given END. The address is a six-byte value pointed to by pAddress.

RETURNS

OK or ENETRESET.

SEE ALSO

etherMultiLib


Libraries : Routines

etherMultiDel( )

NAME

etherMultiDel( ) - delete an Ethernet multicast address record

SYNOPSIS

int etherMultiDel
    (
    LIST * pList,   /* pointer to list of multicast addresses */
    char*  pAddress /* address you want to add to list */
    )

DESCRIPTION

This routine deletes an Ethernet multicast address from the list. The address is a six-byte value pointed to by pAddress.

RETURNS

OK or ENETRESET.

SEE ALSO

etherMultiLib


Libraries : Routines

etherMultiGet( )

NAME

etherMultiGet( ) - retrieve a table of multicast addresses from a driver

SYNOPSIS

int etherMultiGet
    (
    LIST*        pList, /* pointer to list of multicast addresses */
    MULTI_TABLE* pTable /* table into which to copy addresses */
    )

DESCRIPTION

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.

RETURNS

OK or ERROR.

SEE ALSO

etherMultiLib