Compaq Tru64 UNIX Installation Manual page 88

Writing network device drivers
Table of Contents

Advertisement

Sets the if_mtu member of the ifnet data structure for this device to
3
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
Sets the if_mediamtu member of the ifnet data structure for this
4
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
5
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:
IFT_ETHER
IFT_FDDI
IFT_ISO88025
Sets the ac_flag member of the arpcom data structure for this device
6
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
7
network interface. The address of the network interface is referenced
through the if_addr member of the ifnet data structure for this
device.
6–4 Implementing the Autoconfiguration Support Section (attach)
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.
Ethernet I or II interface
FDDI interface
Token Ring interface

Advertisement

Table of Contents
loading

Table of Contents