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

ifchar(9s)

NAME

ifchar - Network: Defines network characteristics to be set

SYNOPSIS

________________________________ Member Name Data Type ________________________________ ifc_treq u_int ifc_tvx u_int ifc_lem u_int ifc_rtoken u_int ifc_ring_purger u_int ifc_cnt_interval u_int ifc_full_duplex_mode int ifc_media_speed int ifc_media_type int ifc_auto_sense int ________________________________

MEMBERS

ifc_treq Specifies the ANSI media access (MAC) parameter T_Req -- the requested value for the token rotation timer (FDDI only). ifc_tvx Specifies the ANSI MAC parameter TVX -- the maximum time between arrivals of a valid frame or unrestricted token (FDDI only). ifc_lem Specifies the link error-monitoring threshold, or the maximum number of times a link may be rejected. For an attribute of N, the threshold value is calculated as 10^-N (FDDI only). ifc_rtoken Specifies the restricted token timeout, which limits how long a single restricted mode dialog may last before being terminated. (FDDI only.) ifc_ring_purger If true, specifies that this link participates in the ring purger election and performs the ring purger function, if elected (FDDI only). ifc_cnt_interval Specifies the number of seconds between unsolicited counter reports (FDDI only). ifc_full_duplex_mode Specifies one of the following values to indicate whether full duplex mode is enabled or disabled: LAN_FDX_ENABLE Full duplex mode is enabled. LAN_FDX_DISABLE Full duplex mode is disabled. ifc_media_speed Specifies the media speed or -1 if you want the speed to remain unchanged. ifc_media_type Specifies one of the following values or -1 if you want the media type to remain unchanged: LAN_MEDIA_UTP Unshielded twisted-pair cable LAN_MEDIA_BNC Thin wire LAN_MEDIA_STP Shielded twisted-pair cable LAN_MEDIA_FIBER Any fiber-based media LAN_MEDIA_AUI Attachment unit interface LAN_MEDIA_4PAIR Four-pair cable ifc_auto_sense If this member is set to LAN_AUTOSENSE_ENABLE, specifies that you want the driver to set the media mode. If set to -1, you want the media mode to remain unchanged.

DESCRIPTION

The ifchar data structure contains information for setting the characteristics of a network interface. A user process passes this data structure to the driver's ioctl interface when it issues an SIOCIFSETCHAR ioctl command. Initialize any member to -1 if you do not want to change its corresponding network characteristic.

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