Index Index for
Section 9
Index Alphabetical
listing for L
Bottom of page Bottom of
page

lan_config_data(9s)

NAME

lan_config_data - Network: Driver information structure for use with lan_common() routines

SYNOPSIS

______________________________ Member Name Data Type ______________________________ version_id int cfg_state int info struct driver * config_count int * ______________________________

MEMBERS

version_id Specifies the version number of this data structure. Make sure that a network driver sets this field to LAN_CONFIG_VERSION_ID. You can find this definition in /usr/include/io/dec/netif/lan_common.h. cfg_state Specifies how the driver is configured. The lan_configure() routine sets this field to either SUBSYSTEM_DYNAMICALLY_CONFIGURED or SUBSYSTEM_STATICALLY_CONFIGURED. info Specifies the address of the network driver's driver data structure. config_count The address of a variable in the network driver that the driver increments for each successfully configured device. For Tru64 UNIX V5.0A and later, this field is obsolete and does not need to be initialized by the driver.

DESCRIPTION

The lan_config_data data structure passes driver-specific information to the generic lan_configure() and lan_create_controller() routines. A network driver must initialize all fields with the exception of the cfg_state field prior to calling any of the aforementioned lan_common() routines.

FILES

</usr/include/io/dec/netif/lan_common.h>

SEE ALSO

Routines: lan_configure(9r), lan_create_controller(9r) Data Structures: driver(9s)

Index Index for
Section 9
Index Alphabetical
listing for L
Top of page Top of
page