DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SCO OpenServer

mdi_in_mctbl(D3mdi)


mdi_in_mctbl -- multicast table manipulation routine

Synopsis (Not in SVR5 version)

   #include <sys/mdi.h>
   

int mdi_in_mctbl(mctbl_t * mctbl, macaddr_t addr);

Description

mdi_in_mctbl( ) returns the index for the multicast table entry for the given MAC address.

This function depends upon the MAC address size being 6 bytes. If the MAC address size for your network media is not 6 bytes, do not use this functions.

Context and synchronization

Interrupt context.

Hardware applicability

All

Version applicability

mdi: 1

Differences between versions

This function is not supported in MDI on SVR5 systems.

Return value

mdi_in_mctbl( ) returns the non-negative index in the table if found, -1 otherwise.
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005