 |
Index for Section 9 |
|
 |
Alphabetical listing for N |
|
 |
Bottom of page |
|
net_hw_mgmt(9s)
NAME
net_hw_mgmt - Network: Hardware Management data structure for use with
lan_common() routines
SYNOPSIS
________________________
Member Name Data Type
________________________
version_id int
current_val void **
default_val void **
commands CMD_ELEM *
support_rtn int (*)()
mss MSS *
handle void *
reserved[8] void *
________________________
MEMBERS
version_id
Specifies an identifier that indicates what revision of the data
structure is being used. Make sure that the device driver initializes
this field to NET_EHM_VERSION_ID prior to invoking any of the
lan_common() routines that use this data structure. You can find the
definition for NET_EHM_VERSION_ID in
/usr/include/io/dec/netif/lan_common.h.
current_val
Specifies a table that contains pointers to the current values for all
the network attributes for the device. The storage for the table and
for the attribute values is allocated by lan_ehm_init().
default_val
Specifies a table that contains pointers to the default values for all
the network attributes for the device. The storage for the table and
for the attribute values is allocated by lan_ehm_init().
commands
Specifies a pointer to an array of commands supported by the network
adapter. If the network driver does not support any commands, as is
typically the case, set this field to NULL. lan_ehm_init() initializes
this field to NULL.
support_rtn
Specifies a special routine that can be called to perform any of the
commands listed in the commands array. If there are no commands, set
this field to NULL. lan_ehm_init() initializes this field to NULL.
mss Specifies the management support structure allocated by
lan_register_adapter(). This data structure is registered with the
Hardware Management facility and contains pointers to all of the
previously listed tables plus other information needed by the facility.
handle
Specifies an identifier returned by the hardware registration function
that must be used in further dealings with the Hardware Management
facility.
reserved[8]
Reserved for future use.
DESCRIPTION
The net_hw_mgmt data structure is allocated by a network driver that wants
to participate in Hardware Managment by using the access routines provided
by the lan_common subsystem. Make sure that the driver declares one of
these data structures for each device it controls.
FILES
</usr/include/ksm/ksm.h>
</usr/include/io/dec/netif/lan_common.h>
SEE ALSO
Routines: lan_ehm_free(9r), lan_ehm_init(9r), lan_register_adapter(9r)
,lan_set_attribute(9r), lan_set_common_attributes(9r)
 |
Index for Section 9 |
|
 |
Alphabetical listing for N |
|
 |
Top of page |
|