2 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket
4 * interface as the means of communication with the user level.
6 * Global definitions for the ANSI FDDI interface.
8 * Version: @(#)if_fddi.h 1.0.2 Sep 29 2004
10 * Author: Lawrence V. Stefani, <stefani@lkg.dec.com>
12 * if_fddi.h is based on previous if_ether.h and if_tr.h work by
13 * Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
14 * Donald Becker, <becker@super.org>
15 * Alan Cox, <alan@lxorguk.ukuu.org.uk>
16 * Steve Whitehouse, <gw7rrm@eeshack3.swan.ac.uk>
17 * Peter De Schrijver, <stud11@cc4.kuleuven.ac.be>
19 * This program is free software; you can redistribute it and/or
20 * modify it under the terms of the GNU General Public License
21 * as published by the Free Software Foundation; either version
22 * 2 of the License, or (at your option) any later version.
24 #ifndef _LINUX_IF_FDDI_H
25 #define _LINUX_IF_FDDI_H
27 #include <linux/netdevice.h>
28 #include <uapi/linux/if_fddi.h>
30 /* Define FDDI statistics structure */
31 struct fddi_statistics {
33 /* Generic statistics. */
35 struct net_device_stats gen;
37 /* Detailed FDDI statistics. Adopted from RFC 1512 */
39 __u8 smt_station_id[8];
40 __u32 smt_op_version_id;
41 __u32 smt_hi_version_id;
42 __u32 smt_lo_version_id;
43 __u8 smt_user_data[32];
44 __u32 smt_mib_version_id;
46 __u32 smt_non_master_cts;
48 __u32 smt_available_paths;
49 __u32 smt_config_capabilities;
50 __u32 smt_config_policy;
51 __u32 smt_connection_policy;
53 __u32 smt_stat_rpt_policy;
54 __u32 smt_trace_max_expiration;
55 __u32 smt_bypass_present;
58 __u32 smt_remote_disconnect_flag;
59 __u32 smt_station_status;
60 __u32 smt_peer_wrap_flag;
62 __u32 smt_transition_time_stamp;
63 __u32 mac_frame_status_functions;
64 __u32 mac_t_max_capability;
65 __u32 mac_tvx_capability;
66 __u32 mac_available_paths;
67 __u32 mac_current_path;
68 __u8 mac_upstream_nbr[FDDI_K_ALEN];
69 __u8 mac_downstream_nbr[FDDI_K_ALEN];
70 __u8 mac_old_upstream_nbr[FDDI_K_ALEN];
71 __u8 mac_old_downstream_nbr[FDDI_K_ALEN];
72 __u32 mac_dup_address_test;
73 __u32 mac_requested_paths;
74 __u32 mac_downstream_port_type;
75 __u8 mac_smt_address[FDDI_K_ALEN];
82 __u32 mac_transmit_cts;
85 __u32 mac_frame_error_threshold;
86 __u32 mac_frame_error_ratio;
89 __u32 mac_una_da_flag;
90 __u32 mac_frame_error_flag;
91 __u32 mac_ma_unitdata_available;
92 __u32 mac_hardware_present;
93 __u32 mac_ma_unitdata_enable;
94 __u32 path_tvx_lower_bound;
95 __u32 path_t_max_lower_bound;
97 __u32 path_configuration[8];
98 __u32 port_my_type[2];
99 __u32 port_neighbor_type[2];
100 __u32 port_connection_policies[2];
101 __u32 port_mac_indicated[2];
102 __u32 port_current_path[2];
103 __u8 port_requested_paths[3*2];
104 __u32 port_mac_placement[2];
105 __u32 port_available_paths[2];
106 __u32 port_pmd_class[2];
107 __u32 port_connection_capabilities[2];
108 __u32 port_bs_flag[2];
109 __u32 port_lct_fail_cts[2];
110 __u32 port_ler_estimate[2];
111 __u32 port_lem_reject_cts[2];
112 __u32 port_lem_cts[2];
113 __u32 port_ler_cutoff[2];
114 __u32 port_ler_alarm[2];
115 __u32 port_connect_state[2];
116 __u32 port_pcm_state[2];
117 __u32 port_pc_withhold[2];
118 __u32 port_ler_flag[2];
119 __u32 port_hardware_present[2];
121 #endif /* _LINUX_IF_FDDI_H */