FCOE_GetPortList man page on OpenIndiana

Man page or keyword search:  
man Server   20441 pages
apropos Keyword Search (all sections)
Output format
OpenIndiana logo
[printable version]

FCOE_GetPortList(3FCFCoE Port Management Library FunctiFCOE_GetPortList(3FCOE)

NAME
       FCOE_GetPortList - get a list of FCoE ports

SYNOPSIS
       cc [ flag... ] file... -lfcoe [ library... ]
       #include <libfcoe.h>

       int FCOE_GetPortList(unsigned int *port_num,
	    struct fcoe_port_attr **portlist);

PARAMETERS
       port_num	   A  pointer  to  an integer that, on successful return, con‐
		   tains the number of FCoE ports in the system.

       portlist	   A pointer to a pointer to an fcoe_port_attr structure that,
		   on  successful return, contains a list of the FCoE ports in
		   the system.

DESCRIPTION
       The FCOE_GetPortList() function retrieves a list of  FCoE  ports.  When
       the  caller is finished using the list, it must free the memory used by
       the list by calling free(3C).

RETURN VALUES
       The following values are returned:

       FCOE_STATUS_ERROR_BUSY

	   The fcoe driver is busy and cannot complete the operation.

       FCOE_STATUS_ERROR_INVAL_ARG

	   The value specified for port_num or portlist was not valid.

       FCOE_STATUS_ERROR_OPEN_DEV

	   Failed to open fcoe device.

       FCOE_STATUS_OK

	   The API call was successful.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface Stability	     │Committed			   │
       ├─────────────────────────────┼─────────────────────────────┤
       │MT-Level		     │Safe			   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       free(3C), libfcoe(3LIB), attributes(5)

SunOS 5.11			  1 Apr 2009	       FCOE_GetPortList(3FCOE)
[top]

List of man pages available for OpenIndiana

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net