3
Sets the if_mtu member of the ifnet data structure for this device to the maximum transmission unit, which for
The following
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
The maximum transmission unit for the 16
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
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.