LAN_CONFIG_INFO

Get network card (LAN card) configuration information.

Service:Server Environment
Defined In:nwfse.h

Structure

  typedef struct 
  { 
     nuint8    DriverCFG_MajorVersion ; 
     nuint8    DriverCFG_MinorVersion ; 
     nuint8    DriverNodeAddress [6]; 
     nuint16   DriverModeFlags ; 
     nuint16   DriverBoardNum ; 
     nuint16   DriverBoardInstance ; 
     nuint32   DriverMaxSize ; 
     nuint32   DriverMaxRecvSize ; 
     nuint32   DriverRecvSize ; 
     nuint32   reserved1 [3]; 
     nuint16   DriverCardID ; 
     nuint16   DriverMediaID ; 
     nuint16   DriverTransportTime ; 
     nuint8    DriverReserved [16]; 
     nuint8    DriverMajorVersion ; 
     nuint8    DriverMinorVersion ; 
     nuint16   DriverFlags ; 
     nuint16   DriverSendRetries ; 
     nuint32   DriverLink ; 
     nuint16   DriverSharingFlags ; 
     nuint16   DriverSlot ; 
     nuint16   DriverIOPortsAndLengths [4]; 
     nuint32   DriverMemDecode0 ; 
     nuint16   DriverLength0 ; 
     nuint32   DriverMemDecode1 ; 
     nuint16   DriverLength1 ; 
     nuint8    DriverInterrupt [2]; 
     nuint8    DriverDMAUsage [2]; 
     nuint32   Reserved2 [3]; 
     nuint8    DriverLogicalName [18]; 
     nuint32   DriverLinearMem [2]; 
     nuint16   DriverChannelNum ; 
     nuint8    DriverIOReserved [6]; 
  } LAN_CONFIG_INFO; 
  

Delphi Structure

  uses calwin32 
   
    LAN_CONFIG_INFO = packed Record 
      DriverCFG_MajorVersion : nuint8;  
      DriverCFG_MinorVersion : nuint8;  
      DriverNodeAddress : Array[0..5] Of nuint8; 
      DriverModeFlags : nuint16;  
      DriverBoardNum : nuint16;  
      DriverBoardInstance : nuint16;  
      DriverMaxSize : nuint32;  
      DriverMaxRecvSize : nuint32;  
      DriverRecvSize : nuint32;  
      Reserved1 : Array[0..2] Of nuint32;  
      DriverCardID : nuint16;  
      DriverMediaID : nuint16;  
      DriverTransportTime : nuint16;  
      DriverReserved : Array[0..15] Of nuint8; 
      DriverMajorVersion : nuint8;  
      DriverMinorVersion : nuint8;  
      DriverFlags : nuint16;  
      DriverSendRetries : nuint16;  
      DriverLink : nuint32;  
      DriverSharingFlags : nuint16;  
      DriverSlot : nuint16;  
      DriverIOPortsAndLengths : Array[0..3] Of nuint16; 
      DriverMemDecode0 : nuint32;  
      DriverLength0 : nuint16;  
      DriverMemDecode1 : nuint32;  
      DriverLength1 : nuint16;  
      DriverInterrupt : Array[0..1] Of nuint8;  
      DriverDMAUsage : Array[0..1] Of nuint8;  
      Reserved2 : Array[0..2] Of nuint32;  
      DriverLogicalName : Array[0..17] Of nuint8;  
      DriverLinearMem : Array[0..1] Of nuint32;  
      DriverChannelNum : nuint16;  
      DriverIOReserved : Array[0..5] Of nuint8; 
    End;
  

Fields

