3

Sets the if_mtu member of the ifnet data structure for this device to the maximum transmission unit, which for Ethernet-related media is represented by the constant ETHERMTU.

The following media-specific constants represent the maximum transmission unit:

ETHERMTU

FDDIMTU

TRN4_RFC1042_IP_MTU

TRN16_RFC1042_IP_MTU

The maximum transmission unit for Ethernet media. The if_ether.h file defines the ETHERMTU constant.

The maximum transmission unit for FDDI media. The if_fddi.h file defines the FDDIMTU constant.

The maximum transmission unit for the 4 megabit-per-second Token Ring media. The if_trn.h file defines the TRN4_RFC1042_IP_MTU constant.

The maximum transmission unit for the 16 megabit-per-second Token Ring media. The if_trn.h file defines the TRN16_RFC1042_IP_MTU constant.

4

5

Sets the if_mediamtu member of the ifnet data structure for this device to the maximum transmission unit for the media, which for Ethernet-related media is represented by the constant ETHERMTU. Typically, you set this member to the same constant that is used for the if_mtu member.

Sets the if_type member of the ifnet data structure for this device to the type of network interface, which is represented by the constant IFT_ETHER (Ethernet I or II interface).

The following describes some of the valid interface types that are defined in the if_types.h file:

6

7

IFT_ETHER

Ethernet I or II interface

IFT_FDDI

FDDI interface

IFT_ISO88025

Token Ring interface

Sets the ac_flag member of the arpcom data structure for this device to the value 0 (zero). This indicates that an IP address is currently not configured for this interface.

Sets the sockaddr_in data structure pointer to the address of the network interface. The address of the network interface is referenced through the if_addr member of the ifnet data structure for this device.

6–4Implementing the Autoconfiguration Support Section (attach)

Page 88
Image 88
Compaq AA-RNG2A-TE manual 4Implementing the Autoconfiguration Support Section attach