 |
Index for Section 9 |
|
 |
Alphabetical listing for C |
|
 |
Bottom of page |
|
ctrreq(9s)
NAME
ctrreq - Network: Defines the interface counter data structure
SYNOPSIS
______________________
Member Name DataType
______________________
ctr_name char *
ctr_type char
ctr_ctrs union
______________________
MEMBERS
ctr_name
Specifies the name of the network interface.
ctr_type
Specifies one of the following constants that describes the counter
type to be accessed by the ioctl request:
CTR_ETHER
Ethernet counters
CTR_FDDI
FDDI counters
CTR_TRN
Token Ring counters
FDDIMIB_SMT
FDDI MIB SMT group
FDDIMIB_MAC
FDDI MIB MAC group
FDDIMIB_PATH
FDDI MIB PATH group
FDDIMIB_PORT
FDDI MIB PORT group
FDDIMIB_ATTA
FDDI MIB attachment group
FDDI_STATUS
FDDI status
FDDISMT_MIB_SMT
FDDI SMT MIB values
FDDISMT_MIB_MAC
FDDI SMT MAC values
FDDISMT_MIB_PATH
FDDI SMT PATH values
FDDISMT_MIB_PORT
FDDI SMT PORT values
FDDIDECEXT_MIB
FDDI legacy DIGITAL-extended MIB values
CTR_TRN
Token Ring counters
TRN_CHAR
Token Ring characteristics
TRN_MIB_ENTRY
Token Ring MIB entry
TRN_MIB_STAT_ENTRY
Token Ring MIB status entry
FDDIMIB_PORT_B
FDDI MIB PORT group
FDDISMT_MIB_PORT_B
FDDI MIB PORT group
ctr_ctrs
Specifies the type of counter data stored in the ctrreq data structure.
This union can contain any one of the following data structures. The
<if.h> file defines alternate names to make it easier to reference the
members of the union. For example, it defines an alternate name for the
Ethernet counter member as follows:
#define ctrc_ether ctr_ctrs.ctrc_ether
_________________________________________________________________
Structure Type Alternate Name Description
_________________________________________________________________
estat ctr_ether Ethernet counters
fstat ctr_fddi FDDI counters
fddiDNA_status dna_fddi FDDI status per DNA spec
fddismt fmib_smt
FDDI SMT attributes (not
documented)
fddimac fmib_mac
FDDI MAC attributes (not
documented)
fddiport fmib_port
FDDI PORT attributes (not
documented)
fddiatta fmib_atta
FDDI attatch attributes (not
documented)
smtmib_smt smib_smt SMT MIB attributes
smtmib_mac smib_mac SMT MIB attributes
smtmib_path smib_port SMT MIB attributes
smtmib_port smib_path SMT MIB attributes
decext_mib decmib_ext
Legacy DIGITAL-extended MIB
(not documented)
trnchar Token Ring characteristics
trncount Token Ring counters
dot5Entry Token Ring MIB counters
dot5StatsEntry Token Ring MIB statistics
_________________________________________________________________
DESCRIPTION
The SIOCTRDCTRS and SIOCTRDZCTRS ioctl commands use the ctrreq data
structure to access network counters on behalf of the caller. Although the
counters differ from one network interface to another, the ctrreq data
structure can contain any type of counter information. This provides a
consistent interface for the ioctl system call.
FILES
<net/if.h>
SEE ALSO
Data Structures: dot5Entry(9s), dot5StatsEntry(9s), estat(9s),
fddiDNA_status(9s), fstat(9s), smtmib_mac(9s), smtmib_path(9s),
smtmib_port(9s), smtmib_smt(9s), trnchar(9s), trncount(9s)
 |
Index for Section 9 |
|
 |
Alphabetical listing for C |
|
 |
Top of page |
|