DriverCFG_MajorVersion
Specifies the NovellĀ® defined major version number of the configuration table.
DriverCFG_MinorVersion
Specifies the Novell defined minor version of the configuration table.
DriverNodeAddress
Specifies the node address of the LAN board.
DriverModeFlags
Specifies the mode supported by the driver:
  • 0x0001 Specifies whether the driver was real or a dummy; set to 1.
  • 0x0002 Specifies if the driver uses DMA.
  • 0x0004 Specifies to routers to pass router table changes when they occur, rather than forwarding all RIP and SAP packets; set only if but 4 is set.
  • 0x0008 Specifies if the driver supports multicasting.
  • 0x0010 Specifies if the driver can bind with a protocol stack without providing a network number.
  • 0x0030 Specifies if the driver supports raw sends, no prepending any hardware header.
  • 0x0400 Specifies if the HSM can handle fragmented RCBs.
  • 0x2000 Specifies if the HSM can handle promiscuous RCBs.
  • 0xC000 Specifies the driver node address, as follows:
  00 Format is unspecified; the node address is assumed to be in the native format of the physical layer. 
  01 Illegal combination  
  10 Driver node address is canonical  
  11 Driver node address is noncanonical
  
DriverBoardNum
Specifies the logical board number (1-255) assigned to the LAN board by the LSL(tm) service.
DriverBoardInstance
Specifies the number of the physical card the logical board is using.
DriverMaxSize
Specifies the maximum send or receive packet size in bytes the board can handle.
DriverMaxRecvSize
Specifies the maximum packet size in bytes that the LAN board can receive.
DriverRecvSize
Specifies the maximum packet size in bytes a protocol stack can send or receive using this board.
reserved1
Is reserved (pass zero).
DriverCardID
Specifies the number assigned to the LAN board by IMSP.
DriverMediaID
Specifies the number identifying the link-level envelope used by the MLID.
DriverTransportTime
Specifies the time in ticks to transmit a 576-byte packet.
DriverReserved
Reserved for future use (currently set to zero).
DriverMajorVersion
Specifies the major version number of the MLID.
DriverMinorVersion
Specifies the minor version number of the MLID.
DriverFlags
Specifies a bit map showing the architecture supported by the MLID:

0x0001

EISA

0x0002

ISA

0x0004

MCA

0x0100

Hub management

0x0600

Multicast filtering and format: 00 LAN medium defaults 01 Illegal combination

The following bits are set if the board can share:

0x0020

Primary interrupt

0x0040

Secondary interrupt

0x0080

DMA channel 0

0x0100

DMA channel 1

The following bits are set if:

0x0200

A command line information string to place in AUTOEXEC.NCF is available.

0x0400

To prevent default information from the AUTOEXEC.NCF, this bit overrides the setting of bit 9.

DriverSendRetries
Contains the number of times that the MLID retries send events before aborting the send.
DriverLink
Used by the LSL.
DriverSharingFlags
Contains a bit map defining the sharing abilities of the MLID.
DriverSlot
Specifies the slot number of the board if installed in MCA or EISA machine; otherwise it is 0.
DriverIOPortsAndLengths
Each WORD is defined below:

Word 1

Primary base I/O port

Word 2

Number of I/O ports beginning with primary base I/O port

Word 3

Secondary base I/O port

Word 4

Number of I/O ports beginning with secondary base I/O port

DriverMemDecode0
Specifies the absolute primary memory address that the LAN board uses.
DriverLength0
Specifies the amount of memory in paragraphs the board uses starting at DriverMemDecode0
DriverMemDecode1
Specifies the absolute secondary memory address the board uses.
DriverLength1
Specifies the amount of memory in paragraphs the board uses, starting at DriverMemDecode1.
DriverInterrupt
Specifies the primary interrupt in the first byte; secondary interrupt in the secondary byte. FFh means not used.
DriverDMAUsage
Specifies the primary DMA channel used in the board in the first byte; secondary DMA channel in the second byte. FFh means not used.
Reserved2
Specifies the logical name of the LAN driver, given at load time.
DriverLogicalName
Specifies the logical name of the LAN driver, given at load time.
DriverLinearMem
Specifies the addresses of DriverMemDecode0 and DriverMemDecode1 in the first and second LONGS.
DriverChannelNum
Specifies the multichannel adapters. It holds the channel number of the NIC to use.
DriverIOReserved
Reserved for the LSL.