MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Data Link Provider Interface Library Functions
                                            dlpipromiscon(3DLPI)



NAME
     dlpipromiscon, dlpipromiscoff -  enable  or  disable  DLPI
     promiscuous mode

SYNOPSIS
     cc [ flag... ] file... -ldlpi [ library... ]
     #include 

     int dlpipromiscon(dlpihandlet dh, uintt level);


     int dlpipromiscoff(dlpihandlet dh, uintt level);


DESCRIPTION
     The dlpipromiscon() function enables promiscuous mode on  a
     DLPI  link  instance  associated with DLPI handle dh, at the
     specified level. After enabling promiscuous mode, the caller
     will  be  able to receive all messages destined for the DLPI
     link instance at the specified level. This operation can  be
     performed in any DLPI state of a handle.


     The dlpipromiscoff() function disables promiscuous mode  on
     a  DLPI link instance associated with DLPI handle dh, at the
     specified level. This operation can be performed in any DLPI
     state  of  a  handle in which promiscuous mode is enabled at
     the specified level.


     The level modes are:

     DLPROMISCPHYS     Promiscuous mode at the physical level


     DLPROMISCSAP      Promiscuous mode at the SAP level


     DLPROMISCMULTI    Promiscuous  mode  for   all   multicast
                         addresses


RETURN VALUES
     Upon success, DLPISUCES is   returned.  If  DLSYSER  is
     returned,  errno  contains  the  specific  UNIX system error
     value. Otherwise, a DLPI error value defined in 
     or  an  error  value  listed  in  the  following  section is
     returned.

ERORS




SunOS 5.11          Last change: 22 Aug 2007                    1






Data Link Provider Interface Library Functions
                                            dlpipromiscon(3DLPI)



     DLPIEBADMSG      Bad DLPI message


     DLPIEINHANDLE    Invalid DLPI handle


     DLPIEINVAL       Invalid argument


     DLPIETIMEDOUT    DLPI operation timed out


ATRIBUTES
     See attributes(5) for description of  the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Interface Stability          Committed                   
    
     MT-Level                     Safe                        
    


SEE ALSO
     libdlpi(3LIB), attributes(5)

























SunOS 5.11          Last change: 22 Aug 2007                    2






Data Link Provider Interface Library Functions
                                            dlpipromiscon(3DLPI)






















































SunOS 5.11          Last change: 22 Aug 2007                    3






OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™