MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Data Link Provider Interface Library Functions
                                         dlpisetphysaddr(3DLPI)



NAME
     dlpisetphysaddr - set physical address using DLPI

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

     int dlpisetphysaddr(dlpihandlet dh, uintt type,
          const void *addrp, sizet *addrlen);


DESCRIPTION
     The dlpisetphysaddr() function sets the  physical  address
     via  DLPI  handle dh associated with the DLPI link instance.
     Upon success, the physical address is set to  addrp  with  a
     length of addrlen bytes.


     In this release, type  must  be  set  to  DLCURPHYSADR,
     which sets the current physical address.

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










SunOS 5.11          Last change: 22 Aug 2007                    1






Data Link Provider Interface Library Functions
                                         dlpisetphysaddr(3DLPI)




           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Interface Stability          Committed                   
    
     MT-Level                     Safe                        
    


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











































SunOS 5.11          Last change: 22 Aug 2007                    2






Data Link Provider Interface Library Functions
                                         dlpisetphysaddr(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 ™