Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

struct_rio_switch(9) [centos man page]

STRUCT 
RIO_SWITCH(9) Internals STRUCT RIO_SWITCH(9) NAME
struct_rio_switch - RIO switch info SYNOPSIS
struct rio_switch { struct list_head node; u16 switchid; u8 * route_table; u32 port_ok; int (* add_entry) (struct rio_mport *mport, u16 destid, u8 hopcount,u16 table, u16 route_destid, u8 route_port); int (* get_entry) (struct rio_mport *mport, u16 destid, u8 hopcount,u16 table, u16 route_destid, u8 *route_port); int (* clr_table) (struct rio_mport *mport, u16 destid, u8 hopcount,u16 table); int (* set_domain) (struct rio_mport *mport, u16 destid, u8 hopcount,u8 sw_domain); int (* get_domain) (struct rio_mport *mport, u16 destid, u8 hopcount,u8 *sw_domain); int (* em_init) (struct rio_dev *dev); int (* em_handle) (struct rio_dev *dev, u8 swport); int (* sw_sysfs) (struct rio_dev *dev, int create); struct rio_dev * nextdev[0]; }; MEMBERS
node Node in global list of switches switchid Switch ID that is unique across a network route_table Copy of switch routing table port_ok Status of each port (one bit per port) - OK=1 or UNINIT=0 add_entry Callback for switch-specific route add function get_entry Callback for switch-specific route get function clr_table Callback for switch-specific clear route table function set_domain Callback for switch-specific domain setting function get_domain Callback for switch-specific domain get function em_init Callback for switch-specific error management init function em_handle Callback for switch-specific error management handler function sw_sysfs Callback that initializes switch-specific sysfs attributes nextdev[0] Array of per-port pointers to the next attached device AUTHOR
Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com> Author. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 STRUCT RIO_SWITCH(9)

Check Out this Related Man Page

STRUCT 
IEEE80211_TX_(9) The basic mac80211 driver inte STRUCT IEEE80211_TX_(9) NAME
struct_ieee80211_tx_rate - rate selection/status SYNOPSIS
struct ieee80211_tx_rate { s8 idx; u16 count:5; u16 flags:11; }; MEMBERS
idx rate index to attempt to send with count number of tries in this rate before going to the next rate flags rate control flags (enum mac80211_rate_control_flags) DESCRIPTION
A value of -1 for idx indicates an invalid rate and, if used in an array of retry rates, that no more rates should be tried. When used for transmit status reporting, the driver should always report the rate along with the flags it used. struct ieee80211_tx_info contains an array of these structs in the control information, and it will be filled by the rate control algorithm according to what should be sent. For example, if this array contains, in the format { <idx>, <count> } the information { 3, 2 }, { 2, 2 }, { 1, 4 }, { -1, 0 }, { -1, 0 } then this means that the frame should be transmitted up to twice at rate 3, up to twice at rate 2, and up to four times at rate 1 if it doesn't get acknowledged. Say it gets acknowledged by the peer after the fifth attempt, the status information should then contain { 3, 2 }, { 2, 2 }, { 1, 1 }, { -1, 0 } ... since it was transmitted twice at rate 3, twice at rate 2 and once at rate 1 after which we received an acknowledgement. AUTHOR
Johannes Berg <johannes@sipsolutions.net> Author. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 STRUCT IEEE80211_TX_(9)
Man Page

Featured Tech Videos