SYMBOL INDEX (3686 symbols across 294 files) FILE: audit/examples/add_rules.rs function main (line 24) | async fn main() -> Result<(), String> { function add_rules (line 30) | async fn add_rules(mut handle: Handle) -> Result<(), Error> { FILE: audit/examples/dump_audit_rules.rs function main (line 9) | async fn main() -> Result<(), String> { function list_rules (line 15) | async fn list_rules(mut handle: Handle) -> Result<(), Error> { FILE: audit/examples/events.rs function main (line 10) | async fn main() -> Result<(), String> { FILE: audit/examples/events_async.rs function main (line 10) | async fn main() -> Result<(), String> { FILE: audit/src/errors.rs type Error (line 8) | pub enum Error { FILE: audit/src/handle.rs constant AUDIT_STATUS_ENABLED (line 29) | pub const AUDIT_STATUS_ENABLED: u32 = 1; constant AUDIT_STATUS_FAILURE (line 30) | pub const AUDIT_STATUS_FAILURE: u32 = 2; constant AUDIT_STATUS_PID (line 31) | pub const AUDIT_STATUS_PID: u32 = 4; constant AUDIT_STATUS_RATE_LIMIT (line 32) | pub const AUDIT_STATUS_RATE_LIMIT: u32 = 8; constant AUDIT_STATUS_BACKLOG_LIMIT (line 33) | pub const AUDIT_STATUS_BACKLOG_LIMIT: u32 = 16; constant AUDIT_STATUS_BACKLOG_WAIT_TIME (line 34) | pub const AUDIT_STATUS_BACKLOG_WAIT_TIME: u32 = 32; constant AUDIT_STATUS_LOST (line 35) | pub const AUDIT_STATUS_LOST: u32 = 64; constant AUDIT_FEATURE_BITMAP_BACKLOG_LIMIT (line 36) | pub const AUDIT_FEATURE_BITMAP_BACKLOG_LIMIT: u32 = 1; constant AUDIT_FEATURE_BITMAP_BACKLOG_WAIT_TIME (line 37) | pub const AUDIT_FEATURE_BITMAP_BACKLOG_WAIT_TIME: u32 = 2; constant AUDIT_FEATURE_BITMAP_EXECUTABLE_PATH (line 38) | pub const AUDIT_FEATURE_BITMAP_EXECUTABLE_PATH: u32 = 4; constant AUDIT_FEATURE_BITMAP_EXCLUDE_EXTEND (line 39) | pub const AUDIT_FEATURE_BITMAP_EXCLUDE_EXTEND: u32 = 8; constant AUDIT_FEATURE_BITMAP_SESSIONID_FILTER (line 40) | pub const AUDIT_FEATURE_BITMAP_SESSIONID_FILTER: u32 = 16; constant AUDIT_FEATURE_BITMAP_LOST_RESET (line 41) | pub const AUDIT_FEATURE_BITMAP_LOST_RESET: u32 = 32; constant AUDIT_FEATURE_BITMAP_FILTER_FS (line 42) | pub const AUDIT_FEATURE_BITMAP_FILTER_FS: u32 = 64; constant AUDIT_FEATURE_BITMAP_ALL (line 43) | pub const AUDIT_FEATURE_BITMAP_ALL: u32 = 127; constant AUDIT_VERSION_LATEST (line 44) | pub const AUDIT_VERSION_LATEST: u32 = 127; constant AUDIT_VERSION_BACKLOG_LIMIT (line 45) | pub const AUDIT_VERSION_BACKLOG_LIMIT: u32 = 1; constant AUDIT_VERSION_BACKLOG_WAIT_TIME (line 46) | pub const AUDIT_VERSION_BACKLOG_WAIT_TIME: u32 = 2; type Handle (line 52) | pub struct Handle(ConnectionHandle); method new (line 55) | pub(crate) fn new(conn: ConnectionHandle) -> Self { method request (line 60) | pub fn request( method acked_request (line 71) | async fn acked_request(&mut self, message: NetlinkMessage Result<(), Erro... method del_rule (line 97) | pub async fn del_rule(&mut self, rule: RuleMessage) -> Result<(), Erro... method list_rules (line 104) | pub fn list_rules(&mut self) -> impl TryStream Result<(), Error> { method get_status (line 137) | pub async fn get_status(&mut self) -> Result { FILE: audit/src/lib.rs function new_connection (line 21) | pub fn new_connection() -> io::Result<( function new_connection_with_socket (line 33) | pub fn new_connection_with_socket() -> io::Result<( FILE: ethtool/examples/dump_coalesce.rs function main (line 7) | fn main() { function get_coalesce (line 15) | async fn get_coalesce(iface_name: Option<&str>) { FILE: ethtool/examples/dump_features.rs function main (line 7) | fn main() { function get_feature (line 15) | async fn get_feature(iface_name: Option<&str>) { FILE: ethtool/examples/dump_link_mode.rs function main (line 7) | fn main() { function get_link_mode (line 15) | async fn get_link_mode(iface_name: Option<&str>) { FILE: ethtool/examples/dump_pause.rs function main (line 7) | fn main() { function get_pause (line 16) | async fn get_pause(iface_name: Option<&str>) { FILE: ethtool/examples/dump_rings.rs function main (line 7) | fn main() { function get_ring (line 15) | async fn get_ring(iface_name: Option<&str>) { FILE: ethtool/src/coalesce/attr.rs constant ETHTOOL_A_COALESCE_HEADER (line 15) | const ETHTOOL_A_COALESCE_HEADER: u16 = 1; constant ETHTOOL_A_COALESCE_RX_USECS (line 16) | const ETHTOOL_A_COALESCE_RX_USECS: u16 = 2; constant ETHTOOL_A_COALESCE_RX_MAX_FRAMES (line 17) | const ETHTOOL_A_COALESCE_RX_MAX_FRAMES: u16 = 3; constant ETHTOOL_A_COALESCE_RX_USECS_IRQ (line 18) | const ETHTOOL_A_COALESCE_RX_USECS_IRQ: u16 = 4; constant ETHTOOL_A_COALESCE_RX_MAX_FRAMES_IRQ (line 19) | const ETHTOOL_A_COALESCE_RX_MAX_FRAMES_IRQ: u16 = 5; constant ETHTOOL_A_COALESCE_TX_USECS (line 20) | const ETHTOOL_A_COALESCE_TX_USECS: u16 = 6; constant ETHTOOL_A_COALESCE_TX_MAX_FRAMES (line 21) | const ETHTOOL_A_COALESCE_TX_MAX_FRAMES: u16 = 7; constant ETHTOOL_A_COALESCE_TX_USECS_IRQ (line 22) | const ETHTOOL_A_COALESCE_TX_USECS_IRQ: u16 = 8; constant ETHTOOL_A_COALESCE_TX_MAX_FRAMES_IRQ (line 23) | const ETHTOOL_A_COALESCE_TX_MAX_FRAMES_IRQ: u16 = 9; constant ETHTOOL_A_COALESCE_STATS_BLOCK_USECS (line 24) | const ETHTOOL_A_COALESCE_STATS_BLOCK_USECS: u16 = 10; constant ETHTOOL_A_COALESCE_USE_ADAPTIVE_RX (line 25) | const ETHTOOL_A_COALESCE_USE_ADAPTIVE_RX: u16 = 11; constant ETHTOOL_A_COALESCE_USE_ADAPTIVE_TX (line 26) | const ETHTOOL_A_COALESCE_USE_ADAPTIVE_TX: u16 = 12; constant ETHTOOL_A_COALESCE_PKT_RATE_LOW (line 27) | const ETHTOOL_A_COALESCE_PKT_RATE_LOW: u16 = 13; constant ETHTOOL_A_COALESCE_RX_USECS_LOW (line 28) | const ETHTOOL_A_COALESCE_RX_USECS_LOW: u16 = 14; constant ETHTOOL_A_COALESCE_RX_MAX_FRAMES_LOW (line 29) | const ETHTOOL_A_COALESCE_RX_MAX_FRAMES_LOW: u16 = 15; constant ETHTOOL_A_COALESCE_TX_USECS_LOW (line 30) | const ETHTOOL_A_COALESCE_TX_USECS_LOW: u16 = 16; constant ETHTOOL_A_COALESCE_TX_MAX_FRAMES_LOW (line 31) | const ETHTOOL_A_COALESCE_TX_MAX_FRAMES_LOW: u16 = 17; constant ETHTOOL_A_COALESCE_PKT_RATE_HIGH (line 32) | const ETHTOOL_A_COALESCE_PKT_RATE_HIGH: u16 = 18; constant ETHTOOL_A_COALESCE_RX_USECS_HIGH (line 33) | const ETHTOOL_A_COALESCE_RX_USECS_HIGH: u16 = 19; constant ETHTOOL_A_COALESCE_RX_MAX_FRAMES_HIGH (line 34) | const ETHTOOL_A_COALESCE_RX_MAX_FRAMES_HIGH: u16 = 20; constant ETHTOOL_A_COALESCE_TX_USECS_HIGH (line 35) | const ETHTOOL_A_COALESCE_TX_USECS_HIGH: u16 = 21; constant ETHTOOL_A_COALESCE_TX_MAX_FRAMES_HIGH (line 36) | const ETHTOOL_A_COALESCE_TX_MAX_FRAMES_HIGH: u16 = 22; constant ETHTOOL_A_COALESCE_RATE_SAMPLE_INTERVAL (line 37) | const ETHTOOL_A_COALESCE_RATE_SAMPLE_INTERVAL: u16 = 23; type EthtoolCoalesceAttr (line 40) | pub enum EthtoolCoalesceAttr { method parse (line 155) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 68) | fn value_len(&self) -> usize { method kind (line 96) | fn kind(&self) -> u16 { method emit_value (line 125) | fn emit_value(&self, buffer: &mut [u8]) { function parse_coalesce_nlas (line 263) | pub(crate) fn parse_coalesce_nlas(buffer: &[u8]) -> Result) -> ... method execute (line 21) | pub async fn execute( FILE: ethtool/src/coalesce/handle.rs type EthtoolCoalesceHandle (line 5) | pub struct EthtoolCoalesceHandle(EthtoolHandle); method new (line 8) | pub fn new(handle: EthtoolHandle) -> Self { method get (line 13) | pub fn get(&mut self, iface_name: Option<&str>) -> EthtoolCoalesceGetR... FILE: ethtool/src/connection.rs function new_connection (line 15) | pub fn new_connection() -> io::Result<( function new_connection_with_socket (line 24) | pub fn new_connection_with_socket() -> io::Result<( FILE: ethtool/src/error.rs type EthtoolError (line 11) | pub enum EthtoolError { FILE: ethtool/src/feature/attr.rs constant ETHTOOL_A_FEATURES_HEADER (line 15) | const ETHTOOL_A_FEATURES_HEADER: u16 = 1; constant ETHTOOL_A_FEATURES_HW (line 16) | const ETHTOOL_A_FEATURES_HW: u16 = 2; constant ETHTOOL_A_FEATURES_WANTED (line 17) | const ETHTOOL_A_FEATURES_WANTED: u16 = 3; constant ETHTOOL_A_FEATURES_ACTIVE (line 18) | const ETHTOOL_A_FEATURES_ACTIVE: u16 = 4; constant ETHTOOL_A_FEATURES_NOCHANGE (line 19) | const ETHTOOL_A_FEATURES_NOCHANGE: u16 = 5; constant ETHTOOL_A_BITSET_BITS (line 21) | const ETHTOOL_A_BITSET_BITS: u16 = 3; constant ETHTOOL_A_BITSET_BITS_BIT (line 23) | const ETHTOOL_A_BITSET_BITS_BIT: u16 = 1; constant ETHTOOL_A_BITSET_BIT_INDEX (line 25) | const ETHTOOL_A_BITSET_BIT_INDEX: u16 = 1; constant ETHTOOL_A_BITSET_BIT_NAME (line 26) | const ETHTOOL_A_BITSET_BIT_NAME: u16 = 2; constant ETHTOOL_A_BITSET_BIT_VALUE (line 27) | const ETHTOOL_A_BITSET_BIT_VALUE: u16 = 3; type EthtoolFeatureBit (line 30) | pub struct EthtoolFeatureBit { method new (line 37) | fn new(has_mask: bool) -> Self { function feature_bits_len (line 46) | fn feature_bits_len(_feature_bits: &[EthtoolFeatureBit]) -> usize { function feature_bits_emit (line 50) | fn feature_bits_emit(_feature_bits: &[EthtoolFeatureBit], _buffer: &mut ... type EthtoolFeatureAttr (line 55) | pub enum EthtoolFeatureAttr { method parse (line 100) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 65) | fn value_len(&self) -> usize { method kind (line 76) | fn kind(&self) -> u16 { method emit_value (line 87) | fn emit_value(&self, buffer: &mut [u8]) { function parse_bitset_bits_nlas (line 138) | fn parse_bitset_bits_nlas( function parse_bitset_bits_nla (line 152) | fn parse_bitset_bits_nla( function parse_feature_nlas (line 209) | pub(crate) fn parse_feature_nlas(buffer: &[u8]) -> Result) -> ... method execute (line 21) | pub async fn execute( FILE: ethtool/src/feature/handle.rs type EthtoolFeatureHandle (line 5) | pub struct EthtoolFeatureHandle(EthtoolHandle); method new (line 8) | pub fn new(handle: EthtoolHandle) -> Self { method get (line 13) | pub fn get(&mut self, iface_name: Option<&str>) -> EthtoolFeatureGetRe... FILE: ethtool/src/handle.rs type EthtoolHandle (line 21) | pub struct EthtoolHandle { method new (line 26) | pub(crate) fn new(handle: GenetlinkHandle) -> Self { method pause (line 30) | pub fn pause(&mut self) -> EthtoolPauseHandle { method feature (line 34) | pub fn feature(&mut self) -> EthtoolFeatureHandle { method link_mode (line 38) | pub fn link_mode(&mut self) -> EthtoolLinkModeHandle { method ring (line 42) | pub fn ring(&mut self) -> EthtoolRingHandle { method coalesce (line 46) | pub fn coalesce(&mut self) -> EthtoolCoalesceHandle { method request (line 50) | pub async fn request( function ethtool_execute (line 64) | pub(crate) async fn ethtool_execute( FILE: ethtool/src/header.rs constant ALTIFNAMSIZ (line 14) | const ALTIFNAMSIZ: usize = 128; constant ETHTOOL_A_HEADER_DEV_INDEX (line 15) | const ETHTOOL_A_HEADER_DEV_INDEX: u16 = 1; constant ETHTOOL_A_HEADER_DEV_NAME (line 16) | const ETHTOOL_A_HEADER_DEV_NAME: u16 = 2; constant ETHTOOL_A_HEADER_FLAGS (line 17) | const ETHTOOL_A_HEADER_FLAGS: u16 = 3; type EthtoolHeader (line 20) | pub enum EthtoolHeader { method parse (line 61) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 28) | fn value_len(&self) -> usize { method kind (line 42) | fn kind(&self) -> u16 { method emit_value (line 51) | fn emit_value(&self, buffer: &mut [u8]) { function str_to_zero_ended_u8_array (line 78) | fn str_to_zero_ended_u8_array(src_str: &str, buffer: &mut [u8], max_size... FILE: ethtool/src/link_mode/attr.rs constant ETHTOOL_A_LINKMODES_HEADER (line 15) | const ETHTOOL_A_LINKMODES_HEADER: u16 = 1; constant ETHTOOL_A_LINKMODES_AUTONEG (line 16) | const ETHTOOL_A_LINKMODES_AUTONEG: u16 = 2; constant ETHTOOL_A_LINKMODES_OURS (line 17) | const ETHTOOL_A_LINKMODES_OURS: u16 = 3; constant ETHTOOL_A_LINKMODES_PEER (line 18) | const ETHTOOL_A_LINKMODES_PEER: u16 = 4; constant ETHTOOL_A_LINKMODES_SPEED (line 19) | const ETHTOOL_A_LINKMODES_SPEED: u16 = 5; constant ETHTOOL_A_LINKMODES_DUPLEX (line 20) | const ETHTOOL_A_LINKMODES_DUPLEX: u16 = 6; constant ETHTOOL_A_LINKMODES_SUBORDINATE_CFG (line 21) | const ETHTOOL_A_LINKMODES_SUBORDINATE_CFG: u16 = 7; constant ETHTOOL_A_LINKMODES_SUBORDINATE_STATE (line 22) | const ETHTOOL_A_LINKMODES_SUBORDINATE_STATE: u16 = 8; constant ETHTOOL_A_LINKMODES_LANES (line 23) | const ETHTOOL_A_LINKMODES_LANES: u16 = 9; constant ETHTOOL_A_BITSET_BITS (line 25) | const ETHTOOL_A_BITSET_BITS: u16 = 3; constant ETHTOOL_A_BITSET_BITS_BIT (line 27) | const ETHTOOL_A_BITSET_BITS_BIT: u16 = 1; constant ETHTOOL_A_BITSET_BIT_INDEX (line 29) | const ETHTOOL_A_BITSET_BIT_INDEX: u16 = 1; constant ETHTOOL_A_BITSET_BIT_NAME (line 30) | const ETHTOOL_A_BITSET_BIT_NAME: u16 = 2; constant ETHTOOL_A_BITSET_BIT_VALUE (line 31) | const ETHTOOL_A_BITSET_BIT_VALUE: u16 = 3; constant DUPLEX_HALF (line 33) | const DUPLEX_HALF: u8 = 0x00; constant DUPLEX_FULL (line 34) | const DUPLEX_FULL: u8 = 0x01; constant DUPLEX_UNKNOWN (line 35) | const DUPLEX_UNKNOWN: u8 = 0xff; type EthtoolLinkModeDuplex (line 38) | pub enum EthtoolLinkModeDuplex { method from (line 46) | fn from(d: u8) -> Self { type EthtoolLinkModeAttr (line 57) | pub enum EthtoolLinkModeAttr { method parse (line 114) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 71) | fn value_len(&self) -> usize { method kind (line 89) | fn kind(&self) -> u16 { method emit_value (line 104) | fn emit_value(&self, buffer: &mut [u8]) { function parse_bitset_bits_nlas (line 155) | fn parse_bitset_bits_nlas(raw: &[u8]) -> Result, DecodeError> { function parse_bitset_bits_nla (line 166) | fn parse_bitset_bits_nla(raw: &[u8]) -> Result, DecodeError> { function parse_link_mode_nlas (line 210) | pub(crate) fn parse_link_mode_nlas(buffer: &[u8]) -> Result) -> ... method execute (line 21) | pub async fn execute( FILE: ethtool/src/link_mode/handle.rs type EthtoolLinkModeHandle (line 5) | pub struct EthtoolLinkModeHandle(EthtoolHandle); method new (line 8) | pub fn new(handle: EthtoolHandle) -> Self { method get (line 13) | pub fn get(&mut self, iface_name: Option<&str>) -> EthtoolLinkModeGetR... FILE: ethtool/src/message.rs constant ETHTOOL_MSG_PAUSE_GET (line 16) | const ETHTOOL_MSG_PAUSE_GET: u8 = 21; constant ETHTOOL_MSG_PAUSE_GET_REPLY (line 17) | const ETHTOOL_MSG_PAUSE_GET_REPLY: u8 = 22; constant ETHTOOL_MSG_FEATURES_GET (line 18) | const ETHTOOL_MSG_FEATURES_GET: u8 = 11; constant ETHTOOL_MSG_FEATURES_GET_REPLY (line 19) | const ETHTOOL_MSG_FEATURES_GET_REPLY: u8 = 11; constant ETHTOOL_MSG_LINKMODES_GET (line 20) | const ETHTOOL_MSG_LINKMODES_GET: u8 = 4; constant ETHTOOL_MSG_LINKMODES_GET_REPLY (line 21) | const ETHTOOL_MSG_LINKMODES_GET_REPLY: u8 = 4; constant ETHTOOL_MSG_RINGS_GET (line 22) | const ETHTOOL_MSG_RINGS_GET: u8 = 15; constant ETHTOOL_MSG_RINGS_GET_REPLY (line 23) | const ETHTOOL_MSG_RINGS_GET_REPLY: u8 = 16; constant ETHTOOL_MSG_COALESCE_GET (line 24) | const ETHTOOL_MSG_COALESCE_GET: u8 = 19; constant ETHTOOL_MSG_COALESCE_GET_REPLY (line 25) | const ETHTOOL_MSG_COALESCE_GET_REPLY: u8 = 20; type EthtoolCmd (line 28) | pub enum EthtoolCmd { function from (line 42) | fn from(cmd: EthtoolCmd) -> Self { type EthtoolAttr (line 59) | pub enum EthtoolAttr { method value_len (line 68) | fn value_len(&self) -> usize { method kind (line 78) | fn kind(&self) -> u16 { method emit_value (line 88) | fn emit_value(&self, buffer: &mut [u8]) { type EthtoolMessage (line 100) | pub struct EthtoolMessage { method new_pause_get (line 120) | pub fn new_pause_get(iface_name: Option<&str>) -> Self { method new_feature_get (line 133) | pub fn new_feature_get(iface_name: Option<&str>) -> Self { method new_link_mode_get (line 146) | pub fn new_link_mode_get(iface_name: Option<&str>) -> Self { method new_ring_get (line 159) | pub fn new_ring_get(iface_name: Option<&str>) -> Self { method new_coalesce_get (line 172) | pub fn new_coalesce_get(iface_name: Option<&str>) -> Self { method parse_with_param (line 197) | fn parse_with_param(buffer: &[u8], header: GenlHeader) -> Result &'static str { method version (line 110) | fn version(&self) -> u8 { method command (line 114) | fn command(&self) -> u8 { method buffer_len (line 187) | fn buffer_len(&self) -> usize { method emit (line 191) | fn emit(&self, buffer: &mut [u8]) { FILE: ethtool/src/pause/attr.rs constant ETHTOOL_A_PAUSE_HEADER (line 15) | const ETHTOOL_A_PAUSE_HEADER: u16 = 1; constant ETHTOOL_A_PAUSE_AUTONEG (line 16) | const ETHTOOL_A_PAUSE_AUTONEG: u16 = 2; constant ETHTOOL_A_PAUSE_RX (line 17) | const ETHTOOL_A_PAUSE_RX: u16 = 3; constant ETHTOOL_A_PAUSE_TX (line 18) | const ETHTOOL_A_PAUSE_TX: u16 = 4; constant ETHTOOL_A_PAUSE_STATS (line 19) | const ETHTOOL_A_PAUSE_STATS: u16 = 5; constant ETHTOOL_A_PAUSE_STAT_TX_FRAMES (line 21) | const ETHTOOL_A_PAUSE_STAT_TX_FRAMES: u16 = 2; constant ETHTOOL_A_PAUSE_STAT_RX_FRAMES (line 22) | const ETHTOOL_A_PAUSE_STAT_RX_FRAMES: u16 = 3; type EthtoolPauseStatAttr (line 25) | pub enum EthtoolPauseStatAttr { method parse (line 56) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 32) | fn value_len(&self) -> usize { method kind (line 39) | fn kind(&self) -> u16 { method emit_value (line 47) | fn emit_value(&self, buffer: &mut [u8]) { type EthtoolPauseAttr (line 71) | pub enum EthtoolPauseAttr { method parse (line 112) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 81) | fn value_len(&self) -> usize { method kind (line 90) | fn kind(&self) -> u16 { method emit_value (line 101) | fn emit_value(&self, buffer: &mut [u8]) { function parse_pause_nlas (line 149) | pub(crate) fn parse_pause_nlas(buffer: &[u8]) -> Result... FILE: ethtool/src/pause/get.rs type EthtoolPauseGetRequest (line 8) | pub struct EthtoolPauseGetRequest { method new (line 14) | pub(crate) fn new(handle: EthtoolHandle, iface_name: Option<&str>) -> ... method execute (line 21) | pub async fn execute( FILE: ethtool/src/pause/handle.rs type EthtoolPauseHandle (line 5) | pub struct EthtoolPauseHandle(EthtoolHandle); method new (line 8) | pub fn new(handle: EthtoolHandle) -> Self { method get (line 13) | pub fn get(&mut self, iface_name: Option<&str>) -> EthtoolPauseGetRequ... FILE: ethtool/src/ring/attr.rs constant ETHTOOL_A_RINGS_HEADER (line 15) | const ETHTOOL_A_RINGS_HEADER: u16 = 1; constant ETHTOOL_A_RINGS_RX_MAX (line 16) | const ETHTOOL_A_RINGS_RX_MAX: u16 = 2; constant ETHTOOL_A_RINGS_RX_MINI_MAX (line 17) | const ETHTOOL_A_RINGS_RX_MINI_MAX: u16 = 3; constant ETHTOOL_A_RINGS_RX_JUMBO_MAX (line 18) | const ETHTOOL_A_RINGS_RX_JUMBO_MAX: u16 = 4; constant ETHTOOL_A_RINGS_TX_MAX (line 19) | const ETHTOOL_A_RINGS_TX_MAX: u16 = 5; constant ETHTOOL_A_RINGS_RX (line 20) | const ETHTOOL_A_RINGS_RX: u16 = 6; constant ETHTOOL_A_RINGS_RX_MINI (line 21) | const ETHTOOL_A_RINGS_RX_MINI: u16 = 7; constant ETHTOOL_A_RINGS_RX_JUMBO (line 22) | const ETHTOOL_A_RINGS_RX_JUMBO: u16 = 8; constant ETHTOOL_A_RINGS_TX (line 23) | const ETHTOOL_A_RINGS_TX: u16 = 9; type EthtoolRingAttr (line 26) | pub enum EthtoolRingAttr { method parse (line 87) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 40) | fn value_len(&self) -> usize { method kind (line 55) | fn kind(&self) -> u16 { method emit_value (line 70) | fn emit_value(&self, buffer: &mut [u8]) { function parse_ring_nlas (line 130) | pub(crate) fn parse_ring_nlas(buffer: &[u8]) -> Result,... FILE: ethtool/src/ring/get.rs type EthtoolRingGetRequest (line 8) | pub struct EthtoolRingGetRequest { method new (line 14) | pub(crate) fn new(handle: EthtoolHandle, iface_name: Option<&str>) -> ... method execute (line 21) | pub async fn execute( FILE: ethtool/src/ring/handle.rs type EthtoolRingHandle (line 5) | pub struct EthtoolRingHandle(EthtoolHandle); method new (line 8) | pub fn new(handle: EthtoolHandle) -> Self { method get (line 13) | pub fn get(&mut self, iface_name: Option<&str>) -> EthtoolRingGetReque... FILE: ethtool/tests/dump_link_modes.rs function test_dump_link_modes (line 7) | fn test_dump_link_modes() { function dump_link_modes (line 15) | async fn dump_link_modes() { FILE: ethtool/tests/get_features_lo.rs function test_get_features_of_loopback (line 6) | fn test_get_features_of_loopback() { function get_feature (line 14) | async fn get_feature(iface_name: Option<&str>) { FILE: genetlink/examples/dump_family_policy.rs function main (line 21) | async fn main() -> Result<(), Error> { FILE: genetlink/examples/list_genetlink_family.rs function main (line 24) | async fn main() -> Result<(), Error> { function print_entry (line 60) | fn print_entry(entry: Vec) { FILE: genetlink/src/connection.rs function new_connection (line 28) | pub fn new_connection() -> io::Result<( function new_connection_with_socket (line 38) | pub fn new_connection_with_socket() -> io::Result<( FILE: genetlink/src/error.rs type GenetlinkError (line 7) | pub enum GenetlinkError { method from (line 23) | fn from(err_msg: netlink_packet_core::error::ErrorMessage) -> Self { FILE: genetlink/src/handle.rs type GenetlinkHandle (line 41) | pub struct GenetlinkHandle { method new (line 47) | pub(crate) fn new(handle: ConnectionHandle) -> Self { method resolve_family_id (line 55) | pub async fn resolve_family_id(&self) -> Result method clear_family_id_cache (line 67) | pub async fn clear_family_id_cache(&self) { method request (line 75) | pub async fn request( method send_request (line 93) | pub fn send_request( method notify (line 110) | pub async fn notify( method send_notify (line 122) | pub fn send_notify( method resolve_message_family_id (line 135) | async fn resolve_message_family_id( FILE: genetlink/src/message.rs type RawGenlMessage (line 38) | pub struct RawGenlMessage { method new (line 46) | pub fn new(header: GenlHeader, payload: Vec, family_id: u16) -> Se... method into_parts (line 55) | pub fn into_parts(self) -> (GenlHeader, Vec) { method from_genlmsg (line 60) | pub fn from_genlmsg(genlmsg: GenlMessage) -> Self method parse_into_genlmsg (line 75) | pub fn parse_into_genlmsg(&self) -> Result, DecodeEr... method parse_with_param (line 101) | fn parse_with_param(buf: &GenlBuffer<&'a T>, message_type: u16) -> Res... method buffer_len (line 85) | fn buffer_len(&self) -> usize { method emit (line 89) | fn emit(&self, buffer: &mut [u8]) { method message_type (line 113) | fn message_type(&self) -> u16 { method buffer_len (line 117) | fn buffer_len(&self) -> usize { method serialize (line 121) | fn serialize(&self, buffer: &mut [u8]) { type Error (line 127) | type Error = DecodeError; method deserialize (line 128) | fn deserialize(header: &NetlinkHeader, payload: &[u8]) -> Result Self { function map_to_rawgenlmsg (line 142) | pub fn map_to_rawgenlmsg( function map_from_rawgenlmsg (line 163) | pub fn map_from_rawgenlmsg( FILE: genetlink/src/resolver.rs type Resolver (line 13) | pub struct Resolver { method new (line 18) | pub fn new() -> Self { method get_cache_by_name (line 24) | pub fn get_cache_by_name(&self, family_name: &str) -> Option { method query_family_id (line 28) | pub fn query_family_id( method clear_cache (line 84) | pub fn clear_cache(&mut self) { function test_resolver_nlctrl (line 96) | async fn test_resolver_nlctrl() { constant TEST_FAMILIES (line 106) | const TEST_FAMILIES: &[&str] = &[ function test_resolver_cache (line 116) | async fn test_resolver_cache() { FILE: mptcp-pm/examples/dump_mptcp.rs function main (line 5) | fn main() { function get_addresses (line 13) | async fn get_addresses() { FILE: mptcp-pm/src/address/attr.rs constant MPTCP_PM_ADDR_ATTR_FAMILY (line 15) | const MPTCP_PM_ADDR_ATTR_FAMILY: u16 = 1; constant MPTCP_PM_ADDR_ATTR_ID (line 16) | const MPTCP_PM_ADDR_ATTR_ID: u16 = 2; constant MPTCP_PM_ADDR_ATTR_ADDR4 (line 17) | const MPTCP_PM_ADDR_ATTR_ADDR4: u16 = 3; constant MPTCP_PM_ADDR_ATTR_ADDR6 (line 18) | const MPTCP_PM_ADDR_ATTR_ADDR6: u16 = 4; constant MPTCP_PM_ADDR_ATTR_PORT (line 19) | const MPTCP_PM_ADDR_ATTR_PORT: u16 = 5; constant MPTCP_PM_ADDR_ATTR_FLAGS (line 20) | const MPTCP_PM_ADDR_ATTR_FLAGS: u16 = 6; constant MPTCP_PM_ADDR_ATTR_IF_IDX (line 21) | const MPTCP_PM_ADDR_ATTR_IF_IDX: u16 = 7; constant MPTCP_PM_ADDR_FLAG_SIGNAL (line 23) | const MPTCP_PM_ADDR_FLAG_SIGNAL: u32 = 1 << 0; constant MPTCP_PM_ADDR_FLAG_SUBFLOW (line 24) | const MPTCP_PM_ADDR_FLAG_SUBFLOW: u32 = 1 << 1; constant MPTCP_PM_ADDR_FLAG_BACKUP (line 25) | const MPTCP_PM_ADDR_FLAG_BACKUP: u32 = 1 << 2; constant MPTCP_PM_ADDR_FLAG_FULLMESH (line 26) | const MPTCP_PM_ADDR_FLAG_FULLMESH: u32 = 1 << 3; constant MPTCP_PM_ADDR_FLAG_IMPLICIT (line 27) | const MPTCP_PM_ADDR_FLAG_IMPLICIT: u32 = 1 << 4; type MptcpPathManagerAddressAttrFlag (line 30) | pub enum MptcpPathManagerAddressAttrFlag { function u32_to_vec_flags (line 39) | fn u32_to_vec_flags(value: u32) -> Vec { function from (line 69) | fn from(v: &MptcpPathManagerAddressAttrFlag) -> u32 { type MptcpPathManagerAddressAttr (line 82) | pub enum MptcpPathManagerAddressAttr { method parse (line 137) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 94) | fn value_len(&self) -> usize { method kind (line 104) | fn kind(&self) -> u16 { method emit_value (line 117) | fn emit_value(&self, buffer: &mut [u8]) { FILE: mptcp-pm/src/address/get.rs type MptcpPathManagerAddressGetRequest (line 13) | pub struct MptcpPathManagerAddressGetRequest { method new (line 18) | pub(crate) fn new(handle: MptcpPathManagerHandle) -> Self { method execute (line 22) | pub async fn execute( FILE: mptcp-pm/src/address/handle.rs type MptcpPathManagerAddressHandle (line 5) | pub struct MptcpPathManagerAddressHandle(MptcpPathManagerHandle); method new (line 8) | pub fn new(handle: MptcpPathManagerHandle) -> Self { method get (line 14) | pub fn get(&mut self) -> MptcpPathManagerAddressGetRequest { FILE: mptcp-pm/src/connection.rs function new_connection (line 15) | pub fn new_connection() -> io::Result<( function new_connection_with_socket (line 24) | pub fn new_connection_with_socket() -> io::Result<( FILE: mptcp-pm/src/error.rs type MptcpPathManagerError (line 11) | pub enum MptcpPathManagerError { FILE: mptcp-pm/src/handle.rs type MptcpPathManagerHandle (line 19) | pub struct MptcpPathManagerHandle { method new (line 24) | pub(crate) fn new(handle: GenetlinkHandle) -> Self { method address (line 31) | pub fn address(&self) -> MptcpPathManagerAddressHandle { method limits (line 36) | pub fn limits(&self) -> MptcpPathManagerLimitsHandle { method request (line 40) | pub async fn request( function mptcp_execute (line 53) | pub(crate) async fn mptcp_execute( FILE: mptcp-pm/src/limits/attr.rs constant MPTCP_PM_ATTR_RCV_ADD_ADDRS (line 13) | const MPTCP_PM_ATTR_RCV_ADD_ADDRS: u16 = 2; constant MPTCP_PM_ATTR_SUBFLOWS (line 14) | const MPTCP_PM_ATTR_SUBFLOWS: u16 = 3; type MptcpPathManagerLimitsAttr (line 17) | pub enum MptcpPathManagerLimitsAttr { method parse (line 48) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 24) | fn value_len(&self) -> usize { method kind (line 31) | fn kind(&self) -> u16 { method emit_value (line 39) | fn emit_value(&self, buffer: &mut [u8]) { FILE: mptcp-pm/src/limits/get.rs type MptcpPathManagerLimitsGetRequest (line 13) | pub struct MptcpPathManagerLimitsGetRequest { method new (line 18) | pub(crate) fn new(handle: MptcpPathManagerHandle) -> Self { method execute (line 22) | pub async fn execute( FILE: mptcp-pm/src/limits/handle.rs type MptcpPathManagerLimitsHandle (line 5) | pub struct MptcpPathManagerLimitsHandle(MptcpPathManagerHandle); method new (line 8) | pub fn new(handle: MptcpPathManagerHandle) -> Self { method get (line 14) | pub fn get(&mut self) -> MptcpPathManagerLimitsGetRequest { FILE: mptcp-pm/src/message.rs constant MPTCP_PM_CMD_GET_ADDR (line 15) | const MPTCP_PM_CMD_GET_ADDR: u8 = 3; constant MPTCP_PM_CMD_GET_LIMITS (line 16) | const MPTCP_PM_CMD_GET_LIMITS: u8 = 6; constant MPTCP_PM_ATTR_ADDR (line 18) | const MPTCP_PM_ATTR_ADDR: u16 = 1; constant MPTCP_PM_ATTR_RCV_ADD_ADDRS (line 19) | const MPTCP_PM_ATTR_RCV_ADD_ADDRS: u16 = 2; constant MPTCP_PM_ATTR_SUBFLOWS (line 20) | const MPTCP_PM_ATTR_SUBFLOWS: u16 = 3; type MptcpPathManagerCmd (line 23) | pub enum MptcpPathManagerCmd { function from (line 29) | fn from(cmd: MptcpPathManagerCmd) -> Self { type MptcpPathManagerAttr (line 38) | pub enum MptcpPathManagerAttr { method value_len (line 45) | fn value_len(&self) -> usize { method kind (line 53) | fn kind(&self) -> u16 { method emit_value (line 61) | fn emit_value(&self, buffer: &mut [u8]) { type MptcpPathManagerMessage (line 71) | pub struct MptcpPathManagerMessage { method new_address_get (line 91) | pub fn new_address_get() -> Self { method new_limits_get (line 98) | pub fn new_limits_get() -> Self { method parse_with_param (line 150) | fn parse_with_param(buffer: &[u8], header: GenlHeader) -> Result &'static str { method version (line 81) | fn version(&self) -> u8 { method command (line 85) | fn command(&self) -> u8 { method buffer_len (line 107) | fn buffer_len(&self) -> usize { method emit (line 111) | fn emit(&self, buffer: &mut [u8]) { function parse_nlas (line 116) | fn parse_nlas(buffer: &[u8]) -> Result, Decode... FILE: mptcp-pm/tests/dump_mptcp.rs function test_mptcp_empty_addresses_and_limits (line 9) | fn test_mptcp_empty_addresses_and_limits() { function assert_empty_addresses_and_limits (line 41) | async fn assert_empty_addresses_and_limits() { FILE: netlink-packet-audit/src/buffer.rs type AuditBuffer (line 14) | pub struct AuditBuffer { function new (line 19) | pub fn new(buffer: T) -> AuditBuffer { function length (line 23) | pub fn length(&self) -> usize { function new_checked (line 27) | pub fn new_checked(buffer: T) -> Result, DecodeError> { function inner (line 33) | pub fn inner(&self) -> &'a [u8] { function inner_mut (line 39) | pub fn inner_mut(&mut self) -> &mut [u8] { method parse_with_param (line 45) | fn parse_with_param(buf: &AuditBuffer<&'a T>, message_type: u16) -> Resu... FILE: netlink-packet-audit/src/codec.rs type NetlinkAuditCodec (line 26) | pub struct NetlinkAuditCodec { method decode (line 32) | fn decode(src: &mut BytesMut) -> io::Result>> method encode (line 118) | fn encode(msg: NetlinkMessage, buf: &mut BytesMut) -> io::Result<()> FILE: netlink-packet-audit/src/constants.rs constant AUDIT_GET (line 10) | pub const AUDIT_GET: u16 = 1000; constant AUDIT_SET (line 12) | pub const AUDIT_SET: u16 = 1001; constant AUDIT_LIST (line 14) | pub const AUDIT_LIST: u16 = 1002; constant AUDIT_ADD (line 16) | pub const AUDIT_ADD: u16 = 1003; constant AUDIT_DEL (line 18) | pub const AUDIT_DEL: u16 = 1004; constant AUDIT_USER (line 20) | pub const AUDIT_USER: u16 = 1005; constant AUDIT_LOGIN (line 22) | pub const AUDIT_LOGIN: u16 = 1006; constant AUDIT_WATCH_INS (line 24) | pub const AUDIT_WATCH_INS: u16 = 1007; constant AUDIT_WATCH_REM (line 26) | pub const AUDIT_WATCH_REM: u16 = 1008; constant AUDIT_WATCH_LIST (line 28) | pub const AUDIT_WATCH_LIST: u16 = 1009; constant AUDIT_SIGNAL_INFO (line 30) | pub const AUDIT_SIGNAL_INFO: u16 = 1010; constant AUDIT_ADD_RULE (line 32) | pub const AUDIT_ADD_RULE: u16 = 1011; constant AUDIT_DEL_RULE (line 34) | pub const AUDIT_DEL_RULE: u16 = 1012; constant AUDIT_LIST_RULES (line 36) | pub const AUDIT_LIST_RULES: u16 = 1013; constant AUDIT_TRIM (line 38) | pub const AUDIT_TRIM: u16 = 1014; constant AUDIT_MAKE_EQUIV (line 40) | pub const AUDIT_MAKE_EQUIV: u16 = 1015; constant AUDIT_TTY_GET (line 42) | pub const AUDIT_TTY_GET: u16 = 1016; constant AUDIT_TTY_SET (line 44) | pub const AUDIT_TTY_SET: u16 = 1017; constant AUDIT_SET_FEATURE (line 46) | pub const AUDIT_SET_FEATURE: u16 = 1018; constant AUDIT_GET_FEATURE (line 48) | pub const AUDIT_GET_FEATURE: u16 = 1019; constant AUDIT_FIRST_USER_MSG (line 55) | pub const AUDIT_FIRST_USER_MSG: u16 = 1100; constant AUDIT_USER_AVC (line 57) | pub const AUDIT_USER_AVC: u16 = 1107; constant AUDIT_USER_TTY (line 59) | pub const AUDIT_USER_TTY: u16 = 1124; constant AUDIT_LAST_USER_MSG (line 60) | pub const AUDIT_LAST_USER_MSG: u16 = 1199; constant AUDIT_FIRST_USER_MSG2 (line 63) | pub const AUDIT_FIRST_USER_MSG2: u16 = 2100; constant AUDIT_LAST_USER_MSG2 (line 64) | pub const AUDIT_LAST_USER_MSG2: u16 = 2999; constant AUDIT_DAEMON_START (line 71) | pub const AUDIT_DAEMON_START: u16 = 1200; constant AUDIT_DAEMON_END (line 73) | pub const AUDIT_DAEMON_END: u16 = 1201; constant AUDIT_DAEMON_ABORT (line 75) | pub const AUDIT_DAEMON_ABORT: u16 = 1202; constant AUDIT_DAEMON_CONFIG (line 77) | pub const AUDIT_DAEMON_CONFIG: u16 = 1203; constant AUDIT_EVENT_MESSAGE_MIN (line 83) | pub const AUDIT_EVENT_MESSAGE_MIN: u16 = 1300; constant AUDIT_EVENT_MESSAGE_MAX (line 84) | pub const AUDIT_EVENT_MESSAGE_MAX: u16 = 1399; constant AUDIT_SYSCALL (line 86) | pub const AUDIT_SYSCALL: u16 = 1300; constant AUDIT_PATH (line 88) | pub const AUDIT_PATH: u16 = 1302; constant AUDIT_IPC (line 90) | pub const AUDIT_IPC: u16 = 1303; constant AUDIT_SOCKETCALL (line 92) | pub const AUDIT_SOCKETCALL: u16 = 1304; constant AUDIT_CONFIG_CHANGE (line 94) | pub const AUDIT_CONFIG_CHANGE: u16 = 1305; constant AUDIT_SOCKADDR (line 96) | pub const AUDIT_SOCKADDR: u16 = 1306; constant AUDIT_CWD (line 98) | pub const AUDIT_CWD: u16 = 1307; constant AUDIT_EXECVE (line 100) | pub const AUDIT_EXECVE: u16 = 1309; constant AUDIT_IPC_SET_PERM (line 102) | pub const AUDIT_IPC_SET_PERM: u16 = 1311; constant AUDIT_MQ_OPEN (line 104) | pub const AUDIT_MQ_OPEN: u16 = 1312; constant AUDIT_MQ_SENDRECV (line 106) | pub const AUDIT_MQ_SENDRECV: u16 = 1313; constant AUDIT_MQ_NOTIFY (line 108) | pub const AUDIT_MQ_NOTIFY: u16 = 1314; constant AUDIT_MQ_GETSETATTR (line 110) | pub const AUDIT_MQ_GETSETATTR: u16 = 1315; constant AUDIT_KERNEL_OTHER (line 112) | pub const AUDIT_KERNEL_OTHER: u16 = 1316; constant AUDIT_FD_PAIR (line 114) | pub const AUDIT_FD_PAIR: u16 = 1317; constant AUDIT_OBJ_PID (line 116) | pub const AUDIT_OBJ_PID: u16 = 1318; constant AUDIT_TTY (line 118) | pub const AUDIT_TTY: u16 = 1319; constant AUDIT_EOE (line 120) | pub const AUDIT_EOE: u16 = 1320; constant AUDIT_BPRM_FCAPS (line 122) | pub const AUDIT_BPRM_FCAPS: u16 = 1321; constant AUDIT_CAPSET (line 124) | pub const AUDIT_CAPSET: u16 = 1322; constant AUDIT_MMAP (line 126) | pub const AUDIT_MMAP: u16 = 1323; constant AUDIT_NETFILTER_PKT (line 128) | pub const AUDIT_NETFILTER_PKT: u16 = 1324; constant AUDIT_NETFILTER_CFG (line 130) | pub const AUDIT_NETFILTER_CFG: u16 = 1325; constant AUDIT_SECCOMP (line 132) | pub const AUDIT_SECCOMP: u16 = 1326; constant AUDIT_PROCTITLE (line 134) | pub const AUDIT_PROCTITLE: u16 = 1327; constant AUDIT_FEATURE_CHANGE (line 136) | pub const AUDIT_FEATURE_CHANGE: u16 = 1328; constant AUDIT_REPLACE (line 138) | pub const AUDIT_REPLACE: u16 = 1329; constant AUDIT_KERN_MODULE (line 140) | pub const AUDIT_KERN_MODULE: u16 = 1330; constant AUDIT_FANOTIFY (line 142) | pub const AUDIT_FANOTIFY: u16 = 1331; constant AUDIT_AVC (line 149) | pub const AUDIT_AVC: u16 = 1400; constant AUDIT_SELINUX_ERR (line 151) | pub const AUDIT_SELINUX_ERR: u16 = 1401; constant AUDIT_AVC_PATH (line 153) | pub const AUDIT_AVC_PATH: u16 = 1402; constant AUDIT_MAC_POLICY_LOAD (line 155) | pub const AUDIT_MAC_POLICY_LOAD: u16 = 1403; constant AUDIT_MAC_STATUS (line 157) | pub const AUDIT_MAC_STATUS: u16 = 1404; constant AUDIT_MAC_CONFIG_CHANGE (line 159) | pub const AUDIT_MAC_CONFIG_CHANGE: u16 = 1405; constant AUDIT_MAC_UNLBL_ALLOW (line 161) | pub const AUDIT_MAC_UNLBL_ALLOW: u16 = 1406; constant AUDIT_MAC_CIPSOV4_ADD (line 163) | pub const AUDIT_MAC_CIPSOV4_ADD: u16 = 1407; constant AUDIT_MAC_CIPSOV4_DEL (line 165) | pub const AUDIT_MAC_CIPSOV4_DEL: u16 = 1408; constant AUDIT_MAC_MAP_ADD (line 167) | pub const AUDIT_MAC_MAP_ADD: u16 = 1409; constant AUDIT_MAC_MAP_DEL (line 169) | pub const AUDIT_MAC_MAP_DEL: u16 = 1410; constant AUDIT_MAC_IPSEC_ADDSA (line 171) | pub const AUDIT_MAC_IPSEC_ADDSA: u16 = 1411; constant AUDIT_MAC_IPSEC_DELSA (line 173) | pub const AUDIT_MAC_IPSEC_DELSA: u16 = 1412; constant AUDIT_MAC_IPSEC_ADDSPD (line 175) | pub const AUDIT_MAC_IPSEC_ADDSPD: u16 = 1413; constant AUDIT_MAC_IPSEC_DELSPD (line 177) | pub const AUDIT_MAC_IPSEC_DELSPD: u16 = 1414; constant AUDIT_MAC_IPSEC_EVENT (line 179) | pub const AUDIT_MAC_IPSEC_EVENT: u16 = 1415; constant AUDIT_MAC_UNLBL_STCADD (line 181) | pub const AUDIT_MAC_UNLBL_STCADD: u16 = 1416; constant AUDIT_MAC_UNLBL_STCDEL (line 183) | pub const AUDIT_MAC_UNLBL_STCDEL: u16 = 1417; constant AUDIT_MAC_CALIPSO_ADD (line 185) | pub const AUDIT_MAC_CALIPSO_ADD: u16 = 1418; constant AUDIT_MAC_CALIPSO_DEL (line 187) | pub const AUDIT_MAC_CALIPSO_DEL: u16 = 1419; constant AUDIT_FIRST_KERN_ANOM_MSG (line 193) | pub const AUDIT_FIRST_KERN_ANOM_MSG: u16 = 1700; constant AUDIT_LAST_KERN_ANOM_MSG (line 194) | pub const AUDIT_LAST_KERN_ANOM_MSG: u16 = 1799; constant AUDIT_ANOM_PROMISCUOUS (line 196) | pub const AUDIT_ANOM_PROMISCUOUS: u16 = 1700; constant AUDIT_ANOM_ABEND (line 198) | pub const AUDIT_ANOM_ABEND: u16 = 1701; constant AUDIT_ANOM_LINK (line 200) | pub const AUDIT_ANOM_LINK: u16 = 1702; constant AUDIT_INTEGRITY_DATA (line 207) | pub const AUDIT_INTEGRITY_DATA: u16 = 1800; constant AUDIT_INTEGRITY_METADATA (line 209) | pub const AUDIT_INTEGRITY_METADATA: u16 = 1801; constant AUDIT_INTEGRITY_STATUS (line 211) | pub const AUDIT_INTEGRITY_STATUS: u16 = 1802; constant AUDIT_INTEGRITY_HASH (line 213) | pub const AUDIT_INTEGRITY_HASH: u16 = 1803; constant AUDIT_INTEGRITY_PCR (line 215) | pub const AUDIT_INTEGRITY_PCR: u16 = 1804; constant AUDIT_INTEGRITY_RULE (line 217) | pub const AUDIT_INTEGRITY_RULE: u16 = 1805; constant AUDIT_KERNEL (line 220) | pub const AUDIT_KERNEL: u16 = 2000; constant AUDIT_FILTER_USER (line 225) | pub const AUDIT_FILTER_USER: u32 = 0; constant AUDIT_FILTER_TASK (line 227) | pub const AUDIT_FILTER_TASK: u32 = 1; constant AUDIT_FILTER_ENTRY (line 229) | pub const AUDIT_FILTER_ENTRY: u32 = 2; constant AUDIT_FILTER_WATCH (line 231) | pub const AUDIT_FILTER_WATCH: u32 = 3; constant AUDIT_FILTER_EXIT (line 233) | pub const AUDIT_FILTER_EXIT: u32 = 4; constant AUDIT_FILTER_TYPE (line 235) | pub const AUDIT_FILTER_TYPE: u32 = 5; constant AUDIT_FILTER_FS (line 237) | pub const AUDIT_FILTER_FS: u32 = 6; constant AUDIT_NR_FILTERS (line 240) | pub const AUDIT_NR_FILTERS: u32 = 7; constant AUDIT_FILTER_PREPEND (line 241) | pub const AUDIT_FILTER_PREPEND: u32 = 16; constant AUDIT_FILTER_UNSET (line 243) | pub const AUDIT_FILTER_UNSET: u32 = 128; constant AUDIT_NEVER (line 248) | pub const AUDIT_NEVER: u32 = 0; constant AUDIT_POSSIBLE (line 250) | pub const AUDIT_POSSIBLE: u32 = 1; constant AUDIT_ALWAYS (line 252) | pub const AUDIT_ALWAYS: u32 = 2; constant AUDIT_MAX_FIELDS (line 254) | pub const AUDIT_MAX_FIELDS: usize = 64; constant AUDIT_MAX_KEY_LEN (line 255) | pub const AUDIT_MAX_KEY_LEN: usize = 256; constant AUDIT_BITMASK_SIZE (line 256) | pub const AUDIT_BITMASK_SIZE: usize = 64; constant AUDIT_SYSCALL_CLASSES (line 258) | pub const AUDIT_SYSCALL_CLASSES: u32 = 16; constant AUDIT_CLASS_DIR_WRITE (line 259) | pub const AUDIT_CLASS_DIR_WRITE: u32 = 0; constant AUDIT_CLASS_DIR_WRITE_32 (line 260) | pub const AUDIT_CLASS_DIR_WRITE_32: u32 = 1; constant AUDIT_CLASS_CHATTR (line 261) | pub const AUDIT_CLASS_CHATTR: u32 = 2; constant AUDIT_CLASS_CHATTR_32 (line 262) | pub const AUDIT_CLASS_CHATTR_32: u32 = 3; constant AUDIT_CLASS_READ (line 263) | pub const AUDIT_CLASS_READ: u32 = 4; constant AUDIT_CLASS_READ_32 (line 264) | pub const AUDIT_CLASS_READ_32: u32 = 5; constant AUDIT_CLASS_WRITE (line 265) | pub const AUDIT_CLASS_WRITE: u32 = 6; constant AUDIT_CLASS_WRITE_32 (line 266) | pub const AUDIT_CLASS_WRITE_32: u32 = 7; constant AUDIT_CLASS_SIGNAL (line 267) | pub const AUDIT_CLASS_SIGNAL: u32 = 8; constant AUDIT_CLASS_SIGNAL_32 (line 268) | pub const AUDIT_CLASS_SIGNAL_32: u32 = 9; constant AUDIT_UNUSED_BITS (line 269) | pub const AUDIT_UNUSED_BITS: u32 = 134216704; constant AUDIT_COMPARE_UID_TO_OBJ_UID (line 272) | pub const AUDIT_COMPARE_UID_TO_OBJ_UID: u32 = 1; constant AUDIT_COMPARE_GID_TO_OBJ_GID (line 273) | pub const AUDIT_COMPARE_GID_TO_OBJ_GID: u32 = 2; constant AUDIT_COMPARE_EUID_TO_OBJ_UID (line 274) | pub const AUDIT_COMPARE_EUID_TO_OBJ_UID: u32 = 3; constant AUDIT_COMPARE_EGID_TO_OBJ_GID (line 275) | pub const AUDIT_COMPARE_EGID_TO_OBJ_GID: u32 = 4; constant AUDIT_COMPARE_AUID_TO_OBJ_UID (line 276) | pub const AUDIT_COMPARE_AUID_TO_OBJ_UID: u32 = 5; constant AUDIT_COMPARE_SUID_TO_OBJ_UID (line 277) | pub const AUDIT_COMPARE_SUID_TO_OBJ_UID: u32 = 6; constant AUDIT_COMPARE_SGID_TO_OBJ_GID (line 278) | pub const AUDIT_COMPARE_SGID_TO_OBJ_GID: u32 = 7; constant AUDIT_COMPARE_FSUID_TO_OBJ_UID (line 279) | pub const AUDIT_COMPARE_FSUID_TO_OBJ_UID: u32 = 8; constant AUDIT_COMPARE_FSGID_TO_OBJ_GID (line 280) | pub const AUDIT_COMPARE_FSGID_TO_OBJ_GID: u32 = 9; constant AUDIT_COMPARE_UID_TO_AUID (line 281) | pub const AUDIT_COMPARE_UID_TO_AUID: u32 = 10; constant AUDIT_COMPARE_UID_TO_EUID (line 282) | pub const AUDIT_COMPARE_UID_TO_EUID: u32 = 11; constant AUDIT_COMPARE_UID_TO_FSUID (line 283) | pub const AUDIT_COMPARE_UID_TO_FSUID: u32 = 12; constant AUDIT_COMPARE_UID_TO_SUID (line 284) | pub const AUDIT_COMPARE_UID_TO_SUID: u32 = 13; constant AUDIT_COMPARE_AUID_TO_FSUID (line 285) | pub const AUDIT_COMPARE_AUID_TO_FSUID: u32 = 14; constant AUDIT_COMPARE_AUID_TO_SUID (line 286) | pub const AUDIT_COMPARE_AUID_TO_SUID: u32 = 15; constant AUDIT_COMPARE_AUID_TO_EUID (line 287) | pub const AUDIT_COMPARE_AUID_TO_EUID: u32 = 16; constant AUDIT_COMPARE_EUID_TO_SUID (line 288) | pub const AUDIT_COMPARE_EUID_TO_SUID: u32 = 17; constant AUDIT_COMPARE_EUID_TO_FSUID (line 289) | pub const AUDIT_COMPARE_EUID_TO_FSUID: u32 = 18; constant AUDIT_COMPARE_SUID_TO_FSUID (line 290) | pub const AUDIT_COMPARE_SUID_TO_FSUID: u32 = 19; constant AUDIT_COMPARE_GID_TO_EGID (line 291) | pub const AUDIT_COMPARE_GID_TO_EGID: u32 = 20; constant AUDIT_COMPARE_GID_TO_FSGID (line 292) | pub const AUDIT_COMPARE_GID_TO_FSGID: u32 = 21; constant AUDIT_COMPARE_GID_TO_SGID (line 293) | pub const AUDIT_COMPARE_GID_TO_SGID: u32 = 22; constant AUDIT_COMPARE_EGID_TO_FSGID (line 294) | pub const AUDIT_COMPARE_EGID_TO_FSGID: u32 = 23; constant AUDIT_COMPARE_EGID_TO_SGID (line 295) | pub const AUDIT_COMPARE_EGID_TO_SGID: u32 = 24; constant AUDIT_COMPARE_SGID_TO_FSGID (line 296) | pub const AUDIT_COMPARE_SGID_TO_FSGID: u32 = 25; constant AUDIT_MAX_FIELD_COMPARE (line 297) | pub const AUDIT_MAX_FIELD_COMPARE: u32 = 25; constant AUDIT_PID (line 302) | pub const AUDIT_PID: u32 = 0; constant AUDIT_UID (line 303) | pub const AUDIT_UID: u32 = 1; constant AUDIT_EUID (line 304) | pub const AUDIT_EUID: u32 = 2; constant AUDIT_SUID (line 305) | pub const AUDIT_SUID: u32 = 3; constant AUDIT_FSUID (line 306) | pub const AUDIT_FSUID: u32 = 4; constant AUDIT_GID (line 307) | pub const AUDIT_GID: u32 = 5; constant AUDIT_EGID (line 308) | pub const AUDIT_EGID: u32 = 6; constant AUDIT_SGID (line 309) | pub const AUDIT_SGID: u32 = 7; constant AUDIT_FSGID (line 310) | pub const AUDIT_FSGID: u32 = 8; constant AUDIT_LOGINUID (line 311) | pub const AUDIT_LOGINUID: u32 = 9; constant AUDIT_PERS (line 312) | pub const AUDIT_PERS: u32 = 10; constant AUDIT_ARCH (line 313) | pub const AUDIT_ARCH: u32 = 11; constant AUDIT_MSGTYPE (line 314) | pub const AUDIT_MSGTYPE: u32 = 12; constant AUDIT_SUBJ_USER (line 315) | pub const AUDIT_SUBJ_USER: u32 = 13; constant AUDIT_SUBJ_ROLE (line 316) | pub const AUDIT_SUBJ_ROLE: u32 = 14; constant AUDIT_SUBJ_TYPE (line 317) | pub const AUDIT_SUBJ_TYPE: u32 = 15; constant AUDIT_SUBJ_SEN (line 318) | pub const AUDIT_SUBJ_SEN: u32 = 16; constant AUDIT_SUBJ_CLR (line 319) | pub const AUDIT_SUBJ_CLR: u32 = 17; constant AUDIT_PPID (line 320) | pub const AUDIT_PPID: u32 = 18; constant AUDIT_OBJ_USER (line 321) | pub const AUDIT_OBJ_USER: u32 = 19; constant AUDIT_OBJ_ROLE (line 322) | pub const AUDIT_OBJ_ROLE: u32 = 20; constant AUDIT_OBJ_TYPE (line 323) | pub const AUDIT_OBJ_TYPE: u32 = 21; constant AUDIT_OBJ_LEV_LOW (line 324) | pub const AUDIT_OBJ_LEV_LOW: u32 = 22; constant AUDIT_OBJ_LEV_HIGH (line 325) | pub const AUDIT_OBJ_LEV_HIGH: u32 = 23; constant AUDIT_LOGINUID_SET (line 326) | pub const AUDIT_LOGINUID_SET: u32 = 24; constant AUDIT_SESSIONID (line 327) | pub const AUDIT_SESSIONID: u32 = 25; constant AUDIT_FSTYPE (line 328) | pub const AUDIT_FSTYPE: u32 = 26; constant AUDIT_DEVMAJOR (line 329) | pub const AUDIT_DEVMAJOR: u32 = 100; constant AUDIT_DEVMINOR (line 330) | pub const AUDIT_DEVMINOR: u32 = 101; constant AUDIT_INODE (line 331) | pub const AUDIT_INODE: u32 = 102; constant AUDIT_EXIT (line 332) | pub const AUDIT_EXIT: u32 = 103; constant AUDIT_SUCCESS (line 333) | pub const AUDIT_SUCCESS: u32 = 104; constant AUDIT_WATCH (line 334) | pub const AUDIT_WATCH: u32 = 105; constant AUDIT_PERM (line 335) | pub const AUDIT_PERM: u32 = 106; constant AUDIT_DIR (line 336) | pub const AUDIT_DIR: u32 = 107; constant AUDIT_FILETYPE (line 337) | pub const AUDIT_FILETYPE: u32 = 108; constant AUDIT_OBJ_UID (line 338) | pub const AUDIT_OBJ_UID: u32 = 109; constant AUDIT_OBJ_GID (line 339) | pub const AUDIT_OBJ_GID: u32 = 110; constant AUDIT_FIELD_COMPARE (line 340) | pub const AUDIT_FIELD_COMPARE: u32 = 111; constant AUDIT_EXE (line 341) | pub const AUDIT_EXE: u32 = 112; constant AUDIT_ARG0 (line 342) | pub const AUDIT_ARG0: u32 = 200; constant AUDIT_ARG1 (line 343) | pub const AUDIT_ARG1: u32 = 201; constant AUDIT_ARG2 (line 344) | pub const AUDIT_ARG2: u32 = 202; constant AUDIT_ARG3 (line 345) | pub const AUDIT_ARG3: u32 = 203; constant AUDIT_FILTERKEY (line 346) | pub const AUDIT_FILTERKEY: u32 = 210; constant AUDIT_BIT_MASK (line 348) | pub const AUDIT_BIT_MASK: u32 = 0x0800_0000; constant AUDIT_LESS_THAN (line 349) | pub const AUDIT_LESS_THAN: u32 = 0x1000_0000; constant AUDIT_GREATER_THAN (line 350) | pub const AUDIT_GREATER_THAN: u32 = 0x2000_0000; constant AUDIT_NOT_EQUAL (line 351) | pub const AUDIT_NOT_EQUAL: u32 = 0x3000_0000; constant AUDIT_EQUAL (line 352) | pub const AUDIT_EQUAL: u32 = 0x4000_0000; constant AUDIT_BIT_TEST (line 353) | pub const AUDIT_BIT_TEST: u32 = AUDIT_BIT_MASK | AUDIT_EQUAL; constant AUDIT_LESS_THAN_OR_EQUAL (line 354) | pub const AUDIT_LESS_THAN_OR_EQUAL: u32 = AUDIT_LESS_THAN | AUDIT_EQUAL; constant AUDIT_GREATER_THAN_OR_EQUAL (line 355) | pub const AUDIT_GREATER_THAN_OR_EQUAL: u32 = AUDIT_GREATER_THAN | AUDIT_... constant AUDIT_OPERATORS (line 356) | pub const AUDIT_OPERATORS: u32 = AUDIT_EQUAL | AUDIT_NOT_EQUAL | AUDIT_B... constant AUDIT_FAIL_SILENT (line 361) | pub const AUDIT_FAIL_SILENT: u32 = 0; constant AUDIT_FAIL_PRINTK (line 362) | pub const AUDIT_FAIL_PRINTK: u32 = 1; constant AUDIT_FAIL_PANIC (line 363) | pub const AUDIT_FAIL_PANIC: u32 = 2; constant AUDIT_PERM_EXEC (line 365) | pub const AUDIT_PERM_EXEC: u32 = 1; constant AUDIT_PERM_WRITE (line 366) | pub const AUDIT_PERM_WRITE: u32 = 2; constant AUDIT_PERM_READ (line 367) | pub const AUDIT_PERM_READ: u32 = 4; constant AUDIT_PERM_ATTR (line 368) | pub const AUDIT_PERM_ATTR: u32 = 8; constant AUDIT_MESSAGE_TEXT_MAX (line 369) | pub const AUDIT_MESSAGE_TEXT_MAX: u32 = 8560; constant AUDIT_FEATURE_VERSION (line 370) | pub const AUDIT_FEATURE_VERSION: u32 = 1; constant AUDIT_FEATURE_ONLY_UNSET_LOGINUID (line 371) | pub const AUDIT_FEATURE_ONLY_UNSET_LOGINUID: u32 = 0; constant AUDIT_FEATURE_LOGINUID_IMMUTABLE (line 372) | pub const AUDIT_FEATURE_LOGINUID_IMMUTABLE: u32 = 1; constant AUDIT_LAST_FEATURE (line 373) | pub const AUDIT_LAST_FEATURE: u32 = 1; constant AUDIT_NLGRP_NONE (line 376) | pub const AUDIT_NLGRP_NONE: u32 = 0; constant AUDIT_NLGRP_READLOG (line 378) | pub const AUDIT_NLGRP_READLOG: u32 = 1; constant __AUDIT_ARCH_CONVENTION_MASK (line 380) | pub const __AUDIT_ARCH_CONVENTION_MASK: u32 = 0x3000_0000; constant __AUDIT_ARCH_CONVENTION_MIPS64_N32 (line 381) | pub const __AUDIT_ARCH_CONVENTION_MIPS64_N32: u32 = 0x2000_0000; constant __AUDIT_ARCH_64BIT (line 382) | pub const __AUDIT_ARCH_64BIT: u32 = 0x0800_0000; constant __AUDIT_ARCH_LE (line 383) | pub const __AUDIT_ARCH_LE: u32 = 0x4000_0000; constant AUDIT_ARCH_AARCH64 (line 384) | pub const AUDIT_ARCH_AARCH64: u32 = 0xC000_00B7; constant AUDIT_ARCH_ALPHA (line 385) | pub const AUDIT_ARCH_ALPHA: u32 = 0xC000_9026; constant AUDIT_ARCH_ARM (line 386) | pub const AUDIT_ARCH_ARM: u32 = 0x4000_0028; constant AUDIT_ARCH_ARMEB (line 387) | pub const AUDIT_ARCH_ARMEB: u32 = 0x28; constant AUDIT_ARCH_CRIS (line 388) | pub const AUDIT_ARCH_CRIS: u32 = 0x4000_004C; constant AUDIT_ARCH_FRV (line 389) | pub const AUDIT_ARCH_FRV: u32 = 0x5441; constant AUDIT_ARCH_I386 (line 390) | pub const AUDIT_ARCH_I386: u32 = 0x4000_0003; constant AUDIT_ARCH_IA64 (line 391) | pub const AUDIT_ARCH_IA64: u32 = 0xC000_0032; constant AUDIT_ARCH_M32R (line 392) | pub const AUDIT_ARCH_M32R: u32 = 0x58; constant AUDIT_ARCH_M68K (line 393) | pub const AUDIT_ARCH_M68K: u32 = 0x04; constant AUDIT_ARCH_MICROBLAZE (line 394) | pub const AUDIT_ARCH_MICROBLAZE: u32 = 0xBD; constant AUDIT_ARCH_MIPS (line 395) | pub const AUDIT_ARCH_MIPS: u32 = 0x08; constant AUDIT_ARCH_MIPSEL (line 396) | pub const AUDIT_ARCH_MIPSEL: u32 = 0x4000_0008; constant AUDIT_ARCH_MIPS64 (line 397) | pub const AUDIT_ARCH_MIPS64: u32 = 0x8000_0008; constant AUDIT_ARCH_MIPS64N32 (line 398) | pub const AUDIT_ARCH_MIPS64N32: u32 = 0xA000_0008; constant AUDIT_ARCH_MIPSEL64 (line 399) | pub const AUDIT_ARCH_MIPSEL64: u32 = 0xC000_0008; constant AUDIT_ARCH_MIPSEL64N32 (line 400) | pub const AUDIT_ARCH_MIPSEL64N32: u32 = 0xE000_0008; constant AUDIT_ARCH_OPENRISC (line 401) | pub const AUDIT_ARCH_OPENRISC: u32 = 92; constant AUDIT_ARCH_PARISC (line 402) | pub const AUDIT_ARCH_PARISC: u32 = 15; constant AUDIT_ARCH_PARISC64 (line 403) | pub const AUDIT_ARCH_PARISC64: u32 = 0x8000_000F; constant AUDIT_ARCH_PPC (line 404) | pub const AUDIT_ARCH_PPC: u32 = 20; constant AUDIT_ARCH_PPC64 (line 405) | pub const AUDIT_ARCH_PPC64: u32 = 0x8000_0015; constant AUDIT_ARCH_PPC64LE (line 406) | pub const AUDIT_ARCH_PPC64LE: u32 = 0xC000_0015; constant AUDIT_ARCH_S390 (line 407) | pub const AUDIT_ARCH_S390: u32 = 22; constant AUDIT_ARCH_S390X (line 408) | pub const AUDIT_ARCH_S390X: u32 = 0x8000_0016; constant AUDIT_ARCH_SH (line 409) | pub const AUDIT_ARCH_SH: u32 = 42; constant AUDIT_ARCH_SHEL (line 410) | pub const AUDIT_ARCH_SHEL: u32 = 0x4000_002A; constant AUDIT_ARCH_SH64 (line 411) | pub const AUDIT_ARCH_SH64: u32 = 0x8000_002A; constant AUDIT_ARCH_SHEL64 (line 412) | pub const AUDIT_ARCH_SHEL64: u32 = 0xC000_002A; constant AUDIT_ARCH_SPARC (line 413) | pub const AUDIT_ARCH_SPARC: u32 = 2; constant AUDIT_ARCH_SPARC64 (line 414) | pub const AUDIT_ARCH_SPARC64: u32 = 0x8000_002B; constant AUDIT_ARCH_TILEGX (line 415) | pub const AUDIT_ARCH_TILEGX: u32 = 0xC000_00BF; constant AUDIT_ARCH_TILEGX32 (line 416) | pub const AUDIT_ARCH_TILEGX32: u32 = 0x4000_00BF; constant AUDIT_ARCH_TILEPRO (line 417) | pub const AUDIT_ARCH_TILEPRO: u32 = 0x4000_00BC; constant AUDIT_ARCH_X86_64 (line 418) | pub const AUDIT_ARCH_X86_64: u32 = 0xC000_003E; FILE: netlink-packet-audit/src/lib.rs type Field (line 19) | pub(crate) type Field = Range; FILE: netlink-packet-audit/src/message.rs type AuditMessage (line 17) | pub enum AuditMessage { method is_event (line 40) | pub fn is_event(&self) -> bool { method is_get_status (line 44) | pub fn is_get_status(&self) -> bool { method is_set_status (line 48) | pub fn is_set_status(&self) -> bool { method is_add_rule (line 52) | pub fn is_add_rule(&self) -> bool { method is_del_rule (line 56) | pub fn is_del_rule(&self) -> bool { method is_list_rules (line 60) | pub fn is_list_rules(&self) -> bool { method message_type (line 64) | pub fn message_type(&self) -> u16 { method buffer_len (line 80) | fn buffer_len(&self) -> usize { method emit (line 95) | fn emit(&self, buffer: &mut [u8]) { method message_type (line 112) | fn message_type(&self) -> u16 { method buffer_len (line 116) | fn buffer_len(&self) -> usize { method serialize (line 120) | fn serialize(&self, buffer: &mut [u8]) { type Error (line 126) | type Error = DecodeError; method deserialize (line 127) | fn deserialize(header: &NetlinkHeader, payload: &[u8]) -> Result Self { FILE: netlink-packet-audit/src/rules/action.rs type RuleAction (line 6) | pub enum RuleAction { method from (line 14) | fn from(value: u32) -> Self { function from (line 26) | fn from(value: RuleAction) -> Self { FILE: netlink-packet-audit/src/rules/buffer.rs constant FLAGS (line 18) | const FLAGS: Field = 0..4; constant ACTION (line 19) | const ACTION: Field = 4..8; constant FIELD_COUNT (line 20) | const FIELD_COUNT: Field = 8..12; constant SYSCALLS (line 21) | const SYSCALLS: Field = u32_array!(FIELD_COUNT.end, AUDIT_BITMASK_SIZE); constant FIELDS (line 22) | const FIELDS: Field = u32_array!(SYSCALLS.end, AUDIT_MAX_FIELDS); constant VALUES (line 23) | const VALUES: Field = u32_array!(FIELDS.end, AUDIT_MAX_FIELDS); constant FIELD_FLAGS (line 24) | const FIELD_FLAGS: Field = u32_array!(VALUES.end, AUDIT_MAX_FIELDS); constant BUFLEN (line 25) | const BUFLEN: Field = FIELD_FLAGS.end..FIELD_FLAGS.end + 4; constant RULE_BUF_MIN_LEN (line 27) | pub(crate) const RULE_BUF_MIN_LEN: usize = BUFLEN.end; function BUF (line 30) | fn BUF(len: usize) -> Field { type RuleBuffer (line 35) | pub struct RuleBuffer { function new (line 40) | pub fn new(buffer: T) -> RuleBuffer { function new_checked (line 44) | pub fn new_checked(buffer: T) -> Result { function check_len (line 50) | pub(crate) fn check_len(&self) -> Result<(), DecodeError> { function flags (line 71) | pub fn flags(&self) -> u32 { function action (line 75) | pub fn action(&self) -> u32 { function field_count (line 79) | pub fn field_count(&self) -> u32 { function buflen (line 83) | pub fn buflen(&self) -> u32 { function syscalls (line 89) | pub fn syscalls(&self) -> &'a [u8] { function fields (line 93) | pub fn fields(&self) -> &'a [u8] { function values (line 97) | pub fn values(&self) -> &'a [u8] { function field_flags (line 101) | pub fn field_flags(&self) -> &'a [u8] { function buf (line 105) | pub fn buf(&self) -> &'a [u8] { function set_flags (line 112) | pub fn set_flags(&mut self, value: u32) { function set_action (line 116) | pub fn set_action(&mut self, value: u32) { function set_field_count (line 120) | pub fn set_field_count(&mut self, value: u32) { function set_buflen (line 124) | pub fn set_buflen(&mut self, value: u32) { function syscalls_mut (line 128) | pub fn syscalls_mut(&mut self) -> &mut [u8] { function fields_mut (line 132) | pub fn fields_mut(&mut self) -> &mut [u8] { function set_field (line 136) | pub fn set_field(&mut self, position: usize, value: u32) { function values_mut (line 142) | pub fn values_mut(&mut self) -> &mut [u8] { function set_value (line 146) | pub fn set_value(&mut self, position: usize, value: u32) { function field_flags_mut (line 152) | pub fn field_flags_mut(&mut self) -> &mut [u8] { function set_field_flags (line 156) | pub fn set_field_flags(&mut self, position: usize, value: u32) { function buf_mut (line 162) | pub fn buf_mut(&mut self) -> &mut [u8] { method parse (line 169) | fn parse(buf: &RuleBuffer<&'a T>) -> Result { FILE: netlink-packet-audit/src/rules/field.rs type RuleField (line 6) | pub enum RuleField { type RuleFieldFlags (line 58) | pub enum RuleFieldFlags { method from (line 72) | fn from(value: u32) -> Self { function from (line 90) | fn from(value: RuleFieldFlags) -> Self { FILE: netlink-packet-audit/src/rules/flags.rs type RuleFlags (line 6) | pub enum RuleFlags { method from (line 21) | fn from(value: u32) -> Self { function from (line 40) | fn from(value: RuleFlags) -> Self { FILE: netlink-packet-audit/src/rules/rule.rs type RuleMessage (line 22) | pub struct RuleMessage { method new (line 36) | pub fn new() -> Self { method compute_string_values_length (line 46) | fn compute_string_values_length(&self) -> usize { method default (line 30) | fn default() -> Self { function set_str_field (line 72) | fn set_str_field(rule_buffer: &mut RuleBuffer, position: usize, bu... method buffer_len (line 84) | fn buffer_len(&self) -> usize { method emit (line 88) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-audit/src/rules/syscalls.rs type RuleSyscalls (line 8) | pub struct RuleSyscalls(pub(crate) Vec); method from_slice (line 16) | pub fn from_slice(slice: &[u8]) -> Result { method new_zeroed (line 33) | pub fn new_zeroed() -> Self { method new_maxed (line 37) | pub fn new_maxed() -> Self { method unset_all (line 42) | pub fn unset_all(&mut self) -> &mut Self { method is_all (line 48) | pub fn is_all(&self) -> bool { method set_all (line 58) | pub fn set_all(&mut self) -> &mut Self { method unset (line 64) | pub fn unset(&mut self, syscall: u32) -> &mut Self { method set (line 71) | pub fn set(&mut self, syscall: u32) -> &mut Self { method has (line 78) | pub fn has(&self, syscall: u32) -> bool { method syscall_coordinates (line 83) | fn syscall_coordinates(syscall: u32) -> (usize, u32) { constant BITMASK_BYTE_LEN (line 10) | const BITMASK_BYTE_LEN: usize = AUDIT_BITMASK_SIZE * 4; constant BITMASK_BIT_LEN (line 11) | const BITMASK_BIT_LEN: u32 = AUDIT_BITMASK_SIZE as u32 * 32; type RuleSyscallsIter (line 93) | pub struct RuleSyscallsIter { type Item (line 99) | type Item = u32; type IntoIter (line 100) | type IntoIter = RuleSyscallsIter; method into_iter (line 102) | fn into_iter(self) -> Self::IntoIter { type Item (line 111) | type Item = u32; method next (line 112) | fn next(&mut self) -> Option { type Item (line 125) | type Item = u32; type IntoIter (line 126) | type IntoIter = RuleSyscallsIter<&'a RuleSyscalls>; method into_iter (line 128) | fn into_iter(self) -> Self::IntoIter { type Item (line 137) | type Item = u32; method next (line 138) | fn next(&mut self) -> Option { type Item (line 151) | type Item = u32; type IntoIter (line 152) | type IntoIter = RuleSyscallsIter<&'a mut RuleSyscalls>; method into_iter (line 154) | fn into_iter(self) -> Self::IntoIter { type Item (line 163) | type Item = u32; method next (line 164) | fn next(&mut self) -> Option { function test_from_slice (line 180) | fn test_from_slice() { function test_iter (line 191) | fn test_iter() { function test_set_unset (line 207) | fn test_set_unset() { FILE: netlink-packet-audit/src/rules/tests.rs constant AUDIT_ARCH_X86_64 (line 16) | const AUDIT_ARCH_X86_64: u32 = 0xC000_003E; function parse_rule_1 (line 19) | fn parse_rule_1() { function emit_rule_1 (line 26) | fn emit_rule_1() { function parse_rule_2 (line 34) | fn parse_rule_2() { function emit_rule_2 (line 41) | fn emit_rule_2() { function parse_rule_3 (line 49) | fn parse_rule_3() { function emit_rule_3 (line 56) | fn emit_rule_3() { FILE: netlink-packet-audit/src/status.rs constant MASK (line 11) | const MASK: Field = 0..4; constant ENABLED (line 12) | const ENABLED: Field = 4..8; constant FAILURE (line 13) | const FAILURE: Field = 8..12; constant PID (line 14) | const PID: Field = 12..16; constant RATE_LIMITING (line 15) | const RATE_LIMITING: Field = 16..20; constant BACKLOG_LIMIT (line 16) | const BACKLOG_LIMIT: Field = 20..24; constant LOST (line 17) | const LOST: Field = 24..28; constant BACKLOG (line 18) | const BACKLOG: Field = 28..32; constant FEATURE_BITMAP (line 19) | const FEATURE_BITMAP: Field = 32..36; constant BACKLOG_WAIT_TIME (line 20) | const BACKLOG_WAIT_TIME: Field = 36..40; constant STATUS_MESSAGE_LEN (line 21) | pub const STATUS_MESSAGE_LEN: usize = BACKLOG_WAIT_TIME.end; type StatusMessage (line 24) | pub struct StatusMessage { method new (line 47) | pub fn new() -> Self { method parse (line 168) | fn parse(buf: &StatusMessageBuffer) -> Result { type StatusMessageBuffer (line 53) | pub struct StatusMessageBuffer { function new (line 58) | pub fn new(buffer: T) -> StatusMessageBuffer { function new_checked (line 62) | pub fn new_checked(buffer: T) -> Result, DecodeEr... function check_buffer_length (line 68) | fn check_buffer_length(&self) -> Result<(), DecodeError> { function into_inner (line 80) | pub fn into_inner(self) -> T { function mask (line 84) | pub fn mask(&self) -> u32 { function enabled (line 88) | pub fn enabled(&self) -> u32 { function failure (line 92) | pub fn failure(&self) -> u32 { function pid (line 96) | pub fn pid(&self) -> u32 { function rate_limiting (line 100) | pub fn rate_limiting(&self) -> u32 { function backlog_limit (line 104) | pub fn backlog_limit(&self) -> u32 { function lost (line 108) | pub fn lost(&self) -> u32 { function backlog (line 112) | pub fn backlog(&self) -> u32 { function feature_bitmap (line 116) | pub fn feature_bitmap(&self) -> u32 { function backlog_wait_time (line 120) | pub fn backlog_wait_time(&self) -> u32 { function set_mask (line 126) | pub fn set_mask(&mut self, value: u32) { function set_enabled (line 130) | pub fn set_enabled(&mut self, value: u32) { function set_failure (line 134) | pub fn set_failure(&mut self, value: u32) { function set_pid (line 138) | pub fn set_pid(&mut self, value: u32) { function set_rate_limiting (line 142) | pub fn set_rate_limiting(&mut self, value: u32) { function set_backlog_limit (line 146) | pub fn set_backlog_limit(&mut self, value: u32) { function set_lost (line 150) | pub fn set_lost(&mut self, value: u32) { function set_backlog (line 154) | pub fn set_backlog(&mut self, value: u32) { function set_feature_bitmap (line 158) | pub fn set_feature_bitmap(&mut self, value: u32) { function set_backlog_wait_time (line 162) | pub fn set_backlog_wait_time(&mut self, value: u32) { method buffer_len (line 186) | fn buffer_len(&self) -> usize { method emit (line 190) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-core/examples/protocol.rs type PingPongMessage (line 16) | pub enum PingPongMessage { constant PING_MESSAGE (line 24) | pub const PING_MESSAGE: u16 = 18; constant PONG_MESSAGE (line 25) | pub const PONG_MESSAGE: u16 = 20; type DeserializeError (line 31) | pub struct DeserializeError(&'static str); method fmt (line 43) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method description (line 34) | fn description(&self) -> &str { method source (line 37) | fn source(&self) -> Option<&(dyn Error + 'static)> { type Error (line 50) | type Error = DeserializeError; method deserialize (line 52) | fn deserialize(header: &NetlinkHeader, payload: &[u8]) -> Result u16 { method buffer_len (line 72) | fn buffer_len(&self) -> usize { method serialize (line 78) | fn serialize(&self, buffer: &mut [u8]) { function from (line 92) | fn from(message: PingPongMessage) -> Self { function main (line 97) | fn main() { FILE: netlink-packet-core/examples/rtnetlink.rs function main (line 6) | fn main() { FILE: netlink-packet-core/src/buffer.rs constant LENGTH (line 7) | const LENGTH: Field = 0..4; constant MESSAGE_TYPE (line 8) | const MESSAGE_TYPE: Field = 4..6; constant FLAGS (line 9) | const FLAGS: Field = 6..8; constant SEQUENCE_NUMBER (line 10) | const SEQUENCE_NUMBER: Field = 8..12; constant PORT_NUMBER (line 11) | const PORT_NUMBER: Field = 12..16; constant PAYLOAD (line 12) | const PAYLOAD: Rest = 16..; constant NETLINK_HEADER_LEN (line 15) | pub const NETLINK_HEADER_LEN: usize = PAYLOAD.start; type NetlinkBuffer (line 105) | pub struct NetlinkBuffer { function new (line 117) | pub fn new(buffer: T) -> NetlinkBuffer { function new_checked (line 157) | pub fn new_checked(buffer: T) -> Result, DecodeError> { function check_buffer_length (line 163) | fn check_buffer_length(&self) -> Result<(), DecodeError> { function payload_length (line 196) | pub fn payload_length(&self) -> usize { function into_inner (line 204) | pub fn into_inner(self) -> T { function length (line 213) | pub fn length(&self) -> u32 { function message_type (line 223) | pub fn message_type(&self) -> u16 { function flags (line 233) | pub fn flags(&self) -> u16 { function sequence_number (line 243) | pub fn sequence_number(&self) -> u32 { function port_number (line 253) | pub fn port_number(&self) -> u32 { function set_length (line 265) | pub fn set_length(&mut self, value: u32) { function set_message_type (line 275) | pub fn set_message_type(&mut self, value: u16) { function set_flags (line 285) | pub fn set_flags(&mut self, value: u16) { function set_sequence_number (line 295) | pub fn set_sequence_number(&mut self, value: u32) { function set_port_number (line 305) | pub fn set_port_number(&mut self, value: u32) { function payload (line 319) | pub fn payload(&self) -> &'a [u8] { function payload_mut (line 334) | pub fn payload_mut(&mut self) -> &mut [u8] { constant RTM_GETLINK (line 348) | const RTM_GETLINK: u16 = 18; function packet_read (line 364) | fn packet_read() { function packet_build (line 380) | fn packet_build() { FILE: netlink-packet-core/src/constants.rs constant NLM_F_REQUEST (line 4) | pub const NLM_F_REQUEST: u16 = 1; constant NLM_F_MULTIPART (line 6) | pub const NLM_F_MULTIPART: u16 = 2; constant NLM_F_ACK (line 9) | pub const NLM_F_ACK: u16 = 4; constant NLM_F_ECHO (line 12) | pub const NLM_F_ECHO: u16 = 8; constant NLM_F_DUMP_INTR (line 14) | pub const NLM_F_DUMP_INTR: u16 = 16; constant NLM_F_DUMP_FILTERED (line 16) | pub const NLM_F_DUMP_FILTERED: u16 = 32; constant NLM_F_ROOT (line 18) | pub const NLM_F_ROOT: u16 = 256; constant NLM_F_MATCH (line 20) | pub const NLM_F_MATCH: u16 = 512; constant NLM_F_ATOMIC (line 23) | pub const NLM_F_ATOMIC: u16 = 1024; constant NLM_F_DUMP (line 24) | pub const NLM_F_DUMP: u16 = 768; constant NLM_F_REPLACE (line 26) | pub const NLM_F_REPLACE: u16 = 256; constant NLM_F_EXCL (line 28) | pub const NLM_F_EXCL: u16 = 512; constant NLM_F_CREATE (line 30) | pub const NLM_F_CREATE: u16 = 1024; constant NLM_F_APPEND (line 32) | pub const NLM_F_APPEND: u16 = 2048; constant NLM_F_NONREC (line 35) | pub const NLM_F_NONREC: u16 = 256; constant NLM_F_CAPPED (line 37) | pub const NLM_F_CAPPED: u16 = 256; constant NLM_F_ACK_TLVS (line 39) | pub const NLM_F_ACK_TLVS: u16 = 512; FILE: netlink-packet-core/src/error.rs constant CODE (line 9) | const CODE: Field = 0..4; constant PAYLOAD (line 10) | const PAYLOAD: Rest = 4..; constant ERROR_HEADER_LEN (line 11) | const ERROR_HEADER_LEN: usize = PAYLOAD.start; type ErrorBuffer (line 14) | pub struct ErrorBuffer { function new (line 19) | pub fn new(buffer: T) -> ErrorBuffer { function into_inner (line 24) | pub fn into_inner(self) -> T { function new_checked (line 28) | pub fn new_checked(buffer: T) -> Result { function check_buffer_length (line 34) | fn check_buffer_length(&self) -> Result<(), DecodeError> { function code (line 48) | pub fn code(&self) -> i32 { function payload (line 56) | pub fn payload(&self) -> &'a [u8] { function payload_mut (line 64) | pub fn payload_mut(&mut self) -> &mut [u8] { function set_code (line 72) | pub fn set_code(&mut self, value: i32) { type ErrorMessage (line 79) | pub struct ErrorMessage { method parse (line 98) | fn parse(buf: &ErrorBuffer<&'buffer T>) -> Result io::Error { method fmt (line 126) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type AckMessage (line 84) | pub type AckMessage = ErrorMessage; method buffer_len (line 87) | fn buffer_len(&self) -> usize { method emit (line 90) | fn emit(&self, buffer: &mut [u8]) { function from (line 132) | fn from(e: ErrorMessage) -> io::Error { function into_io_error (line 142) | fn into_io_error() { FILE: netlink-packet-core/src/header.rs type NetlinkHeader (line 20) | pub struct NetlinkHeader { method parse (line 53) | fn parse(buf: &NetlinkBuffer<&'a T>) -> Result usize { method emit (line 42) | fn emit(&self, buffer: &mut [u8]) { constant RTM_GETLINK (line 82) | const RTM_GETLINK: u16 = 18; function repr_parse (line 85) | fn repr_parse() { function repr_emit (line 97) | fn repr_emit() { FILE: netlink-packet-core/src/lib.rs type Field (line 242) | pub(crate) type Field = Range; type Rest (line 244) | pub(crate) type Rest = RangeFrom; FILE: netlink-packet-core/src/message.rs type NetlinkMessage (line 23) | pub struct NetlinkMessage { function new (line 32) | pub fn new(header: NetlinkHeader, payload: NetlinkPayload) -> Self { function into_parts (line 37) | pub fn into_parts(self) -> (NetlinkHeader, NetlinkPayload) { function deserialize (line 47) | pub fn deserialize(buffer: &[u8]) -> Result { function buffer_len (line 58) | pub fn buffer_len(&self) -> usize { function serialize (line 70) | pub fn serialize(&self, buffer: &mut [u8]) { function finalize (line 82) | pub fn finalize(&mut self) { function parse (line 93) | fn parse(buf: &NetlinkBuffer<&'buffer B>) -> Result { method buffer_len (line 130) | fn buffer_len(&self) -> usize { method emit (line 144) | fn emit(&self, buffer: &mut [u8]) { function from (line 164) | fn from(inner_message: T) -> Self { FILE: netlink-packet-core/src/payload.rs constant NLMSG_NOOP (line 8) | pub const NLMSG_NOOP: u16 = 1; constant NLMSG_ERROR (line 11) | pub const NLMSG_ERROR: u16 = 2; constant NLMSG_DONE (line 14) | pub const NLMSG_DONE: u16 = 3; constant NLMSG_OVERRUN (line 15) | pub const NLMSG_OVERRUN: u16 = 4; constant NLMSG_ALIGNTO (line 16) | pub const NLMSG_ALIGNTO: u16 = 4; type NetlinkPayload (line 19) | pub enum NetlinkPayload { function message_type (line 32) | pub fn message_type(&self) -> u16 { FILE: netlink-packet-core/src/traits.rs type NetlinkDeserializable (line 7) | pub trait NetlinkDeserializable: Sized { method deserialize (line 11) | fn deserialize(header: &NetlinkHeader, payload: &[u8]) -> Result u16; method buffer_len (line 24) | fn buffer_len(&self) -> usize; method serialize (line 37) | fn serialize(&self, buffer: &mut [u8]); FILE: netlink-packet-generic/examples/list_generic_family.rs function main (line 10) | fn main() { function print_entry (line 63) | fn print_entry(entry: Vec) { FILE: netlink-packet-generic/src/buffer.rs function parse_with_param (line 19) | fn parse_with_param(buf: &[u8], message_type: u16) -> Result, message_type: u16) -> Resul... FILE: netlink-packet-generic/src/constants.rs constant GENL_ID_CTRL (line 4) | pub const GENL_ID_CTRL: u16 = libc::GENL_ID_CTRL as u16; constant GENL_HDRLEN (line 5) | pub const GENL_HDRLEN: usize = 4; constant CTRL_CMD_UNSPEC (line 7) | pub const CTRL_CMD_UNSPEC: u8 = libc::CTRL_CMD_UNSPEC as u8; constant CTRL_CMD_NEWFAMILY (line 8) | pub const CTRL_CMD_NEWFAMILY: u8 = libc::CTRL_CMD_NEWFAMILY as u8; constant CTRL_CMD_DELFAMILY (line 9) | pub const CTRL_CMD_DELFAMILY: u8 = libc::CTRL_CMD_DELFAMILY as u8; constant CTRL_CMD_GETFAMILY (line 10) | pub const CTRL_CMD_GETFAMILY: u8 = libc::CTRL_CMD_GETFAMILY as u8; constant CTRL_CMD_NEWOPS (line 11) | pub const CTRL_CMD_NEWOPS: u8 = libc::CTRL_CMD_NEWOPS as u8; constant CTRL_CMD_DELOPS (line 12) | pub const CTRL_CMD_DELOPS: u8 = libc::CTRL_CMD_DELOPS as u8; constant CTRL_CMD_GETOPS (line 13) | pub const CTRL_CMD_GETOPS: u8 = libc::CTRL_CMD_GETOPS as u8; constant CTRL_CMD_NEWMCAST_GRP (line 14) | pub const CTRL_CMD_NEWMCAST_GRP: u8 = libc::CTRL_CMD_NEWMCAST_GRP as u8; constant CTRL_CMD_DELMCAST_GRP (line 15) | pub const CTRL_CMD_DELMCAST_GRP: u8 = libc::CTRL_CMD_DELMCAST_GRP as u8; constant CTRL_CMD_GETMCAST_GRP (line 16) | pub const CTRL_CMD_GETMCAST_GRP: u8 = libc::CTRL_CMD_GETMCAST_GRP as u8; constant CTRL_CMD_GETPOLICY (line 17) | pub const CTRL_CMD_GETPOLICY: u8 = 10; constant CTRL_ATTR_UNSPEC (line 19) | pub const CTRL_ATTR_UNSPEC: u16 = libc::CTRL_ATTR_UNSPEC as u16; constant CTRL_ATTR_FAMILY_ID (line 20) | pub const CTRL_ATTR_FAMILY_ID: u16 = libc::CTRL_ATTR_FAMILY_ID as u16; constant CTRL_ATTR_FAMILY_NAME (line 21) | pub const CTRL_ATTR_FAMILY_NAME: u16 = libc::CTRL_ATTR_FAMILY_NAME as u16; constant CTRL_ATTR_VERSION (line 22) | pub const CTRL_ATTR_VERSION: u16 = libc::CTRL_ATTR_VERSION as u16; constant CTRL_ATTR_HDRSIZE (line 23) | pub const CTRL_ATTR_HDRSIZE: u16 = libc::CTRL_ATTR_HDRSIZE as u16; constant CTRL_ATTR_MAXATTR (line 24) | pub const CTRL_ATTR_MAXATTR: u16 = libc::CTRL_ATTR_MAXATTR as u16; constant CTRL_ATTR_OPS (line 25) | pub const CTRL_ATTR_OPS: u16 = libc::CTRL_ATTR_OPS as u16; constant CTRL_ATTR_MCAST_GROUPS (line 26) | pub const CTRL_ATTR_MCAST_GROUPS: u16 = libc::CTRL_ATTR_MCAST_GROUPS as ... constant CTRL_ATTR_POLICY (line 27) | pub const CTRL_ATTR_POLICY: u16 = 8; constant CTRL_ATTR_OP_POLICY (line 28) | pub const CTRL_ATTR_OP_POLICY: u16 = 9; constant CTRL_ATTR_OP (line 29) | pub const CTRL_ATTR_OP: u16 = 10; constant CTRL_ATTR_OP_UNSPEC (line 31) | pub const CTRL_ATTR_OP_UNSPEC: u16 = libc::CTRL_ATTR_OP_UNSPEC as u16; constant CTRL_ATTR_OP_ID (line 32) | pub const CTRL_ATTR_OP_ID: u16 = libc::CTRL_ATTR_OP_ID as u16; constant CTRL_ATTR_OP_FLAGS (line 33) | pub const CTRL_ATTR_OP_FLAGS: u16 = libc::CTRL_ATTR_OP_FLAGS as u16; constant CTRL_ATTR_MCAST_GRP_UNSPEC (line 35) | pub const CTRL_ATTR_MCAST_GRP_UNSPEC: u16 = libc::CTRL_ATTR_MCAST_GRP_UN... constant CTRL_ATTR_MCAST_GRP_NAME (line 36) | pub const CTRL_ATTR_MCAST_GRP_NAME: u16 = libc::CTRL_ATTR_MCAST_GRP_NAME... constant CTRL_ATTR_MCAST_GRP_ID (line 37) | pub const CTRL_ATTR_MCAST_GRP_ID: u16 = libc::CTRL_ATTR_MCAST_GRP_ID as ... constant CTRL_ATTR_POLICY_UNSPEC (line 39) | pub const CTRL_ATTR_POLICY_UNSPEC: u16 = 0; constant CTRL_ATTR_POLICY_DO (line 40) | pub const CTRL_ATTR_POLICY_DO: u16 = 1; constant CTRL_ATTR_POLICY_DUMP (line 41) | pub const CTRL_ATTR_POLICY_DUMP: u16 = 2; constant NL_ATTR_TYPE_INVALID (line 43) | pub const NL_ATTR_TYPE_INVALID: u32 = 0; constant NL_ATTR_TYPE_FLAG (line 44) | pub const NL_ATTR_TYPE_FLAG: u32 = 1; constant NL_ATTR_TYPE_U8 (line 45) | pub const NL_ATTR_TYPE_U8: u32 = 2; constant NL_ATTR_TYPE_U16 (line 46) | pub const NL_ATTR_TYPE_U16: u32 = 3; constant NL_ATTR_TYPE_U32 (line 47) | pub const NL_ATTR_TYPE_U32: u32 = 4; constant NL_ATTR_TYPE_U64 (line 48) | pub const NL_ATTR_TYPE_U64: u32 = 5; constant NL_ATTR_TYPE_S8 (line 49) | pub const NL_ATTR_TYPE_S8: u32 = 6; constant NL_ATTR_TYPE_S16 (line 50) | pub const NL_ATTR_TYPE_S16: u32 = 7; constant NL_ATTR_TYPE_S32 (line 51) | pub const NL_ATTR_TYPE_S32: u32 = 8; constant NL_ATTR_TYPE_S64 (line 52) | pub const NL_ATTR_TYPE_S64: u32 = 9; constant NL_ATTR_TYPE_BINARY (line 53) | pub const NL_ATTR_TYPE_BINARY: u32 = 10; constant NL_ATTR_TYPE_STRING (line 54) | pub const NL_ATTR_TYPE_STRING: u32 = 11; constant NL_ATTR_TYPE_NUL_STRING (line 55) | pub const NL_ATTR_TYPE_NUL_STRING: u32 = 12; constant NL_ATTR_TYPE_NESTED (line 56) | pub const NL_ATTR_TYPE_NESTED: u32 = 13; constant NL_ATTR_TYPE_NESTED_ARRAY (line 57) | pub const NL_ATTR_TYPE_NESTED_ARRAY: u32 = 14; constant NL_ATTR_TYPE_BITFIELD32 (line 58) | pub const NL_ATTR_TYPE_BITFIELD32: u32 = 15; constant NL_POLICY_TYPE_ATTR_UNSPEC (line 60) | pub const NL_POLICY_TYPE_ATTR_UNSPEC: u16 = 0; constant NL_POLICY_TYPE_ATTR_TYPE (line 61) | pub const NL_POLICY_TYPE_ATTR_TYPE: u16 = 1; constant NL_POLICY_TYPE_ATTR_MIN_VALUE_S (line 62) | pub const NL_POLICY_TYPE_ATTR_MIN_VALUE_S: u16 = 2; constant NL_POLICY_TYPE_ATTR_MAX_VALUE_S (line 63) | pub const NL_POLICY_TYPE_ATTR_MAX_VALUE_S: u16 = 3; constant NL_POLICY_TYPE_ATTR_MIN_VALUE_U (line 64) | pub const NL_POLICY_TYPE_ATTR_MIN_VALUE_U: u16 = 4; constant NL_POLICY_TYPE_ATTR_MAX_VALUE_U (line 65) | pub const NL_POLICY_TYPE_ATTR_MAX_VALUE_U: u16 = 5; constant NL_POLICY_TYPE_ATTR_MIN_LENGTH (line 66) | pub const NL_POLICY_TYPE_ATTR_MIN_LENGTH: u16 = 6; constant NL_POLICY_TYPE_ATTR_MAX_LENGTH (line 67) | pub const NL_POLICY_TYPE_ATTR_MAX_LENGTH: u16 = 7; constant NL_POLICY_TYPE_ATTR_POLICY_IDX (line 68) | pub const NL_POLICY_TYPE_ATTR_POLICY_IDX: u16 = 8; constant NL_POLICY_TYPE_ATTR_POLICY_MAXTYPE (line 69) | pub const NL_POLICY_TYPE_ATTR_POLICY_MAXTYPE: u16 = 9; constant NL_POLICY_TYPE_ATTR_BITFIELD32_MASK (line 70) | pub const NL_POLICY_TYPE_ATTR_BITFIELD32_MASK: u16 = 10; constant NL_POLICY_TYPE_ATTR_PAD (line 71) | pub const NL_POLICY_TYPE_ATTR_PAD: u16 = 11; constant NL_POLICY_TYPE_ATTR_MASK (line 72) | pub const NL_POLICY_TYPE_ATTR_MASK: u16 = 12; FILE: netlink-packet-generic/src/ctrl/mod.rs type GenlCtrlCmd (line 19) | pub enum GenlCtrlCmd { type Error (line 61) | type Error = DecodeError; method try_from (line 63) | fn try_from(value: u8) -> Result { function from (line 43) | fn from(cmd: GenlCtrlCmd) -> u8 { type GenlCtrl (line 88) | pub struct GenlCtrl { method parse_with_param (line 124) | fn parse_with_param(buf: &[u8], header: GenlHeader) -> Result &'static str { method family_id (line 100) | fn family_id(&self) -> u16 { method command (line 104) | fn command(&self) -> u8 { method version (line 108) | fn version(&self) -> u8 { method emit (line 114) | fn emit(&self, buffer: &mut [u8]) { method buffer_len (line 118) | fn buffer_len(&self) -> usize { function parse_ctrlnlas (line 132) | fn parse_ctrlnlas(buf: &[u8]) -> Result, DecodeError> { FILE: netlink-packet-generic/src/ctrl/nlas/mcast.rs type McastGrpAttrs (line 15) | pub enum McastGrpAttrs { method parse (line 50) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 21) | fn value_len(&self) -> usize { method kind (line 29) | fn kind(&self) -> u16 { method emit_value (line 37) | fn emit_value(&self, buffer: &mut [u8]) { FILE: netlink-packet-generic/src/ctrl/nlas/mod.rs type GenlCtrlAttrs (line 25) | pub enum GenlCtrlAttrs { method parse (line 104) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 39) | fn value_len(&self) -> usize { method kind (line 55) | fn kind(&self) -> u16 { method emit_value (line 71) | fn emit_value(&self, buffer: &mut [u8]) { FILE: netlink-packet-generic/src/ctrl/nlas/oppolicy.rs type OppolicyAttr (line 15) | pub struct OppolicyAttr { method parse (line 39) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 21) | fn value_len(&self) -> usize { method kind (line 25) | fn kind(&self) -> u16 { method emit_value (line 29) | fn emit_value(&self, buffer: &mut [u8]) { method is_nested (line 33) | fn is_nested(&self) -> bool { type OppolicyIndexAttr (line 54) | pub enum OppolicyIndexAttr { method parse (line 86) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 60) | fn value_len(&self) -> usize { method kind (line 68) | fn kind(&self) -> u16 { method emit_value (line 76) | fn emit_value(&self, buffer: &mut [u8]) { FILE: netlink-packet-generic/src/ctrl/nlas/ops.rs type OpAttrs (line 15) | pub enum OpAttrs { method parse (line 47) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 21) | fn value_len(&self) -> usize { method kind (line 29) | fn kind(&self) -> u16 { method emit_value (line 37) | fn emit_value(&self, buffer: &mut [u8]) { FILE: netlink-packet-generic/src/ctrl/nlas/policy.rs type PolicyAttr (line 20) | pub struct PolicyAttr { method parse (line 44) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 26) | fn value_len(&self) -> usize { method kind (line 30) | fn kind(&self) -> u16 { method emit_value (line 34) | fn emit_value(&self, buffer: &mut [u8]) { method is_nested (line 38) | fn is_nested(&self) -> bool { type AttributePolicyAttr (line 58) | pub struct AttributePolicyAttr { method parse (line 82) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 64) | fn value_len(&self) -> usize { method kind (line 68) | fn kind(&self) -> u16 { method emit_value (line 72) | fn emit_value(&self, buffer: &mut [u8]) { method is_nested (line 76) | fn is_nested(&self) -> bool { type NlPolicyTypeAttrs (line 99) | pub enum NlPolicyTypeAttrs { method parse (line 167) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 114) | fn value_len(&self) -> usize { method kind (line 131) | fn kind(&self) -> u16 { method emit_value (line 148) | fn emit_value(&self, buffer: &mut [u8]) { type NlaType (line 210) | pub enum NlaType { type Error (line 251) | type Error = DecodeError; method try_from (line 253) | fn try_from(value: u32) -> Result { function from (line 229) | fn from(nlatype: NlaType) -> u32 { function parse_i64 (line 276) | fn parse_i64(payload: &[u8]) -> Result { FILE: netlink-packet-generic/src/header.rs type GenlHeader (line 10) | pub struct GenlHeader { method parse (line 28) | fn parse(buf: &GenlBuffer) -> Result { method buffer_len (line 16) | fn buffer_len(&self) -> usize { method emit (line 20) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-generic/src/message.rs type GenlMessage (line 25) | pub struct GenlMessage { function new (line 36) | pub fn new(header: GenlHeader, payload: F, family_id: u16) -> Self { function from_parts (line 45) | pub fn from_parts(header: GenlHeader, payload: F) -> Self { function into_parts (line 54) | pub fn into_parts(self) -> (GenlHeader, F) { function resolved_family_id (line 62) | pub fn resolved_family_id(&self) -> u16 { function set_resolved_family_id (line 80) | pub fn set_resolved_family_id(&mut self, family_id: u16) { function from_payload (line 93) | pub fn from_payload(payload: F) -> Self { function finalize (line 110) | pub fn finalize(&mut self) { function family_id (line 122) | pub fn family_id(&self) -> u16 { method buffer_len (line 136) | fn buffer_len(&self) -> usize { method emit (line 140) | fn emit(&self, buffer: &mut [u8]) { method message_type (line 152) | fn message_type(&self) -> u16 { method buffer_len (line 156) | fn buffer_len(&self) -> usize { method serialize (line 160) | fn serialize(&self, buffer: &mut [u8]) { type Error (line 169) | type Error = DecodeError; method deserialize (line 170) | fn deserialize(header: &NetlinkHeader, payload: &[u8]) -> Result) -> Self { FILE: netlink-packet-generic/src/traits.rs type GenlFamily (line 12) | pub trait GenlFamily { method family_name (line 16) | fn family_name() -> &'static str; method family_id (line 26) | fn family_id(&self) -> u16 { method command (line 31) | fn command(&self) -> u8; method version (line 34) | fn version(&self) -> u8; FILE: netlink-packet-generic/tests/query_family_id.rs function query_family_id (line 11) | fn query_family_id() { FILE: netlink-packet-netfilter/examples/nflog.rs function get_packet_nlas (line 30) | fn get_packet_nlas(message: &NetlinkMessage) -> &[Pack... function main (line 42) | fn main() { FILE: netlink-packet-netfilter/src/buffer.rs function nlas (line 21) | pub fn nlas(&self) -> impl Iterator, D... function parse_all_nlas (line 25) | pub fn parse_all_nlas(&self, f: F) -> Result, DecodeError> function default_nlas (line 36) | pub fn default_nlas(&self) -> Result, DecodeError> { method parse_with_param (line 44) | fn parse_with_param( FILE: netlink-packet-netfilter/src/constants.rs constant AF_UNSPEC (line 5) | pub const AF_UNSPEC: u8 = libc::AF_UNSPEC as u8; constant AF_UNIX (line 6) | pub const AF_UNIX: u8 = libc::AF_UNIX as u8; constant AF_LOCAL (line 7) | pub const AF_LOCAL: u8 = libc::AF_LOCAL as u8; constant AF_INET (line 8) | pub const AF_INET: u8 = libc::AF_INET as u8; constant AF_AX25 (line 9) | pub const AF_AX25: u8 = libc::AF_AX25 as u8; constant AF_IPX (line 10) | pub const AF_IPX: u8 = libc::AF_IPX as u8; constant AF_APPLETALK (line 11) | pub const AF_APPLETALK: u8 = libc::AF_APPLETALK as u8; constant AF_NETROM (line 12) | pub const AF_NETROM: u8 = libc::AF_NETROM as u8; constant AF_BRIDGE (line 13) | pub const AF_BRIDGE: u8 = libc::AF_BRIDGE as u8; constant AF_ATMPVC (line 14) | pub const AF_ATMPVC: u8 = libc::AF_ATMPVC as u8; constant AF_X25 (line 15) | pub const AF_X25: u8 = libc::AF_X25 as u8; constant AF_INET6 (line 16) | pub const AF_INET6: u8 = libc::AF_INET6 as u8; constant AF_ROSE (line 17) | pub const AF_ROSE: u8 = libc::AF_ROSE as u8; constant AF_DECNET (line 18) | pub const AF_DECNET: u8 = libc::AF_DECnet as u8; constant AF_NETBEUI (line 19) | pub const AF_NETBEUI: u8 = libc::AF_NETBEUI as u8; constant AF_SECURITY (line 20) | pub const AF_SECURITY: u8 = libc::AF_SECURITY as u8; constant AF_KEY (line 21) | pub const AF_KEY: u8 = libc::AF_KEY as u8; constant AF_NETLINK (line 22) | pub const AF_NETLINK: u8 = libc::AF_NETLINK as u8; constant AF_ROUTE (line 23) | pub const AF_ROUTE: u8 = libc::AF_ROUTE as u8; constant AF_PACKET (line 24) | pub const AF_PACKET: u8 = libc::AF_PACKET as u8; constant AF_ASH (line 25) | pub const AF_ASH: u8 = libc::AF_ASH as u8; constant AF_ECONET (line 26) | pub const AF_ECONET: u8 = libc::AF_ECONET as u8; constant AF_ATMSVC (line 27) | pub const AF_ATMSVC: u8 = libc::AF_ATMSVC as u8; constant AF_RDS (line 28) | pub const AF_RDS: u8 = libc::AF_RDS as u8; constant AF_SNA (line 29) | pub const AF_SNA: u8 = libc::AF_SNA as u8; constant AF_IRDA (line 30) | pub const AF_IRDA: u8 = libc::AF_IRDA as u8; constant AF_PPPOX (line 31) | pub const AF_PPPOX: u8 = libc::AF_PPPOX as u8; constant AF_WANPIPE (line 32) | pub const AF_WANPIPE: u8 = libc::AF_WANPIPE as u8; constant AF_LLC (line 33) | pub const AF_LLC: u8 = libc::AF_LLC as u8; constant AF_CAN (line 34) | pub const AF_CAN: u8 = libc::AF_CAN as u8; constant AF_TIPC (line 35) | pub const AF_TIPC: u8 = libc::AF_TIPC as u8; constant AF_BLUETOOTH (line 36) | pub const AF_BLUETOOTH: u8 = libc::AF_BLUETOOTH as u8; constant AF_IUCV (line 37) | pub const AF_IUCV: u8 = libc::AF_IUCV as u8; constant AF_RXRPC (line 38) | pub const AF_RXRPC: u8 = libc::AF_RXRPC as u8; constant AF_ISDN (line 39) | pub const AF_ISDN: u8 = libc::AF_ISDN as u8; constant AF_PHONET (line 40) | pub const AF_PHONET: u8 = libc::AF_PHONET as u8; constant AF_IEEE802154 (line 41) | pub const AF_IEEE802154: u8 = libc::AF_IEEE802154 as u8; constant AF_CAIF (line 42) | pub const AF_CAIF: u8 = libc::AF_CAIF as u8; constant AF_ALG (line 43) | pub const AF_ALG: u8 = libc::AF_ALG as u8; constant NFNETLINK_V0 (line 45) | pub const NFNETLINK_V0: u8 = libc::NFNETLINK_V0 as u8; constant NFNL_SUBSYS_NONE (line 47) | pub const NFNL_SUBSYS_NONE: u8 = libc::NFNL_SUBSYS_NONE as u8; constant NFNL_SUBSYS_CTNETLINK (line 48) | pub const NFNL_SUBSYS_CTNETLINK: u8 = libc::NFNL_SUBSYS_CTNETLINK as u8; constant NFNL_SUBSYS_CTNETLINK_EXP (line 49) | pub const NFNL_SUBSYS_CTNETLINK_EXP: u8 = libc::NFNL_SUBSYS_CTNETLINK_EX... constant NFNL_SUBSYS_QUEUE (line 50) | pub const NFNL_SUBSYS_QUEUE: u8 = libc::NFNL_SUBSYS_QUEUE as u8; constant NFNL_SUBSYS_ULOG (line 51) | pub const NFNL_SUBSYS_ULOG: u8 = libc::NFNL_SUBSYS_ULOG as u8; constant NFNL_SUBSYS_OSF (line 52) | pub const NFNL_SUBSYS_OSF: u8 = libc::NFNL_SUBSYS_OSF as u8; constant NFNL_SUBSYS_IPSET (line 53) | pub const NFNL_SUBSYS_IPSET: u8 = libc::NFNL_SUBSYS_IPSET as u8; constant NFNL_SUBSYS_ACCT (line 54) | pub const NFNL_SUBSYS_ACCT: u8 = libc::NFNL_SUBSYS_ACCT as u8; constant NFNL_SUBSYS_CTNETLINK_TIMEOUT (line 55) | pub const NFNL_SUBSYS_CTNETLINK_TIMEOUT: u8 = libc::NFNL_SUBSYS_CTNETLIN... constant NFNL_SUBSYS_CTHELPER (line 56) | pub const NFNL_SUBSYS_CTHELPER: u8 = libc::NFNL_SUBSYS_CTHELPER as u8; constant NFNL_SUBSYS_NFTABLES (line 57) | pub const NFNL_SUBSYS_NFTABLES: u8 = libc::NFNL_SUBSYS_NFTABLES as u8; constant NFNL_SUBSYS_NFT_COMPAT (line 58) | pub const NFNL_SUBSYS_NFT_COMPAT: u8 = libc::NFNL_SUBSYS_NFT_COMPAT as u8; constant NFULA_CFG_CMD (line 60) | pub const NFULA_CFG_CMD: u16 = libc::NFULA_CFG_CMD as u16; constant NFULA_CFG_MODE (line 61) | pub const NFULA_CFG_MODE: u16 = libc::NFULA_CFG_MODE as u16; constant NFULA_CFG_NLBUFSIZ (line 62) | pub const NFULA_CFG_NLBUFSIZ: u16 = libc::NFULA_CFG_NLBUFSIZ as u16; constant NFULA_CFG_TIMEOUT (line 63) | pub const NFULA_CFG_TIMEOUT: u16 = libc::NFULA_CFG_TIMEOUT as u16; constant NFULA_CFG_QTHRESH (line 64) | pub const NFULA_CFG_QTHRESH: u16 = libc::NFULA_CFG_QTHRESH as u16; constant NFULA_CFG_FLAGS (line 65) | pub const NFULA_CFG_FLAGS: u16 = libc::NFULA_CFG_FLAGS as u16; constant NLBUFSIZ_MAX (line 66) | pub const NLBUFSIZ_MAX: u32 = 131072; constant NFULA_PACKET_HDR (line 68) | pub const NFULA_PACKET_HDR: u16 = libc::NFULA_PACKET_HDR as u16; constant NFULA_MARK (line 69) | pub const NFULA_MARK: u16 = libc::NFULA_MARK as u16; constant NFULA_TIMESTAMP (line 70) | pub const NFULA_TIMESTAMP: u16 = libc::NFULA_TIMESTAMP as u16; constant NFULA_IFINDEX_INDEV (line 71) | pub const NFULA_IFINDEX_INDEV: u16 = libc::NFULA_IFINDEX_INDEV as u16; constant NFULA_IFINDEX_OUTDEV (line 72) | pub const NFULA_IFINDEX_OUTDEV: u16 = libc::NFULA_IFINDEX_OUTDEV as u16; constant NFULA_IFINDEX_PHYSINDEV (line 73) | pub const NFULA_IFINDEX_PHYSINDEV: u16 = libc::NFULA_IFINDEX_PHYSINDEV a... constant NFULA_IFINDEX_PHYSOUTDEV (line 74) | pub const NFULA_IFINDEX_PHYSOUTDEV: u16 = libc::NFULA_IFINDEX_PHYSOUTDEV... constant NFULA_HWADDR (line 75) | pub const NFULA_HWADDR: u16 = libc::NFULA_HWADDR as u16; constant NFULA_PAYLOAD (line 76) | pub const NFULA_PAYLOAD: u16 = libc::NFULA_PAYLOAD as u16; constant NFULA_PREFIX (line 77) | pub const NFULA_PREFIX: u16 = libc::NFULA_PREFIX as u16; constant NFULA_UID (line 78) | pub const NFULA_UID: u16 = libc::NFULA_UID as u16; constant NFULA_SEQ (line 79) | pub const NFULA_SEQ: u16 = libc::NFULA_SEQ as u16; constant NFULA_SEQ_GLOBAL (line 80) | pub const NFULA_SEQ_GLOBAL: u16 = libc::NFULA_SEQ_GLOBAL as u16; constant NFULA_GID (line 81) | pub const NFULA_GID: u16 = libc::NFULA_GID as u16; constant NFULA_HWTYPE (line 82) | pub const NFULA_HWTYPE: u16 = libc::NFULA_HWTYPE as u16; constant NFULA_HWHEADER (line 83) | pub const NFULA_HWHEADER: u16 = libc::NFULA_HWHEADER as u16; constant NFULA_HWLEN (line 84) | pub const NFULA_HWLEN: u16 = libc::NFULA_HWLEN as u16; constant NFULA_CT (line 85) | pub const NFULA_CT: u16 = libc::NFULA_CT as u16; constant NFULA_CT_INFO (line 86) | pub const NFULA_CT_INFO: u16 = libc::NFULA_CT_INFO as u16; constant NFULNL_MSG_CONFIG (line 88) | pub const NFULNL_MSG_CONFIG: u8 = libc::NFULNL_MSG_CONFIG as u8; constant NFULNL_MSG_PACKET (line 89) | pub const NFULNL_MSG_PACKET: u8 = libc::NFULNL_MSG_PACKET as u8; FILE: netlink-packet-netfilter/src/message.rs constant NETFILTER_HEADER_LEN (line 14) | pub const NETFILTER_HEADER_LEN: usize = 4; type NetfilterHeader (line 23) | pub struct NetfilterHeader { method new (line 30) | pub fn new(family: u8, version: u8, res_id: u16) -> Self { method parse (line 53) | fn parse(buf: &NetfilterHeaderBuffer) -> Result { method buffer_len (line 40) | fn buffer_len(&self) -> usize { method emit (line 44) | fn emit(&self, buf: &mut [u8]) { type NetfilterMessageInner (line 64) | pub enum NetfilterMessageInner { method from (line 74) | fn from(message: NfLogMessage) -> Self { method buffer_len (line 80) | fn buffer_len(&self) -> usize { method emit (line 87) | fn emit(&self, buffer: &mut [u8]) { type NetfilterMessage (line 96) | pub struct NetfilterMessage { method new (line 102) | pub fn new>(header: NetfilterHeader, in... method subsys (line 109) | pub fn subsys(&self) -> u8 { method message_type (line 116) | pub fn message_type(&self) -> u8 { method buffer_len (line 125) | fn buffer_len(&self) -> usize { method emit (line 129) | fn emit(&self, buffer: &mut [u8]) { method message_type (line 136) | fn message_type(&self) -> u16 { method buffer_len (line 140) | fn buffer_len(&self) -> usize { method serialize (line 144) | fn serialize(&self, buffer: &mut [u8]) { type Error (line 150) | type Error = DecodeError; method deserialize (line 151) | fn deserialize(header: &NetlinkHeader, payload: &[u8]) -> Result Self { FILE: netlink-packet-netfilter/src/nflog/message.rs type NfLogMessage (line 13) | pub enum NfLogMessage { constant SUBSYS (line 23) | pub const SUBSYS: u8 = NFNL_SUBSYS_ULOG; method message_type (line 25) | pub fn message_type(&self) -> u8 { method parse_with_param (line 55) | fn parse_with_param( method buffer_len (line 35) | fn buffer_len(&self) -> usize { method emit (line 43) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-netfilter/src/nflog/mod.rs function config_request (line 15) | pub fn config_request( FILE: netlink-packet-netfilter/src/nflog/nlas/config/config_cmd.rs constant NFULA_CFG_CMD (line 5) | const NFULA_CFG_CMD: u16 = libc::NFULA_CFG_CMD as u16; constant NFULNL_CFG_CMD_NONE (line 6) | const NFULNL_CFG_CMD_NONE: u8 = libc::NFULNL_CFG_CMD_NONE as u8; constant NFULNL_CFG_CMD_BIND (line 7) | const NFULNL_CFG_CMD_BIND: u8 = libc::NFULNL_CFG_CMD_BIND as u8; constant NFULNL_CFG_CMD_UNBIND (line 8) | const NFULNL_CFG_CMD_UNBIND: u8 = libc::NFULNL_CFG_CMD_UNBIND as u8; constant NFULNL_CFG_CMD_PF_BIND (line 9) | const NFULNL_CFG_CMD_PF_BIND: u8 = libc::NFULNL_CFG_CMD_PF_BIND as u8; constant NFULNL_CFG_CMD_PF_UNBIND (line 10) | const NFULNL_CFG_CMD_PF_UNBIND: u8 = libc::NFULNL_CFG_CMD_PF_UNBIND as u8; type ConfigCmd (line 13) | pub enum ConfigCmd { method from (line 36) | fn from(cmd: u8) -> Self { function from (line 23) | fn from(cmd: ConfigCmd) -> Self { method value_len (line 49) | fn value_len(&self) -> usize { method kind (line 53) | fn kind(&self) -> u16 { method emit_value (line 57) | fn emit_value(&self, buffer: &mut [u8]) { FILE: netlink-packet-netfilter/src/nflog/nlas/config/config_flags.rs constant NFULA_CFG_FLAGS (line 9) | const NFULA_CFG_FLAGS: u16 = libc::NFULA_CFG_FLAGS as u16; method from_bits_preserve (line 21) | pub fn from_bits_preserve(bits: u16) -> Self { method value_len (line 27) | fn value_len(&self) -> usize { method kind (line 31) | fn kind(&self) -> u16 { method emit_value (line 35) | fn emit_value(&self, buffer: &mut [u8]) { FILE: netlink-packet-netfilter/src/nflog/nlas/config/config_mode.rs constant NFULA_CFG_MODE (line 5) | const NFULA_CFG_MODE: u16 = libc::NFULA_CFG_MODE as u16; constant NFULNL_COPY_NONE (line 6) | const NFULNL_COPY_NONE: u8 = libc::NFULNL_COPY_NONE as u8; constant NFULNL_COPY_META (line 7) | const NFULNL_COPY_META: u8 = libc::NFULNL_COPY_META as u8; constant NFULNL_COPY_PACKET (line 8) | const NFULNL_COPY_PACKET: u8 = libc::NFULNL_COPY_PACKET as u8; constant CONFIG_MODE_LEN (line 10) | const CONFIG_MODE_LEN: usize = 6; type CopyMode (line 18) | pub enum CopyMode { method from (line 37) | fn from(cmd: u8) -> Self { function from (line 26) | fn from(cmd: CopyMode) -> Self { type ConfigMode (line 48) | pub struct ConfigMode { constant NONE (line 54) | pub const NONE: Self = Self { constant META (line 59) | pub const META: Self = Self { constant PACKET_MAX (line 64) | pub const PACKET_MAX: Self = Self { method new (line 69) | pub fn new(copy_range: u32, copy_mode: CopyMode) -> Self { method new_packet (line 76) | pub fn new_packet(copy_range: u32) -> Self { method parse (line 98) | fn parse(buf: &ConfigModeBuffer) -> Result { method value_len (line 82) | fn value_len(&self) -> usize { method kind (line 86) | fn kind(&self) -> u16 { method emit_value (line 90) | fn emit_value(&self, buf: &mut [u8]) { FILE: netlink-packet-netfilter/src/nflog/nlas/config/nla.rs type ConfigNla (line 30) | pub enum ConfigNla { method parse (line 81) | fn parse(buf: &NlaBuffer<&'buffer T>) -> Result { method value_len (line 43) | fn value_len(&self) -> usize { method kind (line 55) | fn kind(&self) -> u16 { method emit_value (line 67) | fn emit_value(&self, buffer: &mut [u8]) { FILE: netlink-packet-netfilter/src/nflog/nlas/config/timeout.rs constant NFULA_CFG_TIMEOUT (line 8) | const NFULA_CFG_TIMEOUT: u16 = libc::NFULA_CFG_TIMEOUT as u16; type Timeout (line 11) | pub struct Timeout { method new (line 16) | pub fn new(hundredth: u32) -> Self { method from (line 22) | fn from(duration: Duration) -> Self { method value_len (line 29) | fn value_len(&self) -> usize { method kind (line 33) | fn kind(&self) -> u16 { method emit_value (line 37) | fn emit_value(&self, buffer: &mut [u8]) { FILE: netlink-packet-netfilter/src/nflog/nlas/packet/hw_addr.rs constant HW_ADDR_LEN (line 5) | const HW_ADDR_LEN: usize = 12; type HwAddr (line 20) | pub struct HwAddr { method parse (line 49) | fn parse(buf: &HwAddrBuffer) -> Result { method value_len (line 26) | fn value_len(&self) -> usize { method kind (line 30) | fn kind(&self) -> u16 { method emit_value (line 34) | fn emit_value(&self, buf: &mut [u8]) { FILE: netlink-packet-netfilter/src/nflog/nlas/packet/nla.rs type PacketNla (line 41) | pub enum PacketNla { method parse (line 138) | fn parse(buf: &NlaBuffer<&'buffer T>) -> Result { method value_len (line 67) | fn value_len(&self) -> usize { method kind (line 90) | fn kind(&self) -> u16 { method emit_value (line 113) | fn emit_value(&self, buffer: &mut [u8]) { FILE: netlink-packet-netfilter/src/nflog/nlas/packet/packet_hdr.rs constant PACKET_HDR_LEN (line 6) | const PACKET_HDR_LEN: usize = 4; constant NFULA_PACKET_HDR (line 7) | pub const NFULA_PACKET_HDR: u16 = libc::NFULA_PACKET_HDR as u16; type PacketHdr (line 16) | pub struct PacketHdr { method parse (line 38) | fn parse(buf: &PacketHdrBuffer) -> Result { method value_len (line 22) | fn value_len(&self) -> usize { method kind (line 26) | fn kind(&self) -> u16 { method emit_value (line 30) | fn emit_value(&self, buf: &mut [u8]) { FILE: netlink-packet-netfilter/src/nflog/nlas/packet/timestamp.rs constant TIMESTAMP_LEN (line 8) | const TIMESTAMP_LEN: usize = 16; type TimeStamp (line 16) | pub struct TimeStamp { method parse (line 38) | fn parse(buf: &TimeStampBuffer) -> Result { method value_len (line 22) | fn value_len(&self) -> usize { method kind (line 26) | fn kind(&self) -> u16 { method emit_value (line 30) | fn emit_value(&self, buf: &mut [u8]) { FILE: netlink-packet-route/benches/link_message.rs constant LINKMSG1 (line 13) | const LINKMSG1: [u8; 96] = [ function b1 (line 39) | fn b1(c: &mut Criterion) { FILE: netlink-packet-route/benches/rtnetlink_dump.rs function bench (line 10) | fn bench(c: &mut Criterion) { FILE: netlink-packet-route/examples/dump_neighbours.rs function main (line 16) | fn main() { function format_ip (line 74) | fn format_ip(buf: &[u8]) -> String { function format_mac (line 84) | fn format_mac(buf: &[u8]) -> String { function state_str (line 92) | fn state_str(value: u16) -> &'static str { function print_entry (line 107) | fn print_entry(entry: NeighbourMessage) { FILE: netlink-packet-route/examples/dump_packet_link_bridge_vlan.rs function main (line 17) | fn main() { FILE: netlink-packet-route/examples/dump_packet_links.rs function main (line 14) | fn main() { FILE: netlink-packet-route/examples/dump_rules.rs function main (line 13) | fn main() { FILE: netlink-packet-route/examples/new_rule.rs function main (line 7) | fn main() { FILE: netlink-packet-route/src/rtnl/address/buffer.rs constant ADDRESS_HEADER_LEN (line 8) | pub const ADDRESS_HEADER_LEN: usize = 8; function nlas (line 20) | pub fn nlas(&self) -> impl Iterator, D... FILE: netlink-packet-route/src/rtnl/address/message.rs type AddressMessage (line 14) | pub struct AddressMessage { method parse (line 69) | fn parse(buf: &AddressMessageBuffer<&'a T>) -> Result) -> Result { method buffer_len (line 29) | fn buffer_len(&self) -> usize { method emit (line 33) | fn emit(&self, buffer: &mut [u8]) { method buffer_len (line 44) | fn buffer_len(&self) -> usize { method emit (line 48) | fn emit(&self, buffer: &mut [u8]) { function parse (line 78) | fn parse(buf: &AddressMessageBuffer<&'a T>) -> Result { FILE: netlink-packet-route/src/rtnl/address/nlas/cache_info.rs type CacheInfo (line 9) | pub struct CacheInfo { method parse (line 25) | fn parse(buf: &CacheInfoBuffer) -> Result { constant ADDRESSS_CACHE_INFO_LEN (line 16) | pub const ADDRESSS_CACHE_INFO_LEN: usize = 16; method buffer_len (line 36) | fn buffer_len(&self) -> usize { method emit (line 40) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-route/src/rtnl/address/nlas/mod.rs type Nla (line 20) | pub enum Nla { method value_len (line 35) | fn value_len(&self) -> usize { method emit_value (line 61) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 88) | fn kind(&self) -> u16 { method parse (line 106) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { FILE: netlink-packet-route/src/rtnl/buffer.rs method parse_with_param (line 35) | fn parse_with_param(buf: &RtnlMessageBuffer<&'a T>, message_type: u16) -... FILE: netlink-packet-route/src/rtnl/constants.rs constant RTM_BASE (line 5) | pub const RTM_BASE: u16 = 16; constant RTM_NEWLINK (line 6) | pub const RTM_NEWLINK: u16 = 16; constant RTM_DELLINK (line 7) | pub const RTM_DELLINK: u16 = 17; constant RTM_GETLINK (line 8) | pub const RTM_GETLINK: u16 = 18; constant RTM_SETLINK (line 9) | pub const RTM_SETLINK: u16 = 19; constant RTM_NEWADDR (line 10) | pub const RTM_NEWADDR: u16 = 20; constant RTM_DELADDR (line 11) | pub const RTM_DELADDR: u16 = 21; constant RTM_GETADDR (line 12) | pub const RTM_GETADDR: u16 = 22; constant RTM_NEWROUTE (line 13) | pub const RTM_NEWROUTE: u16 = 24; constant RTM_DELROUTE (line 14) | pub const RTM_DELROUTE: u16 = 25; constant RTM_GETROUTE (line 15) | pub const RTM_GETROUTE: u16 = 26; constant RTM_NEWNEIGH (line 16) | pub const RTM_NEWNEIGH: u16 = 28; constant RTM_DELNEIGH (line 17) | pub const RTM_DELNEIGH: u16 = 29; constant RTM_GETNEIGH (line 18) | pub const RTM_GETNEIGH: u16 = 30; constant RTM_NEWRULE (line 19) | pub const RTM_NEWRULE: u16 = 32; constant RTM_DELRULE (line 20) | pub const RTM_DELRULE: u16 = 33; constant RTM_GETRULE (line 21) | pub const RTM_GETRULE: u16 = 34; constant RTM_NEWQDISC (line 22) | pub const RTM_NEWQDISC: u16 = 36; constant RTM_DELQDISC (line 23) | pub const RTM_DELQDISC: u16 = 37; constant RTM_GETQDISC (line 24) | pub const RTM_GETQDISC: u16 = 38; constant RTM_NEWTCLASS (line 25) | pub const RTM_NEWTCLASS: u16 = 40; constant RTM_DELTCLASS (line 26) | pub const RTM_DELTCLASS: u16 = 41; constant RTM_GETTCLASS (line 27) | pub const RTM_GETTCLASS: u16 = 42; constant RTM_NEWTFILTER (line 28) | pub const RTM_NEWTFILTER: u16 = 44; constant RTM_DELTFILTER (line 29) | pub const RTM_DELTFILTER: u16 = 45; constant RTM_GETTFILTER (line 30) | pub const RTM_GETTFILTER: u16 = 46; constant RTM_NEWACTION (line 31) | pub const RTM_NEWACTION: u16 = 48; constant RTM_DELACTION (line 32) | pub const RTM_DELACTION: u16 = 49; constant RTM_GETACTION (line 33) | pub const RTM_GETACTION: u16 = 50; constant RTM_NEWPREFIX (line 34) | pub const RTM_NEWPREFIX: u16 = 52; constant RTM_GETMULTICAST (line 35) | pub const RTM_GETMULTICAST: u16 = 58; constant RTM_GETANYCAST (line 36) | pub const RTM_GETANYCAST: u16 = 62; constant RTM_NEWNEIGHTBL (line 37) | pub const RTM_NEWNEIGHTBL: u16 = 64; constant RTM_GETNEIGHTBL (line 38) | pub const RTM_GETNEIGHTBL: u16 = 66; constant RTM_SETNEIGHTBL (line 39) | pub const RTM_SETNEIGHTBL: u16 = 67; constant RTM_NEWNDUSEROPT (line 40) | pub const RTM_NEWNDUSEROPT: u16 = 68; constant RTM_NEWADDRLABEL (line 41) | pub const RTM_NEWADDRLABEL: u16 = 72; constant RTM_DELADDRLABEL (line 42) | pub const RTM_DELADDRLABEL: u16 = 73; constant RTM_GETADDRLABEL (line 43) | pub const RTM_GETADDRLABEL: u16 = 74; constant RTM_GETDCB (line 44) | pub const RTM_GETDCB: u16 = 78; constant RTM_SETDCB (line 45) | pub const RTM_SETDCB: u16 = 79; constant RTM_NEWNETCONF (line 46) | pub const RTM_NEWNETCONF: u16 = 80; constant RTM_DELNETCONF (line 47) | pub const RTM_DELNETCONF: u16 = 81; constant RTM_GETNETCONF (line 48) | pub const RTM_GETNETCONF: u16 = 82; constant RTM_NEWMDB (line 49) | pub const RTM_NEWMDB: u16 = 84; constant RTM_DELMDB (line 50) | pub const RTM_DELMDB: u16 = 85; constant RTM_GETMDB (line 51) | pub const RTM_GETMDB: u16 = 86; constant RTM_NEWNSID (line 52) | pub const RTM_NEWNSID: u16 = 88; constant RTM_DELNSID (line 53) | pub const RTM_DELNSID: u16 = 89; constant RTM_GETNSID (line 54) | pub const RTM_GETNSID: u16 = 90; constant RTM_NEWSTATS (line 55) | pub const RTM_NEWSTATS: u16 = 92; constant RTM_GETSTATS (line 56) | pub const RTM_GETSTATS: u16 = 94; constant RTM_NEWCACHEREPORT (line 57) | pub const RTM_NEWCACHEREPORT: u16 = 96; constant RTM_NEWCHAIN (line 58) | pub const RTM_NEWCHAIN: u16 = 100; constant RTM_DELCHAIN (line 59) | pub const RTM_DELCHAIN: u16 = 101; constant RTM_GETCHAIN (line 60) | pub const RTM_GETCHAIN: u16 = 102; constant RTM_NEWLINKPROP (line 61) | pub const RTM_NEWLINKPROP: u16 = 108; constant RTM_DELLINKPROP (line 62) | pub const RTM_DELLINKPROP: u16 = 109; constant RTN_UNSPEC (line 65) | pub const RTN_UNSPEC: u8 = 0; constant RTN_UNICAST (line 67) | pub const RTN_UNICAST: u8 = 1; constant RTN_LOCAL (line 69) | pub const RTN_LOCAL: u8 = 2; constant RTN_BROADCAST (line 71) | pub const RTN_BROADCAST: u8 = 3; constant RTN_ANYCAST (line 73) | pub const RTN_ANYCAST: u8 = 4; constant RTN_MULTICAST (line 75) | pub const RTN_MULTICAST: u8 = 5; constant RTN_BLACKHOLE (line 77) | pub const RTN_BLACKHOLE: u8 = 6; constant RTN_UNREACHABLE (line 79) | pub const RTN_UNREACHABLE: u8 = 7; constant RTN_PROHIBIT (line 81) | pub const RTN_PROHIBIT: u8 = 8; constant RTN_THROW (line 83) | pub const RTN_THROW: u8 = 9; constant RTN_NAT (line 85) | pub const RTN_NAT: u8 = 10; constant RTN_XRESOLVE (line 87) | pub const RTN_XRESOLVE: u8 = 11; constant RTPROT_UNSPEC (line 90) | pub const RTPROT_UNSPEC: u8 = 0; constant RTPROT_REDIRECT (line 92) | pub const RTPROT_REDIRECT: u8 = 1; constant RTPROT_KERNEL (line 94) | pub const RTPROT_KERNEL: u8 = 2; constant RTPROT_BOOT (line 96) | pub const RTPROT_BOOT: u8 = 3; constant RTPROT_STATIC (line 98) | pub const RTPROT_STATIC: u8 = 4; constant RTPROT_GATED (line 99) | pub const RTPROT_GATED: u8 = 8; constant RTPROT_RA (line 100) | pub const RTPROT_RA: u8 = 9; constant RTPROT_MRT (line 101) | pub const RTPROT_MRT: u8 = 10; constant RTPROT_ZEBRA (line 102) | pub const RTPROT_ZEBRA: u8 = 11; constant RTPROT_BIRD (line 103) | pub const RTPROT_BIRD: u8 = 12; constant RTPROT_DNROUTED (line 104) | pub const RTPROT_DNROUTED: u8 = 13; constant RTPROT_XORP (line 105) | pub const RTPROT_XORP: u8 = 14; constant RTPROT_NTK (line 106) | pub const RTPROT_NTK: u8 = 15; constant RTPROT_DHCP (line 107) | pub const RTPROT_DHCP: u8 = 16; constant RTPROT_MROUTED (line 108) | pub const RTPROT_MROUTED: u8 = 17; constant RTPROT_BABEL (line 109) | pub const RTPROT_BABEL: u8 = 42; constant RT_SCOPE_UNIVERSE (line 112) | pub const RT_SCOPE_UNIVERSE: u8 = 0; constant RT_SCOPE_SITE (line 115) | pub const RT_SCOPE_SITE: u8 = 200; constant RT_SCOPE_LINK (line 117) | pub const RT_SCOPE_LINK: u8 = 253; constant RT_SCOPE_HOST (line 119) | pub const RT_SCOPE_HOST: u8 = 254; constant RT_SCOPE_NOWHERE (line 121) | pub const RT_SCOPE_NOWHERE: u8 = 255; constant RT_TABLE_UNSPEC (line 124) | pub const RT_TABLE_UNSPEC: u8 = 0; constant RT_TABLE_COMPAT (line 148) | pub const RT_TABLE_COMPAT: u8 = 252; constant RT_TABLE_DEFAULT (line 159) | pub const RT_TABLE_DEFAULT: u8 = 253; constant RT_TABLE_MAIN (line 165) | pub const RT_TABLE_MAIN: u8 = 254; constant RT_TABLE_LOCAL (line 210) | pub const RT_TABLE_LOCAL: u8 = 255; constant RTM_F_NOTIFY (line 213) | pub const RTM_F_NOTIFY: u32 = 256; constant RTM_F_CLONED (line 219) | pub const RTM_F_CLONED: u32 = 512; constant RTM_F_EQUALIZE (line 221) | pub const RTM_F_EQUALIZE: u32 = 1024; constant RTM_F_PREFIX (line 223) | pub const RTM_F_PREFIX: u32 = 2048; constant RTM_F_LOOKUP_TABLE (line 229) | pub const RTM_F_LOOKUP_TABLE: u32 = 4096; constant RTM_F_FIB_MATCH (line 231) | pub const RTM_F_FIB_MATCH: u32 = 8192; constant AF_UNSPEC (line 233) | pub const AF_UNSPEC: u16 = libc::AF_UNSPEC as u16; constant AF_UNIX (line 234) | pub const AF_UNIX: u16 = libc::AF_UNIX as u16; constant AF_INET (line 236) | pub const AF_INET: u16 = libc::AF_INET as u16; constant AF_AX25 (line 237) | pub const AF_AX25: u16 = libc::AF_AX25 as u16; constant AF_IPX (line 238) | pub const AF_IPX: u16 = libc::AF_IPX as u16; constant AF_APPLETALK (line 239) | pub const AF_APPLETALK: u16 = libc::AF_APPLETALK as u16; constant AF_NETROM (line 240) | pub const AF_NETROM: u16 = libc::AF_NETROM as u16; constant AF_BRIDGE (line 241) | pub const AF_BRIDGE: u16 = libc::AF_BRIDGE as u16; constant AF_ATMPVC (line 242) | pub const AF_ATMPVC: u16 = libc::AF_ATMPVC as u16; constant AF_X25 (line 243) | pub const AF_X25: u16 = libc::AF_X25 as u16; constant AF_INET6 (line 244) | pub const AF_INET6: u16 = libc::AF_INET6 as u16; constant AF_ROSE (line 245) | pub const AF_ROSE: u16 = libc::AF_ROSE as u16; constant AF_DECNET (line 246) | pub const AF_DECNET: u16 = libc::AF_DECnet as u16; constant AF_NETBEUI (line 247) | pub const AF_NETBEUI: u16 = libc::AF_NETBEUI as u16; constant AF_SECURITY (line 248) | pub const AF_SECURITY: u16 = libc::AF_SECURITY as u16; constant AF_KEY (line 249) | pub const AF_KEY: u16 = libc::AF_KEY as u16; constant AF_NETLINK (line 250) | pub const AF_NETLINK: u16 = libc::AF_NETLINK as u16; constant AF_PACKET (line 252) | pub const AF_PACKET: u16 = libc::AF_PACKET as u16; constant AF_ASH (line 253) | pub const AF_ASH: u16 = libc::AF_ASH as u16; constant AF_ECONET (line 254) | pub const AF_ECONET: u16 = libc::AF_ECONET as u16; constant AF_ATMSVC (line 255) | pub const AF_ATMSVC: u16 = libc::AF_ATMSVC as u16; constant AF_RDS (line 256) | pub const AF_RDS: u16 = libc::AF_RDS as u16; constant AF_SNA (line 257) | pub const AF_SNA: u16 = libc::AF_SNA as u16; constant AF_IRDA (line 258) | pub const AF_IRDA: u16 = libc::AF_IRDA as u16; constant AF_PPPOX (line 259) | pub const AF_PPPOX: u16 = libc::AF_PPPOX as u16; constant AF_WANPIPE (line 260) | pub const AF_WANPIPE: u16 = libc::AF_WANPIPE as u16; constant AF_LLC (line 261) | pub const AF_LLC: u16 = libc::AF_LLC as u16; constant AF_CAN (line 262) | pub const AF_CAN: u16 = libc::AF_CAN as u16; constant AF_TIPC (line 263) | pub const AF_TIPC: u16 = libc::AF_TIPC as u16; constant AF_BLUETOOTH (line 264) | pub const AF_BLUETOOTH: u16 = libc::AF_BLUETOOTH as u16; constant AF_IUCV (line 265) | pub const AF_IUCV: u16 = libc::AF_IUCV as u16; constant AF_RXRPC (line 266) | pub const AF_RXRPC: u16 = libc::AF_RXRPC as u16; constant AF_ISDN (line 267) | pub const AF_ISDN: u16 = libc::AF_ISDN as u16; constant AF_PHONET (line 268) | pub const AF_PHONET: u16 = libc::AF_PHONET as u16; constant AF_IEEE802154 (line 269) | pub const AF_IEEE802154: u16 = libc::AF_IEEE802154 as u16; constant AF_CAIF (line 270) | pub const AF_CAIF: u16 = libc::AF_CAIF as u16; constant AF_ALG (line 271) | pub const AF_ALG: u16 = libc::AF_ALG as u16; constant NETNSA_NONE (line 273) | pub const NETNSA_NONE: u16 = 0; constant NETNSA_NSID (line 274) | pub const NETNSA_NSID: u16 = 1; constant NETNSA_PID (line 275) | pub const NETNSA_PID: u16 = 2; constant NETNSA_FD (line 276) | pub const NETNSA_FD: u16 = 3; constant NETNSA_NSID_NOT_ASSIGNED (line 277) | pub const NETNSA_NSID_NOT_ASSIGNED: i32 = -1; constant NUD_INCOMPLETE (line 280) | pub const NUD_INCOMPLETE: u16 = 1; constant NUD_REACHABLE (line 282) | pub const NUD_REACHABLE: u16 = 2; constant NUD_STALE (line 284) | pub const NUD_STALE: u16 = 4; constant NUD_DELAY (line 286) | pub const NUD_DELAY: u16 = 8; constant NUD_PROBE (line 288) | pub const NUD_PROBE: u16 = 16; constant NUD_FAILED (line 290) | pub const NUD_FAILED: u16 = 32; constant NUD_NOARP (line 293) | pub const NUD_NOARP: u16 = 64; constant NUD_PERMANENT (line 296) | pub const NUD_PERMANENT: u16 = 128; constant NUD_NONE (line 298) | pub const NUD_NONE: u16 = 0; constant NTF_USE (line 301) | pub const NTF_USE: u8 = 1; constant NTF_SELF (line 302) | pub const NTF_SELF: u8 = 2; constant NTF_MASTER (line 303) | pub const NTF_MASTER: u8 = 4; constant NTF_PROXY (line 304) | pub const NTF_PROXY: u8 = 8; constant NTF_EXT_LEARNED (line 305) | pub const NTF_EXT_LEARNED: u8 = 16; constant NTF_OFFLOADED (line 306) | pub const NTF_OFFLOADED: u8 = 32; constant NTF_ROUTER (line 307) | pub const NTF_ROUTER: u8 = 128; constant TCA_UNSPEC (line 309) | pub const TCA_UNSPEC: u16 = 0; constant TCA_KIND (line 310) | pub const TCA_KIND: u16 = 1; constant TCA_OPTIONS (line 311) | pub const TCA_OPTIONS: u16 = 2; constant TCA_STATS (line 312) | pub const TCA_STATS: u16 = 3; constant TCA_XSTATS (line 313) | pub const TCA_XSTATS: u16 = 4; constant TCA_RATE (line 314) | pub const TCA_RATE: u16 = 5; constant TCA_FCNT (line 315) | pub const TCA_FCNT: u16 = 6; constant TCA_STATS2 (line 316) | pub const TCA_STATS2: u16 = 7; constant TCA_STAB (line 317) | pub const TCA_STAB: u16 = 8; constant TCA_PAD (line 318) | pub const TCA_PAD: u16 = 9; constant TCA_DUMP_INVISIBLE (line 319) | pub const TCA_DUMP_INVISIBLE: u16 = 10; constant TCA_CHAIN (line 320) | pub const TCA_CHAIN: u16 = 11; constant TCA_HW_OFFLOAD (line 321) | pub const TCA_HW_OFFLOAD: u16 = 12; constant TCA_INGRESS_BLOCK (line 322) | pub const TCA_INGRESS_BLOCK: u16 = 13; constant TCA_EGRESS_BLOCK (line 323) | pub const TCA_EGRESS_BLOCK: u16 = 14; constant TCA_STATS_UNSPEC (line 324) | pub const TCA_STATS_UNSPEC: u16 = 0; constant TCA_STATS_BASIC (line 325) | pub const TCA_STATS_BASIC: u16 = 1; constant TCA_STATS_RATE_EST (line 326) | pub const TCA_STATS_RATE_EST: u16 = 2; constant TCA_STATS_QUEUE (line 327) | pub const TCA_STATS_QUEUE: u16 = 3; constant TCA_STATS_APP (line 328) | pub const TCA_STATS_APP: u16 = 4; constant TCA_STATS_RATE_EST64 (line 329) | pub const TCA_STATS_RATE_EST64: u16 = 5; constant TCA_STATS_PAD (line 330) | pub const TCA_STATS_PAD: u16 = 6; constant TCA_STATS_BASIC_HW (line 331) | pub const TCA_STATS_BASIC_HW: u16 = 7; constant NDTA_UNSPEC (line 333) | pub const NDTA_UNSPEC: u16 = 0; constant NDTA_NAME (line 334) | pub const NDTA_NAME: u16 = 1; constant NDTA_THRESH1 (line 335) | pub const NDTA_THRESH1: u16 = 2; constant NDTA_THRESH2 (line 336) | pub const NDTA_THRESH2: u16 = 3; constant NDTA_THRESH3 (line 337) | pub const NDTA_THRESH3: u16 = 4; constant NDTA_CONFIG (line 338) | pub const NDTA_CONFIG: u16 = 5; constant NDTA_PARMS (line 339) | pub const NDTA_PARMS: u16 = 6; constant NDTA_STATS (line 340) | pub const NDTA_STATS: u16 = 7; constant NDTA_GC_INTERVAL (line 341) | pub const NDTA_GC_INTERVAL: u16 = 8; constant NDTA_PAD (line 342) | pub const NDTA_PAD: u16 = 9; constant RTA_UNSPEC (line 344) | pub const RTA_UNSPEC: u16 = 0; constant RTA_DST (line 345) | pub const RTA_DST: u16 = 1; constant RTA_SRC (line 346) | pub const RTA_SRC: u16 = 2; constant RTA_IIF (line 347) | pub const RTA_IIF: u16 = 3; constant RTA_OIF (line 348) | pub const RTA_OIF: u16 = 4; constant RTA_GATEWAY (line 349) | pub const RTA_GATEWAY: u16 = 5; constant RTA_PRIORITY (line 350) | pub const RTA_PRIORITY: u16 = 6; constant RTA_PREFSRC (line 351) | pub const RTA_PREFSRC: u16 = 7; constant RTA_METRICS (line 352) | pub const RTA_METRICS: u16 = 8; constant RTA_MULTIPATH (line 353) | pub const RTA_MULTIPATH: u16 = 9; constant RTA_PROTOINFO (line 354) | pub const RTA_PROTOINFO: u16 = 10; constant RTA_FLOW (line 355) | pub const RTA_FLOW: u16 = 11; constant RTA_CACHEINFO (line 356) | pub const RTA_CACHEINFO: u16 = 12; constant RTA_SESSION (line 357) | pub const RTA_SESSION: u16 = 13; constant RTA_MP_ALGO (line 358) | pub const RTA_MP_ALGO: u16 = 14; constant RTA_TABLE (line 359) | pub const RTA_TABLE: u16 = 15; constant RTA_MARK (line 360) | pub const RTA_MARK: u16 = 16; constant RTA_MFC_STATS (line 361) | pub const RTA_MFC_STATS: u16 = 17; constant RTA_VIA (line 362) | pub const RTA_VIA: u16 = 18; constant RTA_NEWDST (line 363) | pub const RTA_NEWDST: u16 = 19; constant RTA_PREF (line 364) | pub const RTA_PREF: u16 = 20; constant RTA_ENCAP_TYPE (line 365) | pub const RTA_ENCAP_TYPE: u16 = 21; constant RTA_ENCAP (line 366) | pub const RTA_ENCAP: u16 = 22; constant RTA_EXPIRES (line 367) | pub const RTA_EXPIRES: u16 = 23; constant RTA_PAD (line 368) | pub const RTA_PAD: u16 = 24; constant RTA_UID (line 369) | pub const RTA_UID: u16 = 25; constant RTA_TTL_PROPAGATE (line 370) | pub const RTA_TTL_PROPAGATE: u16 = 26; constant RTAX_UNSPEC (line 372) | pub const RTAX_UNSPEC: u16 = 0; constant RTAX_LOCK (line 373) | pub const RTAX_LOCK: u16 = 1; constant RTAX_MTU (line 374) | pub const RTAX_MTU: u16 = 2; constant RTAX_WINDOW (line 375) | pub const RTAX_WINDOW: u16 = 3; constant RTAX_RTT (line 376) | pub const RTAX_RTT: u16 = 4; constant RTAX_RTTVAR (line 377) | pub const RTAX_RTTVAR: u16 = 5; constant RTAX_SSTHRESH (line 378) | pub const RTAX_SSTHRESH: u16 = 6; constant RTAX_CWND (line 379) | pub const RTAX_CWND: u16 = 7; constant RTAX_ADVMSS (line 380) | pub const RTAX_ADVMSS: u16 = 8; constant RTAX_REORDERING (line 381) | pub const RTAX_REORDERING: u16 = 9; constant RTAX_HOPLIMIT (line 382) | pub const RTAX_HOPLIMIT: u16 = 10; constant RTAX_INITCWND (line 383) | pub const RTAX_INITCWND: u16 = 11; constant RTAX_FEATURES (line 384) | pub const RTAX_FEATURES: u16 = 12; constant RTAX_RTO_MIN (line 385) | pub const RTAX_RTO_MIN: u16 = 13; constant RTAX_INITRWND (line 386) | pub const RTAX_INITRWND: u16 = 14; constant RTAX_QUICKACK (line 387) | pub const RTAX_QUICKACK: u16 = 15; constant RTAX_CC_ALGO (line 388) | pub const RTAX_CC_ALGO: u16 = 16; constant RTAX_FASTOPEN_NO_COOKIE (line 389) | pub const RTAX_FASTOPEN_NO_COOKIE: u16 = 17; constant IFLA_INFO_UNSPEC (line 391) | pub const IFLA_INFO_UNSPEC: u16 = 0; constant IFLA_INFO_KIND (line 392) | pub const IFLA_INFO_KIND: u16 = 1; constant IFLA_INFO_DATA (line 393) | pub const IFLA_INFO_DATA: u16 = 2; constant IFLA_INFO_XSTATS (line 394) | pub const IFLA_INFO_XSTATS: u16 = 3; constant IFLA_INFO_SLAVE_KIND (line 395) | pub const IFLA_INFO_SLAVE_KIND: u16 = 4; constant IFLA_INFO_SLAVE_DATA (line 396) | pub const IFLA_INFO_SLAVE_DATA: u16 = 5; constant IFLA_BRIDGE_FLAGS (line 398) | pub const IFLA_BRIDGE_FLAGS: u16 = 0; constant BRIDGE_FLAGS_MASTER (line 399) | pub const BRIDGE_FLAGS_MASTER: u16 = 1; constant BRIDGE_FLAGS_SELF (line 400) | pub const BRIDGE_FLAGS_SELF: u16 = 2; constant IFLA_BRIDGE_VLAN_INFO (line 402) | pub const IFLA_BRIDGE_VLAN_INFO: u16 = 2; constant BRIDGE_VLAN_INFO_MASTER (line 403) | pub const BRIDGE_VLAN_INFO_MASTER: u16 = 1; constant BRIDGE_VLAN_INFO_PVID (line 404) | pub const BRIDGE_VLAN_INFO_PVID: u16 = 4; constant BRIDGE_VLAN_INFO_UNTAGGED (line 405) | pub const BRIDGE_VLAN_INFO_UNTAGGED: u16 = 8; constant BRIDGE_VLAN_INFO_RANGE_BEGIN (line 406) | pub const BRIDGE_VLAN_INFO_RANGE_BEGIN: u16 = 16; constant BRIDGE_VLAN_INFO_RANGE_END (line 407) | pub const BRIDGE_VLAN_INFO_RANGE_END: u16 = 32; constant IFLA_BR_UNSPEC (line 409) | pub const IFLA_BR_UNSPEC: u16 = 0; constant IFLA_BR_FORWARD_DELAY (line 410) | pub const IFLA_BR_FORWARD_DELAY: u16 = 1; constant IFLA_BR_HELLO_TIME (line 411) | pub const IFLA_BR_HELLO_TIME: u16 = 2; constant IFLA_BR_MAX_AGE (line 412) | pub const IFLA_BR_MAX_AGE: u16 = 3; constant IFLA_BR_AGEING_TIME (line 413) | pub const IFLA_BR_AGEING_TIME: u16 = 4; constant IFLA_BR_STP_STATE (line 414) | pub const IFLA_BR_STP_STATE: u16 = 5; constant IFLA_BR_PRIORITY (line 415) | pub const IFLA_BR_PRIORITY: u16 = 6; constant IFLA_BR_VLAN_FILTERING (line 416) | pub const IFLA_BR_VLAN_FILTERING: u16 = 7; constant IFLA_BR_VLAN_PROTOCOL (line 417) | pub const IFLA_BR_VLAN_PROTOCOL: u16 = 8; constant IFLA_BR_GROUP_FWD_MASK (line 418) | pub const IFLA_BR_GROUP_FWD_MASK: u16 = 9; constant IFLA_BR_ROOT_ID (line 419) | pub const IFLA_BR_ROOT_ID: u16 = 10; constant IFLA_BR_BRIDGE_ID (line 420) | pub const IFLA_BR_BRIDGE_ID: u16 = 11; constant IFLA_BR_ROOT_PORT (line 421) | pub const IFLA_BR_ROOT_PORT: u16 = 12; constant IFLA_BR_ROOT_PATH_COST (line 422) | pub const IFLA_BR_ROOT_PATH_COST: u16 = 13; constant IFLA_BR_TOPOLOGY_CHANGE (line 423) | pub const IFLA_BR_TOPOLOGY_CHANGE: u16 = 14; constant IFLA_BR_TOPOLOGY_CHANGE_DETECTED (line 424) | pub const IFLA_BR_TOPOLOGY_CHANGE_DETECTED: u16 = 15; constant IFLA_BR_HELLO_TIMER (line 425) | pub const IFLA_BR_HELLO_TIMER: u16 = 16; constant IFLA_BR_TCN_TIMER (line 426) | pub const IFLA_BR_TCN_TIMER: u16 = 17; constant IFLA_BR_TOPOLOGY_CHANGE_TIMER (line 427) | pub const IFLA_BR_TOPOLOGY_CHANGE_TIMER: u16 = 18; constant IFLA_BR_GC_TIMER (line 428) | pub const IFLA_BR_GC_TIMER: u16 = 19; constant IFLA_BR_GROUP_ADDR (line 429) | pub const IFLA_BR_GROUP_ADDR: u16 = 20; constant IFLA_BR_FDB_FLUSH (line 430) | pub const IFLA_BR_FDB_FLUSH: u16 = 21; constant IFLA_BR_MCAST_ROUTER (line 431) | pub const IFLA_BR_MCAST_ROUTER: u16 = 22; constant IFLA_BR_MCAST_SNOOPING (line 432) | pub const IFLA_BR_MCAST_SNOOPING: u16 = 23; constant IFLA_BR_MCAST_QUERY_USE_IFADDR (line 433) | pub const IFLA_BR_MCAST_QUERY_USE_IFADDR: u16 = 24; constant IFLA_BR_MCAST_QUERIER (line 434) | pub const IFLA_BR_MCAST_QUERIER: u16 = 25; constant IFLA_BR_MCAST_HASH_ELASTICITY (line 435) | pub const IFLA_BR_MCAST_HASH_ELASTICITY: u16 = 26; constant IFLA_BR_MCAST_HASH_MAX (line 436) | pub const IFLA_BR_MCAST_HASH_MAX: u16 = 27; constant IFLA_BR_MCAST_LAST_MEMBER_CNT (line 437) | pub const IFLA_BR_MCAST_LAST_MEMBER_CNT: u16 = 28; constant IFLA_BR_MCAST_STARTUP_QUERY_CNT (line 438) | pub const IFLA_BR_MCAST_STARTUP_QUERY_CNT: u16 = 29; constant IFLA_BR_MCAST_LAST_MEMBER_INTVL (line 439) | pub const IFLA_BR_MCAST_LAST_MEMBER_INTVL: u16 = 30; constant IFLA_BR_MCAST_MEMBERSHIP_INTVL (line 440) | pub const IFLA_BR_MCAST_MEMBERSHIP_INTVL: u16 = 31; constant IFLA_BR_MCAST_QUERIER_INTVL (line 441) | pub const IFLA_BR_MCAST_QUERIER_INTVL: u16 = 32; constant IFLA_BR_MCAST_QUERY_INTVL (line 442) | pub const IFLA_BR_MCAST_QUERY_INTVL: u16 = 33; constant IFLA_BR_MCAST_QUERY_RESPONSE_INTVL (line 443) | pub const IFLA_BR_MCAST_QUERY_RESPONSE_INTVL: u16 = 34; constant IFLA_BR_MCAST_STARTUP_QUERY_INTVL (line 444) | pub const IFLA_BR_MCAST_STARTUP_QUERY_INTVL: u16 = 35; constant IFLA_BR_NF_CALL_IPTABLES (line 445) | pub const IFLA_BR_NF_CALL_IPTABLES: u16 = 36; constant IFLA_BR_NF_CALL_IP6TABLES (line 446) | pub const IFLA_BR_NF_CALL_IP6TABLES: u16 = 37; constant IFLA_BR_NF_CALL_ARPTABLES (line 447) | pub const IFLA_BR_NF_CALL_ARPTABLES: u16 = 38; constant IFLA_BR_VLAN_DEFAULT_PVID (line 448) | pub const IFLA_BR_VLAN_DEFAULT_PVID: u16 = 39; constant IFLA_BR_PAD (line 449) | pub const IFLA_BR_PAD: u16 = 40; constant IFLA_BR_VLAN_STATS_ENABLED (line 450) | pub const IFLA_BR_VLAN_STATS_ENABLED: u16 = 41; constant IFLA_BR_MCAST_STATS_ENABLED (line 451) | pub const IFLA_BR_MCAST_STATS_ENABLED: u16 = 42; constant IFLA_BR_MCAST_IGMP_VERSION (line 452) | pub const IFLA_BR_MCAST_IGMP_VERSION: u16 = 43; constant IFLA_BR_MCAST_MLD_VERSION (line 453) | pub const IFLA_BR_MCAST_MLD_VERSION: u16 = 44; constant IFLA_BR_VLAN_STATS_PER_PORT (line 454) | pub const IFLA_BR_VLAN_STATS_PER_PORT: u16 = 45; constant IFLA_BR_MULTI_BOOLOPT (line 455) | pub const IFLA_BR_MULTI_BOOLOPT: u16 = 46; constant IFLA_MACVLAN_UNSPEC (line 456) | pub const IFLA_MACVLAN_UNSPEC: u16 = 0; constant IFLA_MACVLAN_MODE (line 457) | pub const IFLA_MACVLAN_MODE: u16 = 1; constant IFLA_MACVLAN_FLAGS (line 458) | pub const IFLA_MACVLAN_FLAGS: u16 = 2; constant IFLA_MACVLAN_MACADDR_MODE (line 459) | pub const IFLA_MACVLAN_MACADDR_MODE: u16 = 3; constant IFLA_MACVLAN_MACADDR (line 460) | pub const IFLA_MACVLAN_MACADDR: u16 = 4; constant IFLA_MACVLAN_MACADDR_DATA (line 461) | pub const IFLA_MACVLAN_MACADDR_DATA: u16 = 5; constant IFLA_MACVLAN_MACADDR_COUNT (line 462) | pub const IFLA_MACVLAN_MACADDR_COUNT: u16 = 6; constant IFLA_VLAN_UNSPEC (line 463) | pub const IFLA_VLAN_UNSPEC: u16 = 0; constant IFLA_VLAN_ID (line 464) | pub const IFLA_VLAN_ID: u16 = 1; constant IFLA_VLAN_FLAGS (line 465) | pub const IFLA_VLAN_FLAGS: u16 = 2; constant IFLA_VLAN_EGRESS_QOS (line 466) | pub const IFLA_VLAN_EGRESS_QOS: u16 = 3; constant IFLA_VLAN_INGRESS_QOS (line 467) | pub const IFLA_VLAN_INGRESS_QOS: u16 = 4; constant IFLA_VLAN_PROTOCOL (line 468) | pub const IFLA_VLAN_PROTOCOL: u16 = 5; constant IFLA_VRF_UNSPEC (line 469) | pub const IFLA_VRF_UNSPEC: u16 = 0; constant IFLA_VRF_TABLE (line 470) | pub const IFLA_VRF_TABLE: u16 = 1; constant IFLA_IPVLAN_UNSPEC (line 471) | pub const IFLA_IPVLAN_UNSPEC: u16 = 0; constant IFLA_IPVLAN_MODE (line 472) | pub const IFLA_IPVLAN_MODE: u16 = 1; constant IFLA_IPVLAN_FLAGS (line 473) | pub const IFLA_IPVLAN_FLAGS: u16 = 2; constant IFLA_IPOIB_UNSPEC (line 474) | pub const IFLA_IPOIB_UNSPEC: u16 = 0; constant IFLA_IPOIB_PKEY (line 475) | pub const IFLA_IPOIB_PKEY: u16 = 1; constant IFLA_IPOIB_MODE (line 476) | pub const IFLA_IPOIB_MODE: u16 = 2; constant IFLA_IPOIB_UMCAST (line 477) | pub const IFLA_IPOIB_UMCAST: u16 = 3; constant VETH_INFO_UNSPEC (line 478) | pub const VETH_INFO_UNSPEC: u16 = 0; constant VETH_INFO_PEER (line 479) | pub const VETH_INFO_PEER: u16 = 1; constant ARPHRD_NETROM (line 481) | pub const ARPHRD_NETROM: u16 = 0; constant ARPHRD_ETHER (line 482) | pub const ARPHRD_ETHER: u16 = 1; constant ARPHRD_EETHER (line 483) | pub const ARPHRD_EETHER: u16 = 2; constant ARPHRD_AX25 (line 484) | pub const ARPHRD_AX25: u16 = 3; constant ARPHRD_PRONET (line 485) | pub const ARPHRD_PRONET: u16 = 4; constant ARPHRD_CHAOS (line 486) | pub const ARPHRD_CHAOS: u16 = 5; constant ARPHRD_IEEE802 (line 487) | pub const ARPHRD_IEEE802: u16 = 6; constant ARPHRD_ARCNET (line 488) | pub const ARPHRD_ARCNET: u16 = 7; constant ARPHRD_APPLETLK (line 489) | pub const ARPHRD_APPLETLK: u16 = 8; constant ARPHRD_DLCI (line 490) | pub const ARPHRD_DLCI: u16 = 15; constant ARPHRD_ATM (line 491) | pub const ARPHRD_ATM: u16 = 19; constant ARPHRD_METRICOM (line 492) | pub const ARPHRD_METRICOM: u16 = 23; constant ARPHRD_IEEE1394 (line 493) | pub const ARPHRD_IEEE1394: u16 = 24; constant ARPHRD_EUI64 (line 494) | pub const ARPHRD_EUI64: u16 = 27; constant ARPHRD_INFINIBAND (line 495) | pub const ARPHRD_INFINIBAND: u16 = 32; constant ARPHRD_SLIP (line 496) | pub const ARPHRD_SLIP: u16 = 256; constant ARPHRD_CSLIP (line 497) | pub const ARPHRD_CSLIP: u16 = 257; constant ARPHRD_SLIP6 (line 498) | pub const ARPHRD_SLIP6: u16 = 258; constant ARPHRD_CSLIP6 (line 499) | pub const ARPHRD_CSLIP6: u16 = 259; constant ARPHRD_RSRVD (line 500) | pub const ARPHRD_RSRVD: u16 = 260; constant ARPHRD_ADAPT (line 501) | pub const ARPHRD_ADAPT: u16 = 264; constant ARPHRD_ROSE (line 502) | pub const ARPHRD_ROSE: u16 = 270; constant ARPHRD_X25 (line 503) | pub const ARPHRD_X25: u16 = 271; constant ARPHRD_HWX25 (line 504) | pub const ARPHRD_HWX25: u16 = 272; constant ARPHRD_CAN (line 505) | pub const ARPHRD_CAN: u16 = 280; constant ARPHRD_PPP (line 506) | pub const ARPHRD_PPP: u16 = 512; constant ARPHRD_CISCO (line 507) | pub const ARPHRD_CISCO: u16 = 513; constant ARPHRD_HDLC (line 508) | pub const ARPHRD_HDLC: u16 = 513; constant ARPHRD_LAPB (line 509) | pub const ARPHRD_LAPB: u16 = 516; constant ARPHRD_DDCMP (line 510) | pub const ARPHRD_DDCMP: u16 = 517; constant ARPHRD_RAWHDLC (line 511) | pub const ARPHRD_RAWHDLC: u16 = 518; constant ARPHRD_RAWIP (line 512) | pub const ARPHRD_RAWIP: u16 = 519; constant ARPHRD_TUNNEL (line 513) | pub const ARPHRD_TUNNEL: u16 = 768; constant ARPHRD_TUNNEL6 (line 514) | pub const ARPHRD_TUNNEL6: u16 = 769; constant ARPHRD_FRAD (line 515) | pub const ARPHRD_FRAD: u16 = 770; constant ARPHRD_SKIP (line 516) | pub const ARPHRD_SKIP: u16 = 771; constant ARPHRD_LOOPBACK (line 517) | pub const ARPHRD_LOOPBACK: u16 = 772; constant ARPHRD_LOCALTLK (line 518) | pub const ARPHRD_LOCALTLK: u16 = 773; constant ARPHRD_FDDI (line 519) | pub const ARPHRD_FDDI: u16 = 774; constant ARPHRD_BIF (line 520) | pub const ARPHRD_BIF: u16 = 775; constant ARPHRD_SIT (line 521) | pub const ARPHRD_SIT: u16 = 776; constant ARPHRD_IPDDP (line 522) | pub const ARPHRD_IPDDP: u16 = 777; constant ARPHRD_IPGRE (line 523) | pub const ARPHRD_IPGRE: u16 = 778; constant ARPHRD_PIMREG (line 524) | pub const ARPHRD_PIMREG: u16 = 779; constant ARPHRD_HIPPI (line 525) | pub const ARPHRD_HIPPI: u16 = 780; constant ARPHRD_ASH (line 526) | pub const ARPHRD_ASH: u16 = 781; constant ARPHRD_ECONET (line 527) | pub const ARPHRD_ECONET: u16 = 782; constant ARPHRD_IRDA (line 528) | pub const ARPHRD_IRDA: u16 = 783; constant ARPHRD_FCPP (line 529) | pub const ARPHRD_FCPP: u16 = 784; constant ARPHRD_FCAL (line 530) | pub const ARPHRD_FCAL: u16 = 785; constant ARPHRD_FCPL (line 531) | pub const ARPHRD_FCPL: u16 = 786; constant ARPHRD_FCFABRIC (line 532) | pub const ARPHRD_FCFABRIC: u16 = 787; constant ARPHRD_IEEE802_TR (line 533) | pub const ARPHRD_IEEE802_TR: u16 = 800; constant ARPHRD_IEEE80211 (line 534) | pub const ARPHRD_IEEE80211: u16 = 801; constant ARPHRD_IEEE80211_PRISM (line 535) | pub const ARPHRD_IEEE80211_PRISM: u16 = 802; constant ARPHRD_IEEE80211_RADIOTAP (line 536) | pub const ARPHRD_IEEE80211_RADIOTAP: u16 = 803; constant ARPHRD_IEEE802154 (line 537) | pub const ARPHRD_IEEE802154: u16 = 804; constant ARPHRD_IEEE802154_MONITOR (line 538) | pub const ARPHRD_IEEE802154_MONITOR: u16 = 805; constant ARPHRD_PHONET (line 539) | pub const ARPHRD_PHONET: u16 = 820; constant ARPHRD_PHONET_PIPE (line 540) | pub const ARPHRD_PHONET_PIPE: u16 = 821; constant ARPHRD_CAIF (line 541) | pub const ARPHRD_CAIF: u16 = 822; constant ARPHRD_IP6GRE (line 542) | pub const ARPHRD_IP6GRE: u16 = 823; constant ARPHRD_NETLINK (line 543) | pub const ARPHRD_NETLINK: u16 = 824; constant ARPHRD_6LOWPAN (line 544) | pub const ARPHRD_6LOWPAN: u16 = 825; constant ARPHRD_VSOCKMON (line 545) | pub const ARPHRD_VSOCKMON: u16 = 826; constant ARPHRD_VOID (line 546) | pub const ARPHRD_VOID: u16 = 65535; constant ARPHRD_NONE (line 547) | pub const ARPHRD_NONE: u16 = 65534; constant IFA_UNSPEC (line 549) | pub const IFA_UNSPEC: u16 = 0; constant IFA_ADDRESS (line 550) | pub const IFA_ADDRESS: u16 = 1; constant IFA_LOCAL (line 551) | pub const IFA_LOCAL: u16 = 2; constant IFA_LABEL (line 552) | pub const IFA_LABEL: u16 = 3; constant IFA_BROADCAST (line 553) | pub const IFA_BROADCAST: u16 = 4; constant IFA_ANYCAST (line 554) | pub const IFA_ANYCAST: u16 = 5; constant IFA_CACHEINFO (line 555) | pub const IFA_CACHEINFO: u16 = 6; constant IFA_MULTICAST (line 556) | pub const IFA_MULTICAST: u16 = 7; constant IFA_FLAGS (line 557) | pub const IFA_FLAGS: u16 = 8; constant IFLA_UNSPEC (line 559) | pub const IFLA_UNSPEC: u16 = 0; constant IFLA_ADDRESS (line 560) | pub const IFLA_ADDRESS: u16 = 1; constant IFLA_BROADCAST (line 561) | pub const IFLA_BROADCAST: u16 = 2; constant IFLA_IFNAME (line 562) | pub const IFLA_IFNAME: u16 = 3; constant IFLA_MTU (line 563) | pub const IFLA_MTU: u16 = 4; constant IFLA_LINK (line 564) | pub const IFLA_LINK: u16 = 5; constant IFLA_QDISC (line 565) | pub const IFLA_QDISC: u16 = 6; constant IFLA_STATS (line 566) | pub const IFLA_STATS: u16 = 7; constant IFLA_COST (line 567) | pub const IFLA_COST: u16 = 8; constant IFLA_PRIORITY (line 568) | pub const IFLA_PRIORITY: u16 = 9; constant IFLA_MASTER (line 569) | pub const IFLA_MASTER: u16 = 10; constant IFLA_WIRELESS (line 570) | pub const IFLA_WIRELESS: u16 = 11; constant IFLA_PROTINFO (line 571) | pub const IFLA_PROTINFO: u16 = 12; constant IFLA_TXQLEN (line 572) | pub const IFLA_TXQLEN: u16 = 13; constant IFLA_MAP (line 573) | pub const IFLA_MAP: u16 = 14; constant IFLA_WEIGHT (line 574) | pub const IFLA_WEIGHT: u16 = 15; constant IFLA_OPERSTATE (line 575) | pub const IFLA_OPERSTATE: u16 = 16; constant IFLA_LINKMODE (line 576) | pub const IFLA_LINKMODE: u16 = 17; constant IFLA_LINKINFO (line 577) | pub const IFLA_LINKINFO: u16 = 18; constant IFLA_NET_NS_PID (line 578) | pub const IFLA_NET_NS_PID: u16 = 19; constant IFLA_IFALIAS (line 579) | pub const IFLA_IFALIAS: u16 = 20; constant IFLA_NUM_VF (line 580) | pub const IFLA_NUM_VF: u16 = 21; constant IFLA_VFINFO_LIST (line 581) | pub const IFLA_VFINFO_LIST: u16 = 22; constant IFLA_STATS64 (line 582) | pub const IFLA_STATS64: u16 = 23; constant IFLA_VF_PORTS (line 583) | pub const IFLA_VF_PORTS: u16 = 24; constant IFLA_PORT_SELF (line 584) | pub const IFLA_PORT_SELF: u16 = 25; constant IFLA_AF_SPEC (line 585) | pub const IFLA_AF_SPEC: u16 = 26; constant IFLA_GROUP (line 586) | pub const IFLA_GROUP: u16 = 27; constant IFLA_NET_NS_FD (line 587) | pub const IFLA_NET_NS_FD: u16 = 28; constant IFLA_EXT_MASK (line 588) | pub const IFLA_EXT_MASK: u16 = 29; constant IFLA_PROMISCUITY (line 589) | pub const IFLA_PROMISCUITY: u16 = 30; constant IFLA_NUM_TX_QUEUES (line 590) | pub const IFLA_NUM_TX_QUEUES: u16 = 31; constant IFLA_NUM_RX_QUEUES (line 591) | pub const IFLA_NUM_RX_QUEUES: u16 = 32; constant IFLA_CARRIER (line 592) | pub const IFLA_CARRIER: u16 = 33; constant IFLA_PHYS_PORT_ID (line 593) | pub const IFLA_PHYS_PORT_ID: u16 = 34; constant IFLA_CARRIER_CHANGES (line 594) | pub const IFLA_CARRIER_CHANGES: u16 = 35; constant IFLA_PHYS_SWITCH_ID (line 595) | pub const IFLA_PHYS_SWITCH_ID: u16 = 36; constant IFLA_LINK_NETNSID (line 596) | pub const IFLA_LINK_NETNSID: u16 = 37; constant IFLA_PHYS_PORT_NAME (line 597) | pub const IFLA_PHYS_PORT_NAME: u16 = 38; constant IFLA_PROTO_DOWN (line 598) | pub const IFLA_PROTO_DOWN: u16 = 39; constant IFLA_GSO_MAX_SEGS (line 599) | pub const IFLA_GSO_MAX_SEGS: u16 = 40; constant IFLA_GSO_MAX_SIZE (line 600) | pub const IFLA_GSO_MAX_SIZE: u16 = 41; constant IFLA_PAD (line 601) | pub const IFLA_PAD: u16 = 42; constant IFLA_XDP (line 602) | pub const IFLA_XDP: u16 = 43; constant IFLA_EVENT (line 603) | pub const IFLA_EVENT: u16 = 44; constant IFLA_NEW_NETNSID (line 604) | pub const IFLA_NEW_NETNSID: u16 = 45; constant IFLA_IF_NETNSID (line 605) | pub const IFLA_IF_NETNSID: u16 = 46; constant IFLA_CARRIER_UP_COUNT (line 606) | pub const IFLA_CARRIER_UP_COUNT: u16 = 47; constant IFLA_CARRIER_DOWN_COUNT (line 607) | pub const IFLA_CARRIER_DOWN_COUNT: u16 = 48; constant IFLA_NEW_IFINDEX (line 608) | pub const IFLA_NEW_IFINDEX: u16 = 49; constant IFLA_MIN_MTU (line 609) | pub const IFLA_MIN_MTU: u16 = 50; constant IFLA_MAX_MTU (line 610) | pub const IFLA_MAX_MTU: u16 = 51; constant IFLA_PROP_LIST (line 611) | pub const IFLA_PROP_LIST: u16 = 52; constant IFLA_ALT_IFNAME (line 612) | pub const IFLA_ALT_IFNAME: u16 = 53; constant IFLA_PERM_ADDRESS (line 613) | pub const IFLA_PERM_ADDRESS: u16 = 54; constant IFLA_PROTO_DOWN_REASON (line 614) | pub const IFLA_PROTO_DOWN_REASON: u16 = 55; constant IFLA_INET_UNSPEC (line 615) | pub const IFLA_INET_UNSPEC: u16 = 0; constant IFLA_INET_CONF (line 616) | pub const IFLA_INET_CONF: u16 = 1; constant IFLA_INET6_UNSPEC (line 617) | pub const IFLA_INET6_UNSPEC: u16 = 0; constant IFLA_INET6_FLAGS (line 618) | pub const IFLA_INET6_FLAGS: u16 = 1; constant IFLA_INET6_CONF (line 619) | pub const IFLA_INET6_CONF: u16 = 2; constant IFLA_INET6_STATS (line 620) | pub const IFLA_INET6_STATS: u16 = 3; constant IFLA_INET6_CACHEINFO (line 622) | pub const IFLA_INET6_CACHEINFO: u16 = 5; constant IFLA_INET6_ICMP6STATS (line 623) | pub const IFLA_INET6_ICMP6STATS: u16 = 6; constant IFLA_INET6_TOKEN (line 624) | pub const IFLA_INET6_TOKEN: u16 = 7; constant IFLA_INET6_ADDR_GEN_MODE (line 625) | pub const IFLA_INET6_ADDR_GEN_MODE: u16 = 8; constant IFF_UP (line 628) | pub const IFF_UP: u32 = libc::IFF_UP as u32; constant IFF_RUNNING (line 630) | pub const IFF_RUNNING: u32 = libc::IFF_RUNNING as u32; constant IFF_LOWER_UP (line 632) | pub const IFF_LOWER_UP: u32 = libc::IFF_LOWER_UP as u32; constant IFF_DORMANT (line 634) | pub const IFF_DORMANT: u32 = libc::IFF_DORMANT as u32; constant IFF_BROADCAST (line 636) | pub const IFF_BROADCAST: u32 = libc::IFF_BROADCAST as u32; constant IFF_MULTICAST (line 638) | pub const IFF_MULTICAST: u32 = libc::IFF_MULTICAST as u32; constant IFF_ALLMULTI (line 640) | pub const IFF_ALLMULTI: u32 = libc::IFF_ALLMULTI as u32; constant IFF_DEBUG (line 642) | pub const IFF_DEBUG: u32 = libc::IFF_DEBUG as u32; constant IFF_LOOPBACK (line 644) | pub const IFF_LOOPBACK: u32 = libc::IFF_LOOPBACK as u32; constant IFF_POINTOPOINT (line 646) | pub const IFF_POINTOPOINT: u32 = libc::IFF_POINTOPOINT as u32; constant IFF_NOARP (line 648) | pub const IFF_NOARP: u32 = libc::IFF_NOARP as u32; constant IFF_PROMISC (line 650) | pub const IFF_PROMISC: u32 = libc::IFF_PROMISC as u32; constant IFF_MASTER (line 652) | pub const IFF_MASTER: u32 = libc::IFF_MASTER as u32; constant IFF_SLAVE (line 654) | pub const IFF_SLAVE: u32 = libc::IFF_SLAVE as u32; constant IFF_PORTSEL (line 656) | pub const IFF_PORTSEL: u32 = libc::IFF_PORTSEL as u32; constant IFF_AUTOMEDIA (line 658) | pub const IFF_AUTOMEDIA: u32 = libc::IFF_AUTOMEDIA as u32; constant IF_OPER_UNKNOWN (line 666) | pub const IF_OPER_UNKNOWN: u8 = 0; constant IF_OPER_NOTPRESENT (line 667) | pub const IF_OPER_NOTPRESENT: u8 = 1; constant IF_OPER_DOWN (line 668) | pub const IF_OPER_DOWN: u8 = 2; constant IF_OPER_LOWERLAYERDOWN (line 669) | pub const IF_OPER_LOWERLAYERDOWN: u8 = 3; constant IF_OPER_TESTING (line 670) | pub const IF_OPER_TESTING: u8 = 4; constant IF_OPER_DORMANT (line 671) | pub const IF_OPER_DORMANT: u8 = 5; constant IF_OPER_UP (line 672) | pub const IF_OPER_UP: u8 = 6; constant NDA_UNSPEC (line 675) | pub const NDA_UNSPEC: u16 = 0; constant NDA_DST (line 678) | pub const NDA_DST: u16 = 1; constant NDA_LLADDR (line 681) | pub const NDA_LLADDR: u16 = 2; constant NDA_CACHEINFO (line 683) | pub const NDA_CACHEINFO: u16 = 3; constant NDA_PROBES (line 684) | pub const NDA_PROBES: u16 = 4; constant NDA_VLAN (line 685) | pub const NDA_VLAN: u16 = 5; constant NDA_PORT (line 686) | pub const NDA_PORT: u16 = 6; constant NDA_VNI (line 687) | pub const NDA_VNI: u16 = 7; constant NDA_IFINDEX (line 688) | pub const NDA_IFINDEX: u16 = 8; constant NDA_MASTER (line 689) | pub const NDA_MASTER: u16 = 9; constant NDA_LINK_NETNSID (line 690) | pub const NDA_LINK_NETNSID: u16 = 10; constant NDA_SRC_VNI (line 691) | pub const NDA_SRC_VNI: u16 = 11; constant FR_ACT_UNSPEC (line 695) | pub const FR_ACT_UNSPEC: u8 = 0; constant FR_ACT_TO_TBL (line 697) | pub const FR_ACT_TO_TBL: u8 = 1; constant FR_ACT_GOTO (line 699) | pub const FR_ACT_GOTO: u8 = 2; constant FR_ACT_NOP (line 701) | pub const FR_ACT_NOP: u8 = 3; constant FR_ACT_RES3 (line 702) | pub const FR_ACT_RES3: u8 = 4; constant FR_ACT_RES4 (line 703) | pub const FR_ACT_RES4: u8 = 5; constant FR_ACT_BLACKHOLE (line 705) | pub const FR_ACT_BLACKHOLE: u8 = 6; constant FR_ACT_UNREACHABLE (line 707) | pub const FR_ACT_UNREACHABLE: u8 = 7; constant FR_ACT_PROHIBIT (line 709) | pub const FR_ACT_PROHIBIT: u8 = 8; constant FRA_UNSPEC (line 711) | pub const FRA_UNSPEC: u16 = 0; constant FRA_DST (line 713) | pub const FRA_DST: u16 = 1; constant FRA_SRC (line 715) | pub const FRA_SRC: u16 = 2; constant FRA_IIFNAME (line 717) | pub const FRA_IIFNAME: u16 = 3; constant FRA_GOTO (line 719) | pub const FRA_GOTO: u16 = 4; constant FRA_UNUSED2 (line 721) | pub const FRA_UNUSED2: u16 = 5; constant FRA_PRIORITY (line 724) | pub const FRA_PRIORITY: u16 = 6; constant FRA_UNUSED3 (line 726) | pub const FRA_UNUSED3: u16 = 7; constant FRA_UNUSED4 (line 727) | pub const FRA_UNUSED4: u16 = 8; constant FRA_UNUSED5 (line 728) | pub const FRA_UNUSED5: u16 = 9; constant FRA_FWMARK (line 731) | pub const FRA_FWMARK: u16 = 10; constant FRA_FLOW (line 733) | pub const FRA_FLOW: u16 = 11; constant FRA_TUN_ID (line 734) | pub const FRA_TUN_ID: u16 = 12; constant FRA_SUPPRESS_IFGROUP (line 735) | pub const FRA_SUPPRESS_IFGROUP: u16 = 13; constant FRA_SUPPRESS_PREFIXLEN (line 736) | pub const FRA_SUPPRESS_PREFIXLEN: u16 = 14; constant FRA_TABLE (line 738) | pub const FRA_TABLE: u16 = 15; constant FRA_FWMASK (line 740) | pub const FRA_FWMASK: u16 = 16; constant FRA_OIFNAME (line 741) | pub const FRA_OIFNAME: u16 = 17; constant FRA_PAD (line 742) | pub const FRA_PAD: u16 = 18; constant FRA_L3MDEV (line 744) | pub const FRA_L3MDEV: u16 = 19; constant FRA_UID_RANGE (line 746) | pub const FRA_UID_RANGE: u16 = 20; constant FRA_PROTOCOL (line 748) | pub const FRA_PROTOCOL: u16 = 21; constant FRA_IP_PROTO (line 750) | pub const FRA_IP_PROTO: u16 = 22; constant FRA_SPORT_RANGE (line 752) | pub const FRA_SPORT_RANGE: u16 = 23; constant FRA_DPORT_RANGE (line 754) | pub const FRA_DPORT_RANGE: u16 = 24; constant FIB_RULE_PERMANENT (line 756) | pub const FIB_RULE_PERMANENT: u32 = 1; constant FIB_RULE_INVERT (line 757) | pub const FIB_RULE_INVERT: u32 = 2; constant FIB_RULE_UNRESOLVED (line 758) | pub const FIB_RULE_UNRESOLVED: u32 = 4; constant FIB_RULE_IIF_DETACHED (line 759) | pub const FIB_RULE_IIF_DETACHED: u32 = 8; constant FIB_RULE_DEV_DETACHED (line 760) | pub const FIB_RULE_DEV_DETACHED: u32 = FIB_RULE_IIF_DETACHED; constant FIB_RULE_OIF_DETACHED (line 761) | pub const FIB_RULE_OIF_DETACHED: u32 = 10; constant FIB_RULE_FIND_SADDR (line 763) | pub const FIB_RULE_FIND_SADDR: u32 = 10000; constant IFA_F_SECONDARY (line 779) | pub const IFA_F_SECONDARY: u32 = 1; constant IFA_F_TEMPORARY (line 780) | pub const IFA_F_TEMPORARY: u32 = 1; constant IFA_F_NODAD (line 781) | pub const IFA_F_NODAD: u32 = 2; constant IFA_F_OPTIMISTIC (line 782) | pub const IFA_F_OPTIMISTIC: u32 = 4; constant IFA_F_DADFAILED (line 783) | pub const IFA_F_DADFAILED: u32 = 8; constant IFA_F_HOMEADDRESS (line 784) | pub const IFA_F_HOMEADDRESS: u32 = 16; constant IFA_F_DEPRECATED (line 785) | pub const IFA_F_DEPRECATED: u32 = 32; constant IFA_F_TENTATIVE (line 786) | pub const IFA_F_TENTATIVE: u32 = 64; constant IFA_F_PERMANENT (line 787) | pub const IFA_F_PERMANENT: u32 = 128; constant IFA_F_MANAGETEMPADDR (line 788) | pub const IFA_F_MANAGETEMPADDR: u32 = 256; constant IFA_F_NOPREFIXROUTE (line 789) | pub const IFA_F_NOPREFIXROUTE: u32 = 512; constant IFA_F_MCAUTOJOIN (line 790) | pub const IFA_F_MCAUTOJOIN: u32 = 1024; constant IFA_F_STABLE_PRIVACY (line 791) | pub const IFA_F_STABLE_PRIVACY: u32 = 2048; constant RTNH_F_DEAD (line 798) | pub const RTNH_F_DEAD: u8 = 1; constant RTNH_F_PERVASIVE (line 799) | pub const RTNH_F_PERVASIVE: u8 = 2; constant RTNH_F_ONLINK (line 800) | pub const RTNH_F_ONLINK: u8 = 4; constant RTNH_F_OFFLOAD (line 801) | pub const RTNH_F_OFFLOAD: u8 = 8; constant RTNH_F_LINKDOWN (line 802) | pub const RTNH_F_LINKDOWN: u8 = 16; constant RTNH_F_UNRESOLVED (line 803) | pub const RTNH_F_UNRESOLVED: u8 = 32; constant TCM_IFINDEX_MAGIC_BLOCK (line 812) | pub const TCM_IFINDEX_MAGIC_BLOCK: u32 = 0xffff_ffff; constant RTEXT_FILTER_VF (line 815) | pub const RTEXT_FILTER_VF: u32 = 1; constant RTEXT_FILTER_BRVLAN (line 816) | pub const RTEXT_FILTER_BRVLAN: u32 = 2; constant RTEXT_FILTER_BRVLAN_COMPRESSED (line 817) | pub const RTEXT_FILTER_BRVLAN_COMPRESSED: u32 = 4; constant RTEXT_FILTER_SKIP_STATS (line 818) | pub const RTEXT_FILTER_SKIP_STATS: u32 = 8; constant MACVLAN_MODE_PRIVATE (line 877) | pub const MACVLAN_MODE_PRIVATE: u32 = 1; constant MACVLAN_MODE_VEPA (line 878) | pub const MACVLAN_MODE_VEPA: u32 = 2; constant MACVLAN_MODE_BRIDGE (line 879) | pub const MACVLAN_MODE_BRIDGE: u32 = 4; constant MACVLAN_MODE_PASSTHRU (line 880) | pub const MACVLAN_MODE_PASSTHRU: u32 = 8; constant MACVLAN_MODE_SOURCE (line 881) | pub const MACVLAN_MODE_SOURCE: u32 = 16; constant IFLA_VXLAN_UNSPEC (line 925) | pub const IFLA_VXLAN_UNSPEC: u16 = 0; constant IFLA_VXLAN_ID (line 926) | pub const IFLA_VXLAN_ID: u16 = 1; constant IFLA_VXLAN_GROUP (line 927) | pub const IFLA_VXLAN_GROUP: u16 = 2; constant IFLA_VXLAN_LINK (line 928) | pub const IFLA_VXLAN_LINK: u16 = 3; constant IFLA_VXLAN_LOCAL (line 929) | pub const IFLA_VXLAN_LOCAL: u16 = 4; constant IFLA_VXLAN_TTL (line 930) | pub const IFLA_VXLAN_TTL: u16 = 5; constant IFLA_VXLAN_TOS (line 931) | pub const IFLA_VXLAN_TOS: u16 = 6; constant IFLA_VXLAN_LEARNING (line 932) | pub const IFLA_VXLAN_LEARNING: u16 = 7; constant IFLA_VXLAN_AGEING (line 933) | pub const IFLA_VXLAN_AGEING: u16 = 8; constant IFLA_VXLAN_LIMIT (line 934) | pub const IFLA_VXLAN_LIMIT: u16 = 9; constant IFLA_VXLAN_PORT_RANGE (line 935) | pub const IFLA_VXLAN_PORT_RANGE: u16 = 10; constant IFLA_VXLAN_PROXY (line 936) | pub const IFLA_VXLAN_PROXY: u16 = 11; constant IFLA_VXLAN_RSC (line 937) | pub const IFLA_VXLAN_RSC: u16 = 12; constant IFLA_VXLAN_L2MISS (line 938) | pub const IFLA_VXLAN_L2MISS: u16 = 13; constant IFLA_VXLAN_L3MISS (line 939) | pub const IFLA_VXLAN_L3MISS: u16 = 14; constant IFLA_VXLAN_PORT (line 940) | pub const IFLA_VXLAN_PORT: u16 = 15; constant IFLA_VXLAN_GROUP6 (line 941) | pub const IFLA_VXLAN_GROUP6: u16 = 16; constant IFLA_VXLAN_LOCAL6 (line 942) | pub const IFLA_VXLAN_LOCAL6: u16 = 17; constant IFLA_VXLAN_UDP_CSUM (line 943) | pub const IFLA_VXLAN_UDP_CSUM: u16 = 18; constant IFLA_VXLAN_UDP_ZERO_CSUM6_TX (line 944) | pub const IFLA_VXLAN_UDP_ZERO_CSUM6_TX: u16 = 19; constant IFLA_VXLAN_UDP_ZERO_CSUM6_RX (line 945) | pub const IFLA_VXLAN_UDP_ZERO_CSUM6_RX: u16 = 20; constant IFLA_VXLAN_REMCSUM_TX (line 946) | pub const IFLA_VXLAN_REMCSUM_TX: u16 = 21; constant IFLA_VXLAN_REMCSUM_RX (line 947) | pub const IFLA_VXLAN_REMCSUM_RX: u16 = 22; constant IFLA_VXLAN_GBP (line 948) | pub const IFLA_VXLAN_GBP: u16 = 23; constant IFLA_VXLAN_REMCSUM_NOPARTIAL (line 949) | pub const IFLA_VXLAN_REMCSUM_NOPARTIAL: u16 = 24; constant IFLA_VXLAN_COLLECT_METADATA (line 950) | pub const IFLA_VXLAN_COLLECT_METADATA: u16 = 25; constant IFLA_VXLAN_LABEL (line 951) | pub const IFLA_VXLAN_LABEL: u16 = 26; constant IFLA_VXLAN_GPE (line 952) | pub const IFLA_VXLAN_GPE: u16 = 27; constant IFLA_VXLAN_TTL_INHERIT (line 953) | pub const IFLA_VXLAN_TTL_INHERIT: u16 = 28; constant IFLA_VXLAN_DF (line 954) | pub const IFLA_VXLAN_DF: u16 = 29; constant __IFLA_VXLAN_MAX (line 955) | pub const __IFLA_VXLAN_MAX: u16 = 30; constant IFLA_BOND_UNSPEC (line 982) | pub const IFLA_BOND_UNSPEC: u16 = 0; constant IFLA_BOND_MODE (line 983) | pub const IFLA_BOND_MODE: u16 = 1; constant IFLA_BOND_ACTIVE_SLAVE (line 984) | pub const IFLA_BOND_ACTIVE_SLAVE: u16 = 2; constant IFLA_BOND_MIIMON (line 985) | pub const IFLA_BOND_MIIMON: u16 = 3; constant IFLA_BOND_UPDELAY (line 986) | pub const IFLA_BOND_UPDELAY: u16 = 4; constant IFLA_BOND_DOWNDELAY (line 987) | pub const IFLA_BOND_DOWNDELAY: u16 = 5; constant IFLA_BOND_USE_CARRIER (line 988) | pub const IFLA_BOND_USE_CARRIER: u16 = 6; constant IFLA_BOND_ARP_INTERVAL (line 989) | pub const IFLA_BOND_ARP_INTERVAL: u16 = 7; constant IFLA_BOND_ARP_IP_TARGET (line 990) | pub const IFLA_BOND_ARP_IP_TARGET: u16 = 8; constant IFLA_BOND_ARP_VALIDATE (line 991) | pub const IFLA_BOND_ARP_VALIDATE: u16 = 9; constant IFLA_BOND_ARP_ALL_TARGETS (line 992) | pub const IFLA_BOND_ARP_ALL_TARGETS: u16 = 10; constant IFLA_BOND_PRIMARY (line 993) | pub const IFLA_BOND_PRIMARY: u16 = 11; constant IFLA_BOND_PRIMARY_RESELECT (line 994) | pub const IFLA_BOND_PRIMARY_RESELECT: u16 = 12; constant IFLA_BOND_FAIL_OVER_MAC (line 995) | pub const IFLA_BOND_FAIL_OVER_MAC: u16 = 13; constant IFLA_BOND_XMIT_HASH_POLICY (line 996) | pub const IFLA_BOND_XMIT_HASH_POLICY: u16 = 14; constant IFLA_BOND_RESEND_IGMP (line 997) | pub const IFLA_BOND_RESEND_IGMP: u16 = 15; constant IFLA_BOND_NUM_PEER_NOTIF (line 998) | pub const IFLA_BOND_NUM_PEER_NOTIF: u16 = 16; constant IFLA_BOND_ALL_SLAVES_ACTIVE (line 999) | pub const IFLA_BOND_ALL_SLAVES_ACTIVE: u16 = 17; constant IFLA_BOND_MIN_LINKS (line 1000) | pub const IFLA_BOND_MIN_LINKS: u16 = 18; constant IFLA_BOND_LP_INTERVAL (line 1001) | pub const IFLA_BOND_LP_INTERVAL: u16 = 19; constant IFLA_BOND_PACKETS_PER_SLAVE (line 1002) | pub const IFLA_BOND_PACKETS_PER_SLAVE: u16 = 20; constant IFLA_BOND_AD_LACP_RATE (line 1003) | pub const IFLA_BOND_AD_LACP_RATE: u16 = 21; constant IFLA_BOND_AD_SELECT (line 1004) | pub const IFLA_BOND_AD_SELECT: u16 = 22; constant IFLA_BOND_AD_INFO (line 1005) | pub const IFLA_BOND_AD_INFO: u16 = 23; constant IFLA_BOND_AD_ACTOR_SYS_PRIO (line 1006) | pub const IFLA_BOND_AD_ACTOR_SYS_PRIO: u16 = 24; constant IFLA_BOND_AD_USER_PORT_KEY (line 1007) | pub const IFLA_BOND_AD_USER_PORT_KEY: u16 = 25; constant IFLA_BOND_AD_ACTOR_SYSTEM (line 1008) | pub const IFLA_BOND_AD_ACTOR_SYSTEM: u16 = 26; constant IFLA_BOND_TLB_DYNAMIC_LB (line 1009) | pub const IFLA_BOND_TLB_DYNAMIC_LB: u16 = 27; constant IFLA_BOND_PEER_NOTIF_DELAY (line 1010) | pub const IFLA_BOND_PEER_NOTIF_DELAY: u16 = 28; constant IFLA_BOND_AD_LACP_ACTIVE (line 1011) | pub const IFLA_BOND_AD_LACP_ACTIVE: u16 = 29; constant IFLA_BOND_MISSED_MAX (line 1012) | pub const IFLA_BOND_MISSED_MAX: u16 = 30; constant IFLA_BOND_NS_IP6_TARGET (line 1013) | pub const IFLA_BOND_NS_IP6_TARGET: u16 = 31; constant IFLA_BOND_AD_INFO_UNSPEC (line 1015) | pub const IFLA_BOND_AD_INFO_UNSPEC: u16 = 0; constant IFLA_BOND_AD_INFO_AGGREGATOR (line 1016) | pub const IFLA_BOND_AD_INFO_AGGREGATOR: u16 = 1; constant IFLA_BOND_AD_INFO_NUM_PORTS (line 1017) | pub const IFLA_BOND_AD_INFO_NUM_PORTS: u16 = 2; constant IFLA_BOND_AD_INFO_ACTOR_KEY (line 1018) | pub const IFLA_BOND_AD_INFO_ACTOR_KEY: u16 = 3; constant IFLA_BOND_AD_INFO_PARTNER_KEY (line 1019) | pub const IFLA_BOND_AD_INFO_PARTNER_KEY: u16 = 4; constant IFLA_BOND_AD_INFO_PARTNER_MAC (line 1020) | pub const IFLA_BOND_AD_INFO_PARTNER_MAC: u16 = 5; constant RTNLGRP_NONE (line 1055) | pub const RTNLGRP_NONE: u32 = 0; constant RTNLGRP_LINK (line 1056) | pub const RTNLGRP_LINK: u32 = 1; constant RTNLGRP_NOTIFY (line 1057) | pub const RTNLGRP_NOTIFY: u32 = 2; constant RTNLGRP_NEIGH (line 1058) | pub const RTNLGRP_NEIGH: u32 = 3; constant RTNLGRP_TC (line 1059) | pub const RTNLGRP_TC: u32 = 4; constant RTNLGRP_IPV4_IFADDR (line 1060) | pub const RTNLGRP_IPV4_IFADDR: u32 = 5; constant RTNLGRP_IPV4_MROUTE (line 1061) | pub const RTNLGRP_IPV4_MROUTE: u32 = 6; constant RTNLGRP_IPV4_ROUTE (line 1062) | pub const RTNLGRP_IPV4_ROUTE: u32 = 7; constant RTNLGRP_IPV4_RULE (line 1063) | pub const RTNLGRP_IPV4_RULE: u32 = 8; constant RTNLGRP_IPV6_IFADDR (line 1064) | pub const RTNLGRP_IPV6_IFADDR: u32 = 9; constant RTNLGRP_IPV6_MROUTE (line 1065) | pub const RTNLGRP_IPV6_MROUTE: u32 = 10; constant RTNLGRP_IPV6_ROUTE (line 1066) | pub const RTNLGRP_IPV6_ROUTE: u32 = 11; constant RTNLGRP_IPV6_IFINFO (line 1067) | pub const RTNLGRP_IPV6_IFINFO: u32 = 12; constant RTNLGRP_DECNET_IFADDR (line 1068) | pub const RTNLGRP_DECNET_IFADDR: u32 = 13; constant RTNLGRP_NOP2 (line 1069) | pub const RTNLGRP_NOP2: u32 = 14; constant RTNLGRP_DECNET_ROUTE (line 1070) | pub const RTNLGRP_DECNET_ROUTE: u32 = 15; constant RTNLGRP_DECNET_RULE (line 1071) | pub const RTNLGRP_DECNET_RULE: u32 = 16; constant RTNLGRP_NOP4 (line 1072) | pub const RTNLGRP_NOP4: u32 = 17; constant RTNLGRP_IPV6_PREFIX (line 1073) | pub const RTNLGRP_IPV6_PREFIX: u32 = 18; constant RTNLGRP_IPV6_RULE (line 1074) | pub const RTNLGRP_IPV6_RULE: u32 = 19; constant RTNLGRP_ND_USEROPT (line 1075) | pub const RTNLGRP_ND_USEROPT: u32 = 20; constant RTNLGRP_PHONET_IFADDR (line 1076) | pub const RTNLGRP_PHONET_IFADDR: u32 = 21; constant RTNLGRP_PHONET_ROUTE (line 1077) | pub const RTNLGRP_PHONET_ROUTE: u32 = 22; constant RTNLGRP_DCB (line 1078) | pub const RTNLGRP_DCB: u32 = 23; constant RTNLGRP_IPV4_NETCONF (line 1079) | pub const RTNLGRP_IPV4_NETCONF: u32 = 24; constant RTNLGRP_IPV6_NETCONF (line 1080) | pub const RTNLGRP_IPV6_NETCONF: u32 = 25; constant RTNLGRP_MDB (line 1081) | pub const RTNLGRP_MDB: u32 = 26; constant RTNLGRP_MPLS_ROUTE (line 1082) | pub const RTNLGRP_MPLS_ROUTE: u32 = 27; constant RTNLGRP_NSID (line 1083) | pub const RTNLGRP_NSID: u32 = 28; constant RTNLGRP_MPLS_NETCONF (line 1084) | pub const RTNLGRP_MPLS_NETCONF: u32 = 29; constant RTNLGRP_IPV4_MROUTE_R (line 1085) | pub const RTNLGRP_IPV4_MROUTE_R: u32 = 30; constant RTNLGRP_IPV6_MROUTE_R (line 1086) | pub const RTNLGRP_IPV6_MROUTE_R: u32 = 31; constant IFLA_XDP_UNSPEC (line 1167) | pub const IFLA_XDP_UNSPEC: u32 = 0; constant IFLA_XDP_FD (line 1168) | pub const IFLA_XDP_FD: u32 = 1; constant IFLA_XDP_ATTACHED (line 1169) | pub const IFLA_XDP_ATTACHED: u32 = 2; constant IFLA_XDP_FLAGS (line 1170) | pub const IFLA_XDP_FLAGS: u32 = 3; constant IFLA_XDP_PROG_ID (line 1171) | pub const IFLA_XDP_PROG_ID: u32 = 4; constant LWTUNNEL_ENCAP_NONE (line 1208) | pub const LWTUNNEL_ENCAP_NONE: u16 = 0; constant LWTUNNEL_ENCAP_MPLS (line 1209) | pub const LWTUNNEL_ENCAP_MPLS: u16 = 1; constant LWTUNNEL_ENCAP_IP (line 1210) | pub const LWTUNNEL_ENCAP_IP: u16 = 2; constant LWTUNNEL_ENCAP_ILA (line 1211) | pub const LWTUNNEL_ENCAP_ILA: u16 = 3; constant LWTUNNEL_ENCAP_IP6 (line 1212) | pub const LWTUNNEL_ENCAP_IP6: u16 = 4; constant LWTUNNEL_ENCAP_SEG6 (line 1213) | pub const LWTUNNEL_ENCAP_SEG6: u16 = 5; constant LWTUNNEL_ENCAP_BPF (line 1214) | pub const LWTUNNEL_ENCAP_BPF: u16 = 6; constant LWTUNNEL_ENCAP_SEG6_LOCAL (line 1215) | pub const LWTUNNEL_ENCAP_SEG6_LOCAL: u16 = 7; constant LWTUNNEL_ENCAP_RPL (line 1216) | pub const LWTUNNEL_ENCAP_RPL: u16 = 8; constant MPLS_IPTUNNEL_UNSPEC (line 1218) | pub const MPLS_IPTUNNEL_UNSPEC: u16 = 0; constant MPLS_IPTUNNEL_DST (line 1219) | pub const MPLS_IPTUNNEL_DST: u16 = 1; constant MPLS_IPTUNNEL_TTL (line 1220) | pub const MPLS_IPTUNNEL_TTL: u16 = 2; constant MACVTAP_MODE_PRIVATE (line 1223) | pub const MACVTAP_MODE_PRIVATE: u32 = 1; constant MACVTAP_MODE_VEPA (line 1224) | pub const MACVTAP_MODE_VEPA: u32 = 2; constant MACVTAP_MODE_BRIDGE (line 1225) | pub const MACVTAP_MODE_BRIDGE: u32 = 4; constant MACVTAP_MODE_PASSTHRU (line 1226) | pub const MACVTAP_MODE_PASSTHRU: u32 = 8; constant MACVTAP_MODE_SOURCE (line 1227) | pub const MACVTAP_MODE_SOURCE: u32 = 16; FILE: netlink-packet-route/src/rtnl/link/buffer.rs constant LINK_HEADER_LEN (line 8) | pub const LINK_HEADER_LEN: usize = 16; function nlas (line 21) | pub fn nlas(&self) -> impl Iterator, D... FILE: netlink-packet-route/src/rtnl/link/header.rs type LinkHeader (line 30) | pub struct LinkHeader { method parse (line 63) | fn parse(buf: &LinkMessageBuffer) -> Result { method buffer_len (line 48) | fn buffer_len(&self) -> usize { method emit (line 52) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-route/src/rtnl/link/message.rs type LinkMessage (line 14) | pub struct LinkMessage { method parse (line 33) | fn parse(buf: &LinkMessageBuffer<&'a T>) -> Result { method buffer_len (line 20) | fn buffer_len(&self) -> usize { method emit (line 24) | fn emit(&self, buffer: &mut [u8]) { function parse_with_param (line 43) | fn parse_with_param(buf: &LinkMessageBuffer<&'a T>, family: u16) -> Resu... function parse_with_param (line 53) | fn parse_with_param(buf: &LinkMessageBuffer<&'a T>, family: u8) -> Resul... function packet_header_read (line 97) | fn packet_header_read() { function packet_header_build (line 108) | fn packet_header_build() { function packet_nlas_read (line 123) | fn packet_nlas_read() { function emit (line 204) | fn emit() { FILE: netlink-packet-route/src/rtnl/link/nlas/af_spec_bridge.rs type AfSpecBridge (line 18) | pub enum AfSpecBridge { method value_len (line 25) | fn value_len(&self) -> usize { method emit_value (line 34) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 45) | fn kind(&self) -> u16 { method parse (line 56) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { type BridgeVlanInfo (line 73) | pub struct BridgeVlanInfo { type Error (line 88) | type Error = DecodeError; method try_from (line 89) | fn try_from(raw: &[u8]) -> Result { function from (line 79) | fn from(d: &BridgeVlanInfo) -> Self { FILE: netlink-packet-route/src/rtnl/link/nlas/af_spec_inet.rs type AfSpecInet (line 14) | pub enum AfSpecInet { method value_len (line 57) | fn value_len(&self) -> usize { method emit_value (line 103) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 148) | fn kind(&self) -> u16 { method parse (line 194) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { FILE: netlink-packet-route/src/rtnl/link/nlas/bond.rs type BondAdInfo (line 19) | pub enum BondAdInfo { method parse (line 59) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 28) | fn value_len(&self) -> usize { method kind (line 36) | fn kind(&self) -> u16 { method emit_value (line 47) | fn emit_value(&self, buffer: &mut [u8]) { type BondIpAddrNla (line 87) | struct BondIpAddrNla { type BondIpAddrNlaList (line 92) | struct BondIpAddrNlaList(Vec); method from (line 103) | fn from(addrs: &Vec) -> Self { method from (line 117) | fn from(addrs: &Vec) -> Self { type Target (line 95) | type Target = Vec; method deref (line 97) | fn deref(&self) -> &Self::Target { method value_len (line 131) | fn value_len(&self) -> usize { method emit_value (line 138) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 144) | fn kind(&self) -> u16 { type InfoBond (line 150) | pub enum InfoBond { method parse (line 318) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 186) | fn value_len(&self) -> usize { method emit_value (line 234) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 278) | fn kind(&self) -> u16 { FILE: netlink-packet-route/src/rtnl/link/nlas/inet/dev_conf.rs constant DEV_CONF_LEN (line 8) | pub const DEV_CONF_LEN: usize = 124; type InetDevConf (line 45) | pub struct InetDevConf { method parse (line 80) | fn parse(buf: &InetDevConfBuffer) -> Result { method buffer_len (line 118) | fn buffer_len(&self) -> usize { method emit (line 122) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-route/src/rtnl/link/nlas/inet/mod.rs type Inet (line 16) | pub enum Inet { method parse (line 52) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 23) | fn value_len(&self) -> usize { method emit_value (line 32) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 41) | fn kind(&self) -> u16 { FILE: netlink-packet-route/src/rtnl/link/nlas/inet6/cache.rs type Inet6CacheInfo (line 9) | pub struct Inet6CacheInfo { method parse (line 25) | fn parse(buf: &Inet6CacheInfoBuffer) -> Result { constant LINK_INET6_CACHE_INFO_LEN (line 16) | pub const LINK_INET6_CACHE_INFO_LEN: usize = 16; method buffer_len (line 36) | fn buffer_len(&self) -> usize { method emit (line 40) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-route/src/rtnl/link/nlas/inet6/dev_conf.rs constant LINK_INET6_DEV_CONF_LEN (line 8) | pub const LINK_INET6_DEV_CONF_LEN: usize = 204; method buffer_len (line 122) | fn buffer_len(&self) -> usize { method emit (line 126) | fn emit(&self, buffer: &mut [u8]) { type Inet6DevConf (line 183) | pub struct Inet6DevConf { method parse (line 64) | fn parse(buf: &Inet6DevConfBuffer) -> Result { FILE: netlink-packet-route/src/rtnl/link/nlas/inet6/icmp6_stats.rs type Icmp6Stats (line 9) | pub struct Icmp6Stats { method parse (line 29) | fn parse(buf: &Icmp6StatsBuffer) -> Result { constant ICMP6_STATS_LEN (line 18) | pub const ICMP6_STATS_LEN: usize = 48; method buffer_len (line 42) | fn buffer_len(&self) -> usize { method emit (line 46) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-route/src/rtnl/link/nlas/inet6/mod.rs type Inet6 (line 24) | pub enum Inet6 { method parse (line 84) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 37) | fn value_len(&self) -> usize { method emit_value (line 52) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 67) | fn kind(&self) -> u16 { FILE: netlink-packet-route/src/rtnl/link/nlas/inet6/stats.rs constant INET6_STATS_LEN (line 8) | pub const INET6_STATS_LEN: usize = 288; type Inet6Stats (line 49) | pub struct Inet6Stats { method parse (line 89) | fn parse(buf: &Inet6StatsBuffer) -> Result { method buffer_len (line 132) | fn buffer_len(&self) -> usize { method emit (line 136) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-route/src/rtnl/link/nlas/link_infos.rs constant DUMMY (line 17) | const DUMMY: &str = "dummy"; constant IFB (line 18) | const IFB: &str = "ifb"; constant BRIDGE (line 19) | const BRIDGE: &str = "bridge"; constant TUN (line 20) | const TUN: &str = "tun"; constant NLMON (line 21) | const NLMON: &str = "nlmon"; constant VLAN (line 22) | const VLAN: &str = "vlan"; constant VETH (line 23) | const VETH: &str = "veth"; constant VXLAN (line 24) | const VXLAN: &str = "vxlan"; constant BOND (line 25) | const BOND: &str = "bond"; constant IPVLAN (line 26) | const IPVLAN: &str = "ipvlan"; constant MACVLAN (line 27) | const MACVLAN: &str = "macvlan"; constant MACVTAP (line 28) | const MACVTAP: &str = "macvtap"; constant GRETAP (line 29) | const GRETAP: &str = "gretap"; constant IP6GRETAP (line 30) | const IP6GRETAP: &str = "ip6gretap"; constant IPIP (line 31) | const IPIP: &str = "ipip"; constant SIT (line 32) | const SIT: &str = "sit"; constant GRE (line 33) | const GRE: &str = "gre"; constant IP6GRE (line 34) | const IP6GRE: &str = "ip6gre"; constant VTI (line 35) | const VTI: &str = "vti"; constant VRF (line 36) | const VRF: &str = "vrf"; constant GTP (line 37) | const GTP: &str = "gtp"; constant IPOIB (line 38) | const IPOIB: &str = "ipoib"; constant WIREGUARD (line 39) | const WIREGUARD: &str = "wireguard"; type Info (line 42) | pub enum Info { method value_len (line 53) | fn value_len(&self) -> usize { method emit_value (line 67) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 80) | fn kind(&self) -> u16 { type VecInfo (line 93) | pub(crate) struct VecInfo(pub(crate) Vec); method parse (line 106) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { type InfoData (line 261) | pub enum InfoData { method value_len (line 290) | fn value_len(&self) -> usize { method emit_value (line 322) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 353) | fn kind(&self) -> u16 { type InfoKind (line 359) | pub enum InfoKind { method parse (line 456) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 387) | fn value_len(&self) -> usize { method emit_value (line 418) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 450) | fn kind(&self) -> u16 { type InfoVxlan (line 495) | pub enum InfoVxlan { method parse (line 651) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 530) | fn value_len(&self) -> usize { method emit_value (line 570) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 612) | fn kind(&self) -> u16 { type InfoVlan (line 731) | pub enum InfoVlan { method parse (line 788) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 742) | fn value_len(&self) -> usize { method emit_value (line 755) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 774) | fn kind(&self) -> u16 { type InfoBridge (line 814) | pub enum InfoBridge { method parse (line 1063) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 869) | fn value_len(&self) -> usize { method emit_value (line 934) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 1007) | fn kind(&self) -> u16 { type InfoIpoib (line 1218) | pub enum InfoIpoib { method parse (line 1260) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 1227) | fn value_len(&self) -> usize { method emit_value (line 1236) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 1247) | fn kind(&self) -> u16 { type VethInfo (line 1276) | pub enum VethInfo { method parse (line 1312) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 1283) | fn value_len(&self) -> usize { method emit_value (line 1292) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 1301) | fn kind(&self) -> u16 { type InfoIpVlan (line 1328) | pub enum InfoIpVlan { method parse (line 1367) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 1336) | fn value_len(&self) -> usize { method emit_value (line 1345) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 1355) | fn kind(&self) -> u16 { type InfoVrf (line 1382) | pub enum InfoVrf { method parse (line 1414) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 1388) | fn value_len(&self) -> usize { method emit_value (line 1396) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 1404) | fn kind(&self) -> u16 { type InfoMacVlan (line 1425) | pub enum InfoMacVlan { method parse (line 1481) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 1437) | fn value_len(&self) -> usize { method emit_value (line 1451) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 1465) | fn kind(&self) -> u16 { type InfoMacVtap (line 1517) | pub enum InfoMacVtap { method parse (line 1573) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 1529) | fn value_len(&self) -> usize { method emit_value (line 1543) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 1557) | fn kind(&self) -> u16 { function parse_info_kind (line 1880) | fn parse_info_kind() { function parse_info_bridge (line 1887) | fn parse_info_bridge() { function parse_veth_info (line 1896) | fn parse_veth_info() { function parse_info_bond (line 1946) | fn parse_info_bond() { function parse_info_ipvlan (line 2062) | fn parse_info_ipvlan() { function emit_info_ipvlan (line 2073) | fn emit_info_ipvlan() { function parse_info_macvlan (line 2105) | fn parse_info_macvlan() { function emit_info_macvlan (line 2116) | fn emit_info_macvlan() { function parse_info_macvlan_source_set (line 2180) | fn parse_info_macvlan_source_set() { function emit_info_macvlan_source_set (line 2191) | fn emit_info_macvlan_source_set() { function parse (line 2205) | fn parse() { function emit (line 2224) | fn emit() { FILE: netlink-packet-route/src/rtnl/link/nlas/link_state.rs type State (line 6) | pub enum State { method from (line 27) | fn from(value: u8) -> Self { function from (line 43) | fn from(value: State) -> Self { FILE: netlink-packet-route/src/rtnl/link/nlas/map.rs constant LINK_MAP_LEN (line 8) | pub const LINK_MAP_LEN: usize = 28; type Map (line 19) | pub struct Map { method parse (line 29) | fn parse(buf: &MapBuffer) -> Result { method buffer_len (line 42) | fn buffer_len(&self) -> usize { method emit (line 46) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-route/src/rtnl/link/nlas/mod.rs type Nla (line 53) | pub enum Nla { method value_len (line 159) | fn value_len(&self) -> usize { method emit_value (line 237) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 322) | fn kind(&self) -> u16 { method parse_with_param (line 394) | fn parse_with_param( FILE: netlink-packet-route/src/rtnl/link/nlas/prop_list.rs type Prop (line 14) | pub enum Prop { method parse (line 51) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 21) | fn value_len(&self) -> usize { method emit_value (line 30) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 41) | fn kind(&self) -> u16 { FILE: netlink-packet-route/src/rtnl/link/nlas/stats.rs type Stats (line 9) | pub struct Stats { method parse (line 88) | fn parse(buf: &StatsBuffer) -> Result { constant LINK_STATS_LEN (line 58) | pub const LINK_STATS_LEN: usize = 96; method buffer_len (line 119) | fn buffer_len(&self) -> usize { method emit (line 123) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-route/src/rtnl/link/nlas/stats64.rs constant LINK_STATS64_LEN (line 8) | pub const LINK_STATS64_LEN: usize = 192; type Stats64 (line 37) | pub struct Stats64 { method parse (line 87) | fn parse(buf: &Stats64Buffer) -> Result { method buffer_len (line 118) | fn buffer_len(&self) -> usize { method emit (line 122) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-route/src/rtnl/link/nlas/tests.rs function get_nlas (line 175) | fn get_nlas() -> impl Iterator, D... function get_byte_buffer (line 179) | fn get_byte_buffer(nla: &dyn Emitable) -> Vec { function af_spec_header (line 336) | fn af_spec_header() { function parse_af_inet (line 342) | fn parse_af_inet() { function emit_af_inet (line 358) | fn emit_af_inet() { function emit_af_inet6 (line 378) | fn emit_af_inet6() { function parse_af_inet6 (line 398) | fn parse_af_inet6() { FILE: netlink-packet-route/src/rtnl/message.rs type RtnlMessage (line 23) | pub enum RtnlMessage { method is_new_link (line 63) | pub fn is_new_link(&self) -> bool { method is_del_link (line 67) | pub fn is_del_link(&self) -> bool { method is_get_link (line 71) | pub fn is_get_link(&self) -> bool { method is_set_link (line 75) | pub fn is_set_link(&self) -> bool { method is_new_address (line 79) | pub fn is_new_address(&self) -> bool { method is_del_address (line 83) | pub fn is_del_address(&self) -> bool { method is_get_address (line 87) | pub fn is_get_address(&self) -> bool { method is_get_neighbour (line 91) | pub fn is_get_neighbour(&self) -> bool { method is_new_route (line 95) | pub fn is_new_route(&self) -> bool { method is_new_neighbour (line 99) | pub fn is_new_neighbour(&self) -> bool { method is_get_route (line 103) | pub fn is_get_route(&self) -> bool { method is_del_neighbour (line 107) | pub fn is_del_neighbour(&self) -> bool { method is_new_neighbour_table (line 111) | pub fn is_new_neighbour_table(&self) -> bool { method is_get_neighbour_table (line 115) | pub fn is_get_neighbour_table(&self) -> bool { method is_set_neighbour_table (line 119) | pub fn is_set_neighbour_table(&self) -> bool { method is_del_route (line 123) | pub fn is_del_route(&self) -> bool { method is_new_qdisc (line 127) | pub fn is_new_qdisc(&self) -> bool { method is_del_qdisc (line 131) | pub fn is_del_qdisc(&self) -> bool { method is_get_qdisc (line 135) | pub fn is_get_qdisc(&self) -> bool { method is_new_class (line 139) | pub fn is_new_class(&self) -> bool { method is_del_class (line 143) | pub fn is_del_class(&self) -> bool { method is_get_class (line 147) | pub fn is_get_class(&self) -> bool { method is_new_filter (line 151) | pub fn is_new_filter(&self) -> bool { method is_del_filter (line 155) | pub fn is_del_filter(&self) -> bool { method is_get_filter (line 159) | pub fn is_get_filter(&self) -> bool { method is_new_chain (line 163) | pub fn is_new_chain(&self) -> bool { method is_del_chain (line 167) | pub fn is_del_chain(&self) -> bool { method is_get_chain (line 171) | pub fn is_get_chain(&self) -> bool { method is_new_nsid (line 175) | pub fn is_new_nsid(&self) -> bool { method is_get_nsid (line 179) | pub fn is_get_nsid(&self) -> bool { method is_del_nsid (line 183) | pub fn is_del_nsid(&self) -> bool { method is_get_rule (line 187) | pub fn is_get_rule(&self) -> bool { method is_new_rule (line 191) | pub fn is_new_rule(&self) -> bool { method is_del_rule (line 195) | pub fn is_del_rule(&self) -> bool { method message_type (line 199) | pub fn message_type(&self) -> u16 { method buffer_len (line 245) | fn buffer_len(&self) -> usize { method emit (line 303) | fn emit(&self, buffer: &mut [u8]) { method message_type (line 362) | fn message_type(&self) -> u16 { method buffer_len (line 366) | fn buffer_len(&self) -> usize { method serialize (line 370) | fn serialize(&self, buffer: &mut [u8]) { type Error (line 376) | type Error = DecodeError; method deserialize (line 377) | fn deserialize(header: &NetlinkHeader, payload: &[u8]) -> Result Self { FILE: netlink-packet-route/src/rtnl/neighbour/buffer.rs constant NEIGHBOUR_HEADER_LEN (line 8) | pub const NEIGHBOUR_HEADER_LEN: usize = 12; function nlas (line 19) | pub fn nlas(&self) -> impl Iterator, D... FILE: netlink-packet-route/src/rtnl/neighbour/header.rs type NeighbourHeader (line 25) | pub struct NeighbourHeader { method parse (line 40) | fn parse(buf: &NeighbourMessageBuffer) -> Result { method buffer_len (line 52) | fn buffer_len(&self) -> usize { method emit (line 56) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-route/src/rtnl/neighbour/message.rs type NeighbourMessage (line 14) | pub struct NeighbourMessage { method parse (line 33) | fn parse(buf: &NeighbourMessageBuffer<&'a T>) -> Result usize { method emit (line 24) | fn emit(&self, buffer: &mut [u8]) { function parse (line 43) | fn parse(buf: &NeighbourMessageBuffer<&'a T>) -> Result) -> Result { constant NEIGHBOUR_CACHE_INFO_LEN (line 16) | pub const NEIGHBOUR_CACHE_INFO_LEN: usize = 16; method buffer_len (line 37) | fn buffer_len(&self) -> usize { method emit (line 41) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-route/src/rtnl/neighbour/nlas/mod.rs type Nla (line 18) | pub enum Nla { method value_len (line 36) | fn value_len(&self) -> usize { method emit_value (line 56) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 75) | fn kind(&self) -> u16 { method parse (line 96) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { FILE: netlink-packet-route/src/rtnl/neighbour_table/buffer.rs constant NEIGHBOUR_TABLE_HEADER_LEN (line 8) | pub const NEIGHBOUR_TABLE_HEADER_LEN: usize = 4; function nlas (line 16) | pub fn nlas(&self) -> impl Iterator, D... FILE: netlink-packet-route/src/rtnl/neighbour_table/header.rs type NeighbourTableHeader (line 11) | pub struct NeighbourTableHeader { method parse (line 16) | fn parse(buf: &NeighbourTableMessageBuffer) -> Result usize { method emit (line 28) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-route/src/rtnl/neighbour_table/message.rs type NeighbourTableMessage (line 13) | pub struct NeighbourTableMessage { method parse (line 32) | fn parse(buf: &NeighbourTableMessageBuffer<&'a T>) -> Result usize { method emit (line 23) | fn emit(&self, buffer: &mut [u8]) { function parse (line 42) | fn parse(buf: &NeighbourTableMessageBuffer<&'a T>) -> Result) -> Result { constant CONFIG_LEN (line 21) | pub const CONFIG_LEN: usize = 32; method buffer_len (line 52) | fn buffer_len(&self) -> usize { method emit (line 56) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-route/src/rtnl/neighbour_table/nlas/mod.rs type Nla (line 21) | pub enum Nla { method value_len (line 37) | fn value_len(&self) -> usize { method emit_value (line 49) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 67) | fn kind(&self) -> u16 { method parse (line 85) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { FILE: netlink-packet-route/src/rtnl/neighbour_table/nlas/stats.rs type Stats (line 9) | pub struct Stats { method parse (line 37) | fn parse(buf: &StatsBuffer) -> Result { constant STATS_LEN (line 22) | pub const STATS_LEN: usize = 80; method buffer_len (line 54) | fn buffer_len(&self) -> usize { method emit (line 58) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-route/src/rtnl/nsid/buffer.rs constant NSID_HEADER_LEN (line 8) | pub const NSID_HEADER_LEN: usize = 4; function nlas (line 16) | pub fn nlas(&self) -> impl Iterator, D... FILE: netlink-packet-route/src/rtnl/nsid/header.rs type NsidHeader (line 10) | pub struct NsidHeader { method parse (line 26) | fn parse(buf: &NsidMessageBuffer) -> Result { method buffer_len (line 15) | fn buffer_len(&self) -> usize { method emit (line 19) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-route/src/rtnl/nsid/message.rs type NsidMessage (line 14) | pub struct NsidMessage { method parse (line 20) | fn parse(buf: &NsidMessageBuffer<&'a T>) -> Result { function parse (line 29) | fn parse(buf: &NsidMessageBuffer<&'a T>) -> Result { method buffer_len (line 39) | fn buffer_len(&self) -> usize { method emit (line 43) | fn emit(&self, buffer: &mut [u8]) { function get_ns_id_request (line 68) | fn get_ns_id_request() { function get_ns_id_response (line 94) | fn get_ns_id_response() { FILE: netlink-packet-route/src/rtnl/nsid/nlas.rs type Nla (line 15) | pub enum Nla { method value_len (line 24) | fn value_len(&self) -> usize { method emit_value (line 33) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 43) | fn kind(&self) -> u16 { method parse (line 56) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { FILE: netlink-packet-route/src/rtnl/route/buffer.rs constant ROUTE_HEADER_LEN (line 8) | pub const ROUTE_HEADER_LEN: usize = 12; function nlas (line 24) | pub fn nlas(&self) -> impl Iterator, D... FILE: netlink-packet-route/src/rtnl/route/header.rs method default (line 38) | fn default() -> Self { type RouteHeader (line 87) | pub struct RouteHeader { method parse (line 135) | fn parse(buf: &RouteMessageBuffer<&'a T>) -> Result { method buffer_len (line 151) | fn buffer_len(&self) -> usize { method emit (line 155) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-route/src/rtnl/route/message.rs type RouteMessage (line 14) | pub struct RouteMessage { method parse (line 33) | fn parse(buf: &RouteMessageBuffer<&'a T>) -> Result { method input_interface (line 67) | pub fn input_interface(&self) -> Option { method output_interface (line 78) | pub fn output_interface(&self) -> Option { method source_prefix (line 89) | pub fn source_prefix(&self) -> Option<(IpAddr, u8)> { method destination_prefix (line 102) | pub fn destination_prefix(&self) -> Option<(IpAddr, u8)> { method gateway (line 115) | pub fn gateway(&self) -> Option { method buffer_len (line 20) | fn buffer_len(&self) -> usize { method emit (line 24) | fn emit(&self, buffer: &mut [u8]) { function parse (line 42) | fn parse(buf: &RouteMessageBuffer<&'a T>) -> Result { function octets_to_addr (line 51) | fn octets_to_addr(octets: &[u8]) -> Result { FILE: netlink-packet-route/src/rtnl/route/nlas/cache_info.rs type CacheInfo (line 9) | pub struct CacheInfo { method parse (line 34) | fn parse(buf: &CacheInfoBuffer) -> Result { constant CACHE_INFO_LEN (line 20) | pub const CACHE_INFO_LEN: usize = 32; method buffer_len (line 49) | fn buffer_len(&self) -> usize { method emit (line 53) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-route/src/rtnl/route/nlas/metrics.rs type Metrics (line 16) | pub enum Metrics { method parse (line 122) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 40) | fn value_len(&self) -> usize { method emit_value (line 67) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 95) | fn kind(&self) -> u16 { FILE: netlink-packet-route/src/rtnl/route/nlas/mfc_stats.rs type MfcStats (line 9) | pub struct MfcStats { method parse (line 24) | fn parse(buf: &MfcStatsBuffer) -> Result { constant MFC_STATS_LEN (line 15) | pub const MFC_STATS_LEN: usize = 24; method buffer_len (line 34) | fn buffer_len(&self) -> usize { method emit (line 38) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-route/src/rtnl/route/nlas/mod.rs type Nla (line 35) | pub enum Nla { method value_len (line 81) | fn value_len(&self) -> usize { method emit_value (line 132) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 188) | fn kind(&self) -> u16 { method parse (line 224) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { FILE: netlink-packet-route/src/rtnl/route/nlas/mpls_ip_tunnel.rs type MplsIpTunnel (line 14) | pub enum MplsIpTunnel { method parse (line 50) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 21) | fn value_len(&self) -> usize { method kind (line 30) | fn kind(&self) -> u16 { method emit_value (line 39) | fn emit_value(&self, buffer: &mut [u8]) { FILE: netlink-packet-route/src/rtnl/route/nlas/next_hops.rs constant PAYLOAD_OFFSET (line 27) | const PAYLOAD_OFFSET: usize = 8; function new_checked (line 38) | pub fn new_checked(buffer: T) -> Result { function check_buffer_length (line 44) | fn check_buffer_length(&self) -> Result<(), DecodeError> { function nlas (line 64) | pub fn nlas(&self) -> impl Iterator, D... type NextHop (line 70) | pub struct NextHop { method parse (line 82) | fn parse(buf: &NextHopBuffer<&T>) -> Result { method gateway (line 125) | pub fn gateway(&self) -> Option { function parse (line 98) | fn parse(buf: &NextHopBuffer<&'a T>) -> Result { method buffer_len (line 108) | fn buffer_len(&self) -> usize { method emit (line 113) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-route/src/rtnl/route/test.rs function route_message (line 67) | fn route_message() -> RouteMessage { function parse_message_with_multipath_nla (line 109) | fn parse_message_with_multipath_nla() { function emit_message_with_multipath_nla (line 118) | fn emit_message_with_multipath_nla() { FILE: netlink-packet-route/src/rtnl/rule/buffer.rs constant RULE_HEADER_LEN (line 8) | pub const RULE_HEADER_LEN: usize = 12; function nlas (line 24) | pub fn nlas(&self) -> impl Iterator, D... FILE: netlink-packet-route/src/rtnl/rule/header.rs method default (line 23) | fn default() -> Self { type RuleHeader (line 31) | pub struct RuleHeader { method parse (line 63) | fn parse(buf: &RuleMessageBuffer<&'a T>) -> Result { method buffer_len (line 46) | fn buffer_len(&self) -> usize { method emit (line 50) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-route/src/rtnl/rule/message.rs type RuleMessage (line 11) | pub struct RuleMessage { method parse (line 30) | fn parse(buf: &RuleMessageBuffer<&'a T>) -> Result { method buffer_len (line 17) | fn buffer_len(&self) -> usize { method emit (line 21) | fn emit(&self, buffer: &mut [u8]) { function parse (line 38) | fn parse(buf: &RuleMessageBuffer<&'a T>) -> Result { FILE: netlink-packet-route/src/rtnl/rule/nlas/mod.rs type Nla (line 38) | pub enum Nla { method value_len (line 73) | fn value_len(&self) -> usize { method kind (line 91) | fn kind(&self) -> u16 { method emit_value (line 119) | fn emit_value(&self, buffer: &mut [u8]) { method parse (line 147) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { FILE: netlink-packet-route/src/rtnl/tc/buffer.rs constant TC_HEADER_LEN (line 8) | pub const TC_HEADER_LEN: usize = 20; function nlas (line 22) | pub fn nlas(&self) -> impl Iterator, D... FILE: netlink-packet-route/src/rtnl/tc/constants.rs constant TC_H_MAJ_MASK (line 4) | pub const TC_H_MAJ_MASK: u32 = 0xFFFF0000; constant TC_H_MIN_MASK (line 5) | pub const TC_H_MIN_MASK: u32 = 0x0000FFFF; constant TC_H_UNSPEC (line 14) | pub const TC_H_UNSPEC: u32 = 0; constant TC_H_ROOT (line 15) | pub const TC_H_ROOT: u32 = 0xFFFFFFFF; constant TC_H_INGRESS (line 16) | pub const TC_H_INGRESS: u32 = 0xFFFFFFF1; constant TC_H_CLSACT (line 17) | pub const TC_H_CLSACT: u32 = TC_H_INGRESS; constant TC_H_MIN_PRIORITY (line 19) | pub const TC_H_MIN_PRIORITY: u32 = 0xFFE0; constant TC_H_MIN_INGRESS (line 20) | pub const TC_H_MIN_INGRESS: u32 = 0xFFF2; constant TC_H_MIN_EGRESS (line 21) | pub const TC_H_MIN_EGRESS: u32 = 0xFFF3; constant TCA_U32_UNSPEC (line 24) | pub const TCA_U32_UNSPEC: u16 = 0; constant TCA_U32_CLASSID (line 25) | pub const TCA_U32_CLASSID: u16 = 1; constant TCA_U32_HASH (line 26) | pub const TCA_U32_HASH: u16 = 2; constant TCA_U32_LINK (line 27) | pub const TCA_U32_LINK: u16 = 3; constant TCA_U32_DIVISOR (line 28) | pub const TCA_U32_DIVISOR: u16 = 4; constant TCA_U32_SEL (line 29) | pub const TCA_U32_SEL: u16 = 5; constant TCA_U32_POLICE (line 30) | pub const TCA_U32_POLICE: u16 = 6; constant TCA_U32_ACT (line 31) | pub const TCA_U32_ACT: u16 = 7; constant TCA_U32_INDEV (line 32) | pub const TCA_U32_INDEV: u16 = 8; constant TCA_U32_PCNT (line 33) | pub const TCA_U32_PCNT: u16 = 9; constant TCA_U32_MARK (line 34) | pub const TCA_U32_MARK: u16 = 10; constant TCA_U32_FLAGS (line 35) | pub const TCA_U32_FLAGS: u16 = 11; constant TCA_U32_PAD (line 36) | pub const TCA_U32_PAD: u16 = 12; constant TCA_U32_MAX (line 37) | pub const TCA_U32_MAX: u16 = TCA_U32_PAD; constant TC_U32_TERMINAL (line 40) | pub const TC_U32_TERMINAL: u8 = 1; constant TC_U32_OFFSET (line 41) | pub const TC_U32_OFFSET: u8 = 2; constant TC_U32_VAROFFSET (line 42) | pub const TC_U32_VAROFFSET: u8 = 4; constant TC_U32_EAT (line 43) | pub const TC_U32_EAT: u8 = 8; constant TC_U32_MAXDEPTH (line 44) | pub const TC_U32_MAXDEPTH: u8 = 8; constant TCA_ACT_UNSPEC (line 47) | pub const TCA_ACT_UNSPEC: u16 = 0; constant TCA_ACT_KIND (line 48) | pub const TCA_ACT_KIND: u16 = 1; constant TCA_ACT_OPTIONS (line 49) | pub const TCA_ACT_OPTIONS: u16 = 2; constant TCA_ACT_INDEX (line 50) | pub const TCA_ACT_INDEX: u16 = 3; constant TCA_ACT_STATS (line 51) | pub const TCA_ACT_STATS: u16 = 4; constant TCA_ACT_PAD (line 52) | pub const TCA_ACT_PAD: u16 = 5; constant TCA_ACT_COOKIE (line 53) | pub const TCA_ACT_COOKIE: u16 = 6; constant TCA_ACT_MAX (line 56) | pub const TCA_ACT_MAX: u16 = 7; constant TCA_OLD_COMPAT (line 57) | pub const TCA_OLD_COMPAT: u16 = TCA_ACT_MAX + 1; constant TCA_ACT_MAX_PRIO (line 58) | pub const TCA_ACT_MAX_PRIO: u16 = 32; constant TCA_ACT_BIND (line 59) | pub const TCA_ACT_BIND: u16 = 1; constant TCA_ACT_NOBIND (line 60) | pub const TCA_ACT_NOBIND: u16 = 0; constant TCA_ACT_UNBIND (line 61) | pub const TCA_ACT_UNBIND: u16 = 1; constant TCA_ACT_NOUNBIND (line 62) | pub const TCA_ACT_NOUNBIND: u16 = 0; constant TCA_ACT_REPLACE (line 63) | pub const TCA_ACT_REPLACE: u16 = 1; constant TCA_ACT_NOREPLACE (line 64) | pub const TCA_ACT_NOREPLACE: u16 = 0; constant TC_ACT_UNSPEC (line 66) | pub const TC_ACT_UNSPEC: i32 = -1; constant TC_ACT_OK (line 67) | pub const TC_ACT_OK: i32 = 0; constant TC_ACT_RECLASSIFY (line 68) | pub const TC_ACT_RECLASSIFY: i32 = 1; constant TC_ACT_SHOT (line 69) | pub const TC_ACT_SHOT: i32 = 2; constant TC_ACT_PIPE (line 70) | pub const TC_ACT_PIPE: i32 = 3; constant TC_ACT_STOLEN (line 71) | pub const TC_ACT_STOLEN: i32 = 4; constant TC_ACT_QUEUED (line 72) | pub const TC_ACT_QUEUED: i32 = 5; constant TC_ACT_REPEAT (line 73) | pub const TC_ACT_REPEAT: i32 = 6; constant TC_ACT_REDIRECT (line 74) | pub const TC_ACT_REDIRECT: i32 = 7; constant TC_ACT_TRAP (line 75) | pub const TC_ACT_TRAP: i32 = 8; constant TC_ACT_VALUE_MAX (line 77) | pub const TC_ACT_VALUE_MAX: i32 = TC_ACT_TRAP; constant TC_ACT_JUMP (line 79) | pub const TC_ACT_JUMP: i32 = 0x10000000; constant TCA_ACT_TAB (line 81) | pub const TCA_ACT_TAB: u16 = 1; constant TCAA_MAX (line 82) | pub const TCAA_MAX: u16 = 1; constant TCA_MIRRED_UNSPEC (line 85) | pub const TCA_MIRRED_UNSPEC: u16 = 0; constant TCA_MIRRED_TM (line 86) | pub const TCA_MIRRED_TM: u16 = 1; constant TCA_MIRRED_PARMS (line 87) | pub const TCA_MIRRED_PARMS: u16 = 2; constant TCA_MIRRED_PAD (line 88) | pub const TCA_MIRRED_PAD: u16 = 3; constant TCA_MIRRED_MAX (line 89) | pub const TCA_MIRRED_MAX: u16 = TCA_MIRRED_PAD; constant TCA_EGRESS_REDIR (line 91) | pub const TCA_EGRESS_REDIR: i32 = 1; constant TCA_EGRESS_MIRROR (line 92) | pub const TCA_EGRESS_MIRROR: i32 = 2; constant TCA_INGRESS_REDIR (line 93) | pub const TCA_INGRESS_REDIR: i32 = 3; constant TCA_INGRESS_MIRROR (line 94) | pub const TCA_INGRESS_MIRROR: i32 = 4; FILE: netlink-packet-route/src/rtnl/tc/message.rs type TcMessage (line 20) | pub struct TcMessage { method into_parts (line 26) | pub fn into_parts(self) -> (TcHeader, Vec) { method from_parts (line 30) | pub fn from_parts(header: TcHeader, nlas: Vec) -> Self { method with_index (line 35) | pub fn with_index(index: i32) -> Self { method parse (line 99) | fn parse(buf: &TcMessageBuffer<&'a T>) -> Result { type TcHeader (line 47) | pub struct TcHeader { method parse (line 87) | fn parse(buf: &TcMessageBuffer) -> Result { method buffer_len (line 59) | fn buffer_len(&self) -> usize { method emit (line 63) | fn emit(&self, buffer: &mut [u8]) { method buffer_len (line 74) | fn buffer_len(&self) -> usize { method emit (line 78) | fn emit(&self, buffer: &mut [u8]) { function parse (line 108) | fn parse(buf: &TcMessageBuffer<&'a T>) -> Result { FILE: netlink-packet-route/src/rtnl/tc/nlas/action/mirred.rs constant KIND (line 16) | pub const KIND: &str = "mirred"; constant TC_MIRRED_BUF_LEN (line 17) | pub const TC_MIRRED_BUF_LEN: usize = TC_GEN_BUF_LEN + 8; type Nla (line 20) | pub enum Nla { method value_len (line 28) | fn value_len(&self) -> usize { method emit_value (line 37) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 45) | fn kind(&self) -> u16 { method parse (line 57) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { type TcMirred (line 70) | pub struct TcMirred { method parse (line 110) | fn parse(buf: &TcMirredBuffer) -> Result { method buffer_len (line 92) | fn buffer_len(&self) -> usize { method emit (line 96) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-route/src/rtnl/tc/nlas/action/mod.rs constant TC_GEN_BUF_LEN (line 16) | pub const TC_GEN_BUF_LEN: usize = 20; type Action (line 19) | pub struct Action { method value_len (line 34) | fn value_len(&self) -> usize { method emit_value (line 38) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 42) | fn kind(&self) -> u16 { method parse (line 48) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method default (line 25) | fn default() -> Self { type ActNla (line 95) | pub enum ActNla { method value_len (line 106) | fn value_len(&self) -> usize { method emit_value (line 117) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 131) | fn kind(&self) -> u16 { type ActOpt (line 146) | pub enum ActOpt { method value_len (line 153) | fn value_len(&self) -> usize { method emit_value (line 161) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 169) | fn kind(&self) -> u16 { method parse_with_param (line 183) | fn parse_with_param(buf: &NlaBuffer<&'a T>, kind: S) -> Result) -> Result { method buffer_len (line 211) | fn buffer_len(&self) -> usize { method emit (line 215) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-route/src/rtnl/tc/nlas/filter/u32.rs constant KIND (line 20) | pub const KIND: &str = "u32"; constant U32_SEL_BUF_LEN (line 22) | const U32_SEL_BUF_LEN: usize = 16; constant U32_KEY_BUF_LEN (line 23) | const U32_KEY_BUF_LEN: usize = 16; type Nla (line 26) | pub enum Nla { method value_len (line 43) | fn value_len(&self) -> usize { method emit_value (line 54) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 69) | fn kind(&self) -> u16 { method parse (line 90) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { type Sel (line 126) | pub struct Sel { method parse (line 176) | fn parse(buf: &SelBuffer<&T>) -> Result { method buffer_len (line 152) | fn buffer_len(&self) -> usize { method emit (line 156) | fn emit(&self, buffer: &mut [u8]) { type Key (line 204) | pub struct Key { method parse (line 232) | fn parse(buf: &KeyBuffer) -> Result { method buffer_len (line 219) | fn buffer_len(&self) -> usize { method emit (line 222) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-route/src/rtnl/tc/nlas/mod.rs type Nla (line 35) | pub enum Nla { method value_len (line 58) | fn value_len(&self) -> usize { method emit_value (line 75) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 101) | fn kind(&self) -> u16 { type Stats2 (line 121) | pub enum Stats2 { method value_len (line 129) | fn value_len(&self) -> usize { method emit_value (line 137) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 147) | fn kind(&self) -> u16 { method parse (line 159) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { FILE: netlink-packet-route/src/rtnl/tc/nlas/options.rs type TcOpt (line 12) | pub enum TcOpt { method value_len (line 22) | fn value_len(&self) -> usize { method emit_value (line 30) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 38) | fn kind(&self) -> u16 { method parse_with_param (line 52) | fn parse_with_param(buf: &NlaBuffer<&'a T>, kind: S) -> Result) -> Result { constant STATS_LEN (line 27) | pub const STATS_LEN: usize = 36; method buffer_len (line 56) | fn buffer_len(&self) -> usize { method emit (line 60) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-route/src/rtnl/tc/nlas/stats_basic.rs type StatsBasic (line 10) | pub struct StatsBasic { method parse (line 25) | fn parse(buf: &StatsBasicBuffer) -> Result { constant STATS_BASIC_LEN (line 17) | pub const STATS_BASIC_LEN: usize = 12; method buffer_len (line 34) | fn buffer_len(&self) -> usize { method emit (line 38) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-route/src/rtnl/tc/nlas/stats_queue.rs type StatsQueue (line 10) | pub struct StatsQueue { method parse (line 34) | fn parse(buf: &StatsQueueBuffer) -> Result { constant STATS_QUEUE_LEN (line 23) | pub const STATS_QUEUE_LEN: usize = 20; method buffer_len (line 46) | fn buffer_len(&self) -> usize { method emit (line 50) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-route/src/rtnl/tc/nlas/test.rs function tc_filter_u32_read (line 92) | fn tc_filter_u32_read() { function tc_filter_u32_parse (line 123) | fn tc_filter_u32_parse() { function tc_filter_u32_emit (line 245) | fn tc_filter_u32_emit() { FILE: netlink-packet-route/src/rtnl/tc/test.rs function tc_packet_header_read (line 55) | fn tc_packet_header_read() { function tc_packet_header_build (line 65) | fn tc_packet_header_build() { function tc_packet_nlas_read (line 81) | fn tc_packet_nlas_read() { function tc_qdisc_ingress_emit (line 137) | fn tc_qdisc_ingress_emit() { function tc_qdisc_ingress_read (line 156) | fn tc_qdisc_ingress_read() { FILE: netlink-packet-route/src/rtnl/test.rs function test_non_null_terminated_string (line 23) | fn test_non_null_terminated_string() { function test_attach_to_bridge (line 67) | fn test_attach_to_bridge() { FILE: netlink-packet-sock-diag/examples/dump_ipv4.rs function main (line 13) | fn main() { FILE: netlink-packet-sock-diag/src/buffer.rs constant BUF_MIN_LEN (line 13) | const BUF_MIN_LEN: usize = 2; type SockDiagBuffer (line 15) | pub struct SockDiagBuffer { function new (line 20) | pub fn new(buffer: T) -> SockDiagBuffer { function length (line 24) | pub fn length(&self) -> usize { function new_checked (line 28) | pub fn new_checked(buffer: T) -> Result { function check_len (line 34) | pub(crate) fn check_len(&self) -> Result<(), DecodeError> { function family (line 46) | pub(crate) fn family(&self) -> u8 { function inner (line 52) | pub fn inner(&self) -> &'a [u8] { function inner_mut (line 58) | pub fn inner_mut(&mut self) -> &mut [u8] { method parse_with_param (line 64) | fn parse_with_param( FILE: netlink-packet-sock-diag/src/constants.rs constant SOCK_DIAG_BY_FAMILY (line 5) | pub const SOCK_DIAG_BY_FAMILY: u16 = 20; constant SOCK_DESTROY (line 6) | pub const SOCK_DESTROY: u16 = 21; constant AF_UNSPEC (line 8) | pub const AF_UNSPEC: u8 = libc::AF_UNSPEC as u8; constant AF_UNIX (line 9) | pub const AF_UNIX: u8 = libc::AF_UNIX as u8; constant AF_INET (line 11) | pub const AF_INET: u8 = libc::AF_INET as u8; constant AF_AX25 (line 12) | pub const AF_AX25: u8 = libc::AF_AX25 as u8; constant AF_IPX (line 13) | pub const AF_IPX: u8 = libc::AF_IPX as u8; constant AF_APPLETALK (line 14) | pub const AF_APPLETALK: u8 = libc::AF_APPLETALK as u8; constant AF_NETROM (line 15) | pub const AF_NETROM: u8 = libc::AF_NETROM as u8; constant AF_BRIDGE (line 16) | pub const AF_BRIDGE: u8 = libc::AF_BRIDGE as u8; constant AF_ATMPVC (line 17) | pub const AF_ATMPVC: u8 = libc::AF_ATMPVC as u8; constant AF_X25 (line 18) | pub const AF_X25: u8 = libc::AF_X25 as u8; constant AF_INET6 (line 19) | pub const AF_INET6: u8 = libc::AF_INET6 as u8; constant AF_ROSE (line 20) | pub const AF_ROSE: u8 = libc::AF_ROSE as u8; constant AF_DECNET (line 21) | pub const AF_DECNET: u8 = libc::AF_DECnet as u8; constant AF_NETBEUI (line 22) | pub const AF_NETBEUI: u8 = libc::AF_NETBEUI as u8; constant AF_SECURITY (line 23) | pub const AF_SECURITY: u8 = libc::AF_SECURITY as u8; constant AF_KEY (line 24) | pub const AF_KEY: u8 = libc::AF_KEY as u8; constant AF_NETLINK (line 25) | pub const AF_NETLINK: u8 = libc::AF_NETLINK as u8; constant AF_PACKET (line 27) | pub const AF_PACKET: u8 = libc::AF_PACKET as u8; constant AF_ASH (line 28) | pub const AF_ASH: u8 = libc::AF_ASH as u8; constant AF_ECONET (line 29) | pub const AF_ECONET: u8 = libc::AF_ECONET as u8; constant AF_ATMSVC (line 30) | pub const AF_ATMSVC: u8 = libc::AF_ATMSVC as u8; constant AF_RDS (line 31) | pub const AF_RDS: u8 = libc::AF_RDS as u8; constant AF_SNA (line 32) | pub const AF_SNA: u8 = libc::AF_SNA as u8; constant AF_IRDA (line 33) | pub const AF_IRDA: u8 = libc::AF_IRDA as u8; constant AF_PPPOX (line 34) | pub const AF_PPPOX: u8 = libc::AF_PPPOX as u8; constant AF_WANPIPE (line 35) | pub const AF_WANPIPE: u8 = libc::AF_WANPIPE as u8; constant AF_LLC (line 36) | pub const AF_LLC: u8 = libc::AF_LLC as u8; constant AF_CAN (line 37) | pub const AF_CAN: u8 = libc::AF_CAN as u8; constant AF_TIPC (line 38) | pub const AF_TIPC: u8 = libc::AF_TIPC as u8; constant AF_BLUETOOTH (line 39) | pub const AF_BLUETOOTH: u8 = libc::AF_BLUETOOTH as u8; constant AF_IUCV (line 40) | pub const AF_IUCV: u8 = libc::AF_IUCV as u8; constant AF_RXRPC (line 41) | pub const AF_RXRPC: u8 = libc::AF_RXRPC as u8; constant AF_ISDN (line 42) | pub const AF_ISDN: u8 = libc::AF_ISDN as u8; constant AF_PHONET (line 43) | pub const AF_PHONET: u8 = libc::AF_PHONET as u8; constant AF_IEEE802154 (line 44) | pub const AF_IEEE802154: u8 = libc::AF_IEEE802154 as u8; constant AF_CAIF (line 45) | pub const AF_CAIF: u8 = libc::AF_CAIF as u8; constant AF_ALG (line 46) | pub const AF_ALG: u8 = libc::AF_ALG as u8; constant IPPROTO_IP (line 49) | pub const IPPROTO_IP: u8 = 0; constant IPPROTO_ICMP (line 51) | pub const IPPROTO_ICMP: u8 = 1; constant IPPROTO_IGMP (line 53) | pub const IPPROTO_IGMP: u8 = 2; constant IPPROTO_IPIP (line 55) | pub const IPPROTO_IPIP: u8 = 4; constant IPPROTO_TCP (line 57) | pub const IPPROTO_TCP: u8 = 6; constant IPPROTO_EGP (line 59) | pub const IPPROTO_EGP: u8 = 8; constant IPPROTO_PUP (line 61) | pub const IPPROTO_PUP: u8 = 12; constant IPPROTO_UDP (line 63) | pub const IPPROTO_UDP: u8 = 17; constant IPPROTO_IDP (line 65) | pub const IPPROTO_IDP: u8 = 22; constant IPPROTO_TP (line 67) | pub const IPPROTO_TP: u8 = 29; constant IPPROTO_DCCP (line 69) | pub const IPPROTO_DCCP: u8 = 33; constant IPPROTO_IPV6 (line 71) | pub const IPPROTO_IPV6: u8 = 41; constant IPPROTO_RSVP (line 73) | pub const IPPROTO_RSVP: u8 = 46; constant IPPROTO_GRE (line 75) | pub const IPPROTO_GRE: u8 = 47; constant IPPROTO_ESP (line 77) | pub const IPPROTO_ESP: u8 = 50; constant IPPROTO_AH (line 79) | pub const IPPROTO_AH: u8 = 51; constant IPPROTO_MTP (line 81) | pub const IPPROTO_MTP: u8 = 92; constant IPPROTO_BEETPH (line 83) | pub const IPPROTO_BEETPH: u8 = 94; constant IPPROTO_ENCAP (line 85) | pub const IPPROTO_ENCAP: u8 = 98; constant IPPROTO_PIM (line 87) | pub const IPPROTO_PIM: u8 = 103; constant IPPROTO_COMP (line 89) | pub const IPPROTO_COMP: u8 = 108; constant IPPROTO_SCTP (line 91) | pub const IPPROTO_SCTP: u8 = 132; constant IPPROTO_UDPLITE (line 93) | pub const IPPROTO_UDPLITE: u8 = 136; constant IPPROTO_MPLS (line 95) | pub const IPPROTO_MPLS: u8 = 137; constant IPPROTO_RAW (line 97) | pub const IPPROTO_RAW: u8 = 255; constant IPPROTO_HOPOPTS (line 99) | pub const IPPROTO_HOPOPTS: u8 = 0; constant IPPROTO_ROUTING (line 101) | pub const IPPROTO_ROUTING: u8 = 43; constant IPPROTO_FRAGMENT (line 103) | pub const IPPROTO_FRAGMENT: u8 = 44; constant IPPROTO_ICMPV6 (line 105) | pub const IPPROTO_ICMPV6: u8 = 58; constant IPPROTO_NONE (line 107) | pub const IPPROTO_NONE: u8 = 59; constant IPPROTO_DSTOPTS (line 109) | pub const IPPROTO_DSTOPTS: u8 = 60; constant IPPROTO_MH (line 111) | pub const IPPROTO_MH: u8 = 135; constant INET_DIAG_NONE (line 114) | pub const INET_DIAG_NONE: u16 = 0; constant INET_DIAG_MEMINFO (line 115) | pub const INET_DIAG_MEMINFO: u16 = 1; constant INET_DIAG_INFO (line 116) | pub const INET_DIAG_INFO: u16 = 2; constant INET_DIAG_VEGASINFO (line 117) | pub const INET_DIAG_VEGASINFO: u16 = 3; constant INET_DIAG_CONG (line 118) | pub const INET_DIAG_CONG: u16 = 4; constant INET_DIAG_TOS (line 119) | pub const INET_DIAG_TOS: u16 = 5; constant INET_DIAG_TCLASS (line 120) | pub const INET_DIAG_TCLASS: u16 = 6; constant INET_DIAG_SKMEMINFO (line 121) | pub const INET_DIAG_SKMEMINFO: u16 = 7; constant INET_DIAG_SHUTDOWN (line 122) | pub const INET_DIAG_SHUTDOWN: u16 = 8; constant INET_DIAG_DCTCPINFO (line 124) | pub const INET_DIAG_DCTCPINFO: u16 = 9; constant INET_DIAG_PROTOCOL (line 125) | pub const INET_DIAG_PROTOCOL: u16 = 10; constant INET_DIAG_SKV6ONLY (line 126) | pub const INET_DIAG_SKV6ONLY: u16 = 11; constant INET_DIAG_LOCALS (line 127) | pub const INET_DIAG_LOCALS: u16 = 12; constant INET_DIAG_PEERS (line 128) | pub const INET_DIAG_PEERS: u16 = 13; constant INET_DIAG_PAD (line 129) | pub const INET_DIAG_PAD: u16 = 14; constant INET_DIAG_MARK (line 130) | pub const INET_DIAG_MARK: u16 = 15; constant INET_DIAG_BBRINFO (line 131) | pub const INET_DIAG_BBRINFO: u16 = 16; constant INET_DIAG_CLASS_ID (line 132) | pub const INET_DIAG_CLASS_ID: u16 = 17; constant INET_DIAG_MD5SIG (line 133) | pub const INET_DIAG_MD5SIG: u16 = 18; constant TCP_ESTABLISHED (line 138) | pub const TCP_ESTABLISHED: u8 = 1; constant TCP_SYN_SENT (line 141) | pub const TCP_SYN_SENT: u8 = 2; constant TCP_SYN_RECV (line 145) | pub const TCP_SYN_RECV: u8 = 3; constant TCP_FIN_WAIT1 (line 149) | pub const TCP_FIN_WAIT1: u8 = 4; constant TCP_FIN_WAIT2 (line 152) | pub const TCP_FIN_WAIT2: u8 = 5; constant TCP_TIME_WAIT (line 156) | pub const TCP_TIME_WAIT: u8 = 6; constant TCP_CLOSE (line 158) | pub const TCP_CLOSE: u8 = 7; constant TCP_CLOSE_WAIT (line 161) | pub const TCP_CLOSE_WAIT: u8 = 8; constant TCP_LAST_ACK (line 166) | pub const TCP_LAST_ACK: u8 = 9; constant TCP_LISTEN (line 169) | pub const TCP_LISTEN: u8 = 10; constant TCP_CLOSING (line 171) | pub const TCP_CLOSING: u8 = 11; constant UDIAG_SHOW_NAME (line 177) | pub const UDIAG_SHOW_NAME: u32 = 1 << UNIX_DIAG_NAME; constant UDIAG_SHOW_VFS (line 181) | pub const UDIAG_SHOW_VFS: u32 = 1 << UNIX_DIAG_VFS; constant UDIAG_SHOW_PEER (line 185) | pub const UDIAG_SHOW_PEER: u32 = 1 << UNIX_DIAG_PEER; constant UDIAG_SHOW_ICONS (line 192) | pub const UDIAG_SHOW_ICONS: u32 = 1 << UNIX_DIAG_ICONS; constant UDIAG_SHOW_RQLEN (line 201) | pub const UDIAG_SHOW_RQLEN: u32 = 1 << UNIX_DIAG_RQLEN; constant UDIAG_SHOW_MEMINFO (line 205) | pub const UDIAG_SHOW_MEMINFO: u32 = 1 << UNIX_DIAG_MEMINFO; constant UNIX_DIAG_NAME (line 207) | pub const UNIX_DIAG_NAME: u16 = 0; constant UNIX_DIAG_VFS (line 208) | pub const UNIX_DIAG_VFS: u16 = 1; constant UNIX_DIAG_PEER (line 209) | pub const UNIX_DIAG_PEER: u16 = 2; constant UNIX_DIAG_ICONS (line 210) | pub const UNIX_DIAG_ICONS: u16 = 3; constant UNIX_DIAG_RQLEN (line 211) | pub const UNIX_DIAG_RQLEN: u16 = 4; constant UNIX_DIAG_MEMINFO (line 212) | pub const UNIX_DIAG_MEMINFO: u16 = 5; constant UNIX_DIAG_SHUTDOWN (line 213) | pub const UNIX_DIAG_SHUTDOWN: u16 = 6; constant SOCK_STREAM (line 218) | pub const SOCK_STREAM: u8 = libc::SOCK_STREAM as u8; constant SOCK_DGRAM (line 221) | pub const SOCK_DGRAM: u8 = libc::SOCK_DGRAM as u8; constant SOCK_SEQPACKET (line 226) | pub const SOCK_SEQPACKET: u8 = libc::SOCK_SEQPACKET as u8; constant SOCK_RAW (line 228) | pub const SOCK_RAW: u8 = libc::SOCK_RAW as u8; constant SOCK_RDM (line 231) | pub const SOCK_RDM: u8 = libc::SOCK_RDM as u8; constant SOCK_PACKET (line 233) | pub const SOCK_PACKET: u8 = libc::SOCK_PACKET as u8; constant TCP_CA_OPEN (line 236) | pub const TCP_CA_OPEN: u8 = 0; constant TCPF_CA_OPEN (line 237) | pub const TCPF_CA_OPEN: u32 = 1 << TCP_CA_OPEN; constant TCP_CA_DISORDER (line 243) | pub const TCP_CA_DISORDER: u8 = 1; constant TCPF_CA_DISORDER (line 244) | pub const TCPF_CA_DISORDER: u32 = 1 << TCP_CA_DISORDER; constant TCP_CA_CWR (line 248) | pub const TCP_CA_CWR: u8 = 2; constant TCPF_CA_CWR (line 249) | pub const TCPF_CA_CWR: u32 = 1 << TCP_CA_CWR; constant TCP_CA_RECOVERY (line 251) | pub const TCP_CA_RECOVERY: u8 = 3; constant TCPF_CA_RECOVERY (line 252) | pub const TCPF_CA_RECOVERY: u32 = 1 << TCP_CA_RECOVERY; constant TCP_CA_LOSS (line 254) | pub const TCP_CA_LOSS: u8 = 4; constant TCPF_CA_LOSS (line 255) | pub const TCPF_CA_LOSS: u32 = 1 << TCP_CA_LOSS; constant TCPI_OPT_TIMESTAMPS (line 257) | pub const TCPI_OPT_TIMESTAMPS: u8 = 1; constant TCPI_OPT_SACK (line 258) | pub const TCPI_OPT_SACK: u8 = 2; constant TCPI_OPT_WSCALE (line 259) | pub const TCPI_OPT_WSCALE: u8 = 4; constant TCPI_OPT_ECN (line 261) | pub const TCPI_OPT_ECN: u8 = 8; constant TCPI_OPT_ECN_SEEN (line 263) | pub const TCPI_OPT_ECN_SEEN: u8 = 16; constant TCPI_OPT_SYN_DATA (line 265) | pub const TCPI_OPT_SYN_DATA: u8 = 32; constant SHUT_RD (line 269) | pub const SHUT_RD: u8 = 0; constant SHUT_WR (line 272) | pub const SHUT_WR: u8 = 1; constant SHUT_RDWR (line 275) | pub const SHUT_RDWR: u8 = 2; FILE: netlink-packet-sock-diag/src/inet/nlas.rs constant LEGACY_MEM_INFO_LEN (line 15) | pub const LEGACY_MEM_INFO_LEN: usize = 16; type LegacyMemInfo (line 28) | pub struct LegacyMemInfo { method parse (line 40) | fn parse(buf: &LegacyMemInfoBuffer) -> Result { method buffer_len (line 51) | fn buffer_len(&self) -> usize { method emit (line 55) | fn emit(&self, buf: &mut [u8]) { constant MEM_INFO_LEN (line 64) | pub const MEM_INFO_LEN: usize = 36; type MemInfo (line 123) | pub struct MemInfo { method parse (line 184) | fn parse(buf: &MemInfoBuffer) -> Result { method buffer_len (line 200) | fn buffer_len(&self) -> usize { method emit (line 204) | fn emit(&self, buf: &mut [u8]) { type Nla (line 219) | pub enum Nla { method value_len (line 253) | fn value_len(&self) -> usize { method kind (line 270) | fn kind(&self) -> u16 { method emit_value (line 288) | fn emit_value(&self, buffer: &mut [u8]) { method parse (line 310) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { constant TCP_INFO_LEN (line 361) | pub const TCP_INFO_LEN: usize = 232; type TcpInfo (line 453) | pub struct TcpInfo { method parse (line 567) | fn parse(buf: &TcpInfoBuffer) -> Result { method buffer_len (line 629) | fn buffer_len(&self) -> usize { method emit (line 633) | fn emit(&self, buf: &mut [u8]) { FILE: netlink-packet-sock-diag/src/inet/request.rs constant REQUEST_LEN (line 12) | pub const REQUEST_LEN: usize = 56; type InetRequest (line 25) | pub struct InetRequest { method parse (line 109) | fn parse(buf: &InetRequestBuffer<&'a T>) -> Result { method buffer_len (line 128) | fn buffer_len(&self) -> usize { method emit (line 132) | fn emit(&self, buf: &mut [u8]) { FILE: netlink-packet-sock-diag/src/inet/response.rs type Timer (line 19) | pub enum Timer { constant RESPONSE_LEN (line 30) | pub const RESPONSE_LEN: usize = 72; type InetResponseHeader (line 48) | pub struct InetResponseHeader { method parse (line 79) | fn parse(buf: &InetResponseBuffer<&'a T>) -> Result { method buffer_len (line 119) | fn buffer_len(&self) -> usize { method emit (line 123) | fn emit(&self, buf: &mut [u8]) { type InetResponse (line 163) | pub struct InetResponse { method parse (line 185) | fn parse(buf: &InetResponseBuffer<&'a T>) -> Result { function nlas (line 169) | pub fn nlas(&self) -> impl Iterator, D... function parse (line 175) | fn parse(buf: &InetResponseBuffer<&'a T>) -> Result { method buffer_len (line 195) | fn buffer_len(&self) -> usize { method emit (line 199) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-sock-diag/src/inet/socket_id.rs constant SOCKET_ID_LEN (line 15) | pub const SOCKET_ID_LEN: usize = 48; type SocketId (line 27) | pub struct SocketId { method new_v4 (line 41) | pub fn new_v4() -> Self { method new_v6 (line 51) | pub fn new_v6() -> Self { method parse_with_param (line 64) | fn parse_with_param(buf: &SocketIdBuffer<&'a T>, af: u8) -> Result usize { method emit (line 109) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-sock-diag/src/inet/tests.rs function parse_udp_req (line 57) | fn parse_udp_req() { function emit_udp_req (line 64) | fn emit_udp_req() { function parse_tcp_resp (line 127) | fn parse_tcp_resp() { function emit_tcp_resp (line 134) | fn emit_tcp_resp() { FILE: netlink-packet-sock-diag/src/message.rs type SockDiagMessage (line 17) | pub enum SockDiagMessage { method is_inet_request (line 25) | pub fn is_inet_request(&self) -> bool { method is_inet_response (line 29) | pub fn is_inet_response(&self) -> bool { method is_unix_request (line 32) | pub fn is_unix_request(&self) -> bool { method is_unix_response (line 36) | pub fn is_unix_response(&self) -> bool { method message_type (line 40) | pub fn message_type(&self) -> u16 { method buffer_len (line 46) | fn buffer_len(&self) -> usize { method emit (line 57) | fn emit(&self, buffer: &mut [u8]) { method message_type (line 70) | fn message_type(&self) -> u16 { method buffer_len (line 74) | fn buffer_len(&self) -> usize { method serialize (line 78) | fn serialize(&self, buffer: &mut [u8]) { type Error (line 84) | type Error = DecodeError; method deserialize (line 85) | fn deserialize(header: &NetlinkHeader, payload: &[u8]) -> Result Self { FILE: netlink-packet-sock-diag/src/unix/nlas.rs type Nla (line 16) | pub enum Nla { method value_len (line 248) | fn value_len(&self) -> usize { method emit_value (line 263) | fn emit_value(&self, buffer: &mut [u8]) { method kind (line 287) | fn kind(&self) -> u16 { method parse (line 303) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { constant VFS_LEN (line 70) | pub const VFS_LEN: usize = 8; type Vfs (line 78) | pub struct Vfs { method parse (line 86) | fn parse(buf: &VfsBuffer) -> Result { method buffer_len (line 95) | fn buffer_len(&self) -> usize { method emit (line 99) | fn emit(&self, buf: &mut [u8]) { constant MEM_INFO_LEN (line 106) | pub const MEM_INFO_LEN: usize = 36; type MemInfo (line 174) | pub struct MemInfo { method parse (line 219) | fn parse(buf: &MemInfoBuffer) -> Result { method buffer_len (line 229) | fn buffer_len(&self) -> usize { method emit (line 233) | fn emit(&self, buf: &mut [u8]) { FILE: netlink-packet-sock-diag/src/unix/request.rs constant UNIX_REQUEST_LEN (line 11) | pub const UNIX_REQUEST_LEN: usize = 24; type UnixRequest (line 45) | pub struct UnixRequest { method parse (line 85) | fn parse(buf: &UnixRequestBuffer<&'a T>) -> Result { method buffer_len (line 98) | fn buffer_len(&self) -> usize { method emit (line 102) | fn emit(&self, buf: &mut [u8]) { FILE: netlink-packet-sock-diag/src/unix/response.rs constant UNIX_RESPONSE_HEADER_LEN (line 14) | pub const UNIX_RESPONSE_HEADER_LEN: usize = 16; type UnixResponseHeader (line 28) | pub struct UnixResponseHeader { method parse (line 43) | fn parse(buf: &UnixResponseBuffer<&'a T>) -> Result { method buffer_len (line 56) | fn buffer_len(&self) -> usize { method emit (line 60) | fn emit(&self, buf: &mut [u8]) { type UnixResponse (line 72) | pub struct UnixResponse { method peer (line 78) | pub fn peer(&self) -> Option { method name (line 88) | pub fn name(&self) -> Option<&String> { method pending_connections (line 98) | pub fn pending_connections(&self) -> Option<&[u32]> { method mem_info (line 108) | fn mem_info(&self) -> Option { method shutdown_state (line 118) | pub fn shutdown_state(&self) -> Option { method receive_queue_length (line 128) | fn receive_queue_length(&self) -> Option<(u32, u32)> { method number_of_pending_connection (line 138) | pub fn number_of_pending_connection(&self) -> Option { method max_number_of_pending_connection (line 146) | pub fn max_number_of_pending_connection(&self) -> Option { method receive_queue_size (line 154) | pub fn receive_queue_size(&self) -> Option { method send_queue_size (line 162) | pub fn send_queue_size(&self) -> Option { method max_datagram_size (line 170) | pub fn max_datagram_size(&self) -> Option { method memory_used_for_outgoing_data (line 174) | pub fn memory_used_for_outgoing_data(&self) -> Option { method parse (line 196) | fn parse(buf: &UnixResponseBuffer<&'a T>) -> Result { function nlas (line 180) | pub fn nlas(&self) -> impl Iterator, D... function parse (line 186) | fn parse(buf: &UnixResponseBuffer<&'a T>) -> Result { method buffer_len (line 206) | fn buffer_len(&self) -> usize { method emit (line 210) | fn emit(&self, buffer: &mut [u8]) { FILE: netlink-packet-sock-diag/src/unix/tests.rs function parse_listening (line 81) | fn parse_listening() { function emit_listening (line 89) | fn emit_listening() { function parse_established (line 148) | fn parse_established() { function emit_established (line 156) | fn emit_established() { function emit_socket_info (line 164) | fn emit_socket_info() { FILE: netlink-packet-utils/src/errors.rs type EncodeError (line 8) | pub struct EncodeError { method from (line 13) | fn from(msg: &'static str) -> Self { method from (line 21) | fn from(msg: String) -> Self { method from (line 29) | fn from(inner: anyhow::Error) -> EncodeError { type DecodeError (line 36) | pub struct DecodeError { method from (line 41) | fn from(msg: &'static str) -> Self { method from (line 49) | fn from(msg: String) -> Self { method from (line 57) | fn from(inner: anyhow::Error) -> DecodeError { FILE: netlink-packet-utils/src/nla.rs type Field (line 14) | type Field = Range; constant NLA_F_NESTED (line 17) | pub const NLA_F_NESTED: u16 = 0x8000; constant NLA_F_NET_BYTEORDER (line 19) | pub const NLA_F_NET_BYTEORDER: u16 = 0x4000; constant NLA_TYPE_MASK (line 21) | pub const NLA_TYPE_MASK: u16 = !(NLA_F_NET_BYTEORDER | NLA_F_NESTED); constant NLA_ALIGNTO (line 23) | pub const NLA_ALIGNTO: usize = 4; constant NLA_HEADER_SIZE (line 25) | pub const NLA_HEADER_SIZE: usize = 4; constant LENGTH (line 34) | const LENGTH: Field = 0..2; constant TYPE (line 35) | const TYPE: Field = 2..4; function VALUE (line 37) | fn VALUE(length: usize) -> Field { type NlaBuffer (line 44) | pub struct NlaBuffer> { function new (line 49) | pub fn new(buffer: T) -> NlaBuffer { function new_checked (line 53) | pub fn new_checked(buffer: T) -> Result, DecodeError> { function check_buffer_length (line 59) | pub fn check_buffer_length(&self) -> Result<(), DecodeError> { function into_inner (line 87) | pub fn into_inner(self) -> T { function inner (line 92) | pub fn inner(&mut self) -> &T { function inner_mut (line 97) | pub fn inner_mut(&mut self) -> &mut T { function kind (line 102) | pub fn kind(&self) -> u16 { function nested_flag (line 107) | pub fn nested_flag(&self) -> bool { function network_byte_order_flag (line 112) | pub fn network_byte_order_flag(&self) -> bool { function length (line 120) | pub fn length(&self) -> u16 { function value_length (line 130) | pub fn value_length(&self) -> usize { function set_kind (line 137) | pub fn set_kind(&mut self, kind: u16) { function set_nested_flag (line 142) | pub fn set_nested_flag(&mut self) { function set_network_byte_order_flag (line 148) | pub fn set_network_byte_order_flag(&mut self) { function set_length (line 155) | pub fn set_length(&mut self, length: u16) { function value (line 163) | pub fn value(&self) -> &[u8] { function value_mut (line 170) | pub fn value_mut(&mut self) -> &mut [u8] { type DefaultNla (line 177) | pub struct DefaultNla { method parse (line 195) | fn parse(buf: &NlaBuffer<&'buffer T>) -> Result { type Nla (line 213) | pub trait Nla { method value_len (line 183) | fn value_len(&self) -> usize { method kind (line 186) | fn kind(&self) -> u16 { method emit_value (line 189) | fn emit_value(&self, buffer: &mut [u8]) { method value_len (line 214) | fn value_len(&self) -> usize; method kind (line 215) | fn kind(&self) -> u16; method emit_value (line 216) | fn emit_value(&self, buffer: &mut [u8]); method is_nested (line 219) | fn is_nested(&self) -> bool { method is_network_byteorder (line 224) | fn is_network_byteorder(&self) -> bool { method buffer_len (line 230) | fn buffer_len(&self) -> usize { method emit (line 233) | fn emit(&self, buffer: &mut [u8]) { method buffer_len (line 265) | fn buffer_len(&self) -> usize { method emit (line 272) | fn emit(&self, buffer: &mut [u8]) { type NlasIterator (line 288) | pub struct NlasIterator { function new (line 294) | pub fn new(buffer: T) -> Self { type Item (line 303) | type Item = Result, DecodeError>; method next (line 305) | fn next(&mut self) -> Option { function network_byteorder (line 330) | fn network_byteorder() { function get_len (line 354) | fn get_len() -> usize { function test_align (line 360) | fn test_align() { function test_align_overflow (line 369) | fn test_align_overflow() { FILE: netlink-packet-utils/src/parsers.rs function parse_mac (line 13) | pub fn parse_mac(payload: &[u8]) -> Result<[u8; 6], DecodeError> { function parse_ipv6 (line 24) | pub fn parse_ipv6(payload: &[u8]) -> Result<[u8; 16], DecodeError> { function parse_ip (line 35) | pub fn parse_ip(payload: &[u8]) -> Result { function parse_string (line 61) | pub fn parse_string(payload: &[u8]) -> Result { function parse_u8 (line 75) | pub fn parse_u8(payload: &[u8]) -> Result { function parse_u32 (line 82) | pub fn parse_u32(payload: &[u8]) -> Result { function parse_u64 (line 89) | pub fn parse_u64(payload: &[u8]) -> Result { function parse_u128 (line 96) | pub fn parse_u128(payload: &[u8]) -> Result { function parse_u16 (line 103) | pub fn parse_u16(payload: &[u8]) -> Result { function parse_i32 (line 110) | pub fn parse_i32(payload: &[u8]) -> Result { function parse_u16_be (line 117) | pub fn parse_u16_be(payload: &[u8]) -> Result { function parse_u32_be (line 124) | pub fn parse_u32_be(payload: &[u8]) -> Result { FILE: netlink-packet-utils/src/traits.rs type Emitable (line 6) | pub trait Emitable { method buffer_len (line 8) | fn buffer_len(&self) -> usize; method emit (line 18) | fn emit(&self, buffer: &mut [u8]); type Parseable (line 23) | pub trait Parseable method parse (line 29) | fn parse(buf: &T) -> Result; type ParseableParametrized (line 34) | pub trait ParseableParametrized method parse_with_param (line 40) | fn parse_with_param(buf: &T, params: P) -> Result; FILE: netlink-packet-wireguard/examples/get_wireguard_info.rs function main (line 15) | async fn main() { function print_wg_payload (line 50) | fn print_wg_payload(wg: Wireguard) { function print_wg_peer (line 70) | fn print_wg_peer(nlas: &[WgPeerAttrs]) { function print_wg_allowedip (line 90) | fn print_wg_allowedip(nlas: &[WgAllowedIpAttrs]) -> Option<()> { FILE: netlink-packet-wireguard/src/constants.rs constant AF_INET (line 3) | pub const AF_INET: u16 = libc::AF_INET as u16; constant AF_INET6 (line 4) | pub const AF_INET6: u16 = libc::AF_INET6 as u16; constant WG_KEY_LEN (line 6) | pub const WG_KEY_LEN: usize = 32; constant WG_CMD_GET_DEVICE (line 8) | pub const WG_CMD_GET_DEVICE: u8 = 0; constant WG_CMD_SET_DEVICE (line 9) | pub const WG_CMD_SET_DEVICE: u8 = 1; constant WGDEVICE_F_REPLACE_PEERS (line 11) | pub const WGDEVICE_F_REPLACE_PEERS: u32 = 1 << 0; constant WGDEVICE_A_UNSPEC (line 13) | pub const WGDEVICE_A_UNSPEC: u16 = 0; constant WGDEVICE_A_IFINDEX (line 14) | pub const WGDEVICE_A_IFINDEX: u16 = 1; constant WGDEVICE_A_IFNAME (line 15) | pub const WGDEVICE_A_IFNAME: u16 = 2; constant WGDEVICE_A_PRIVATE_KEY (line 16) | pub const WGDEVICE_A_PRIVATE_KEY: u16 = 3; constant WGDEVICE_A_PUBLIC_KEY (line 17) | pub const WGDEVICE_A_PUBLIC_KEY: u16 = 4; constant WGDEVICE_A_FLAGS (line 18) | pub const WGDEVICE_A_FLAGS: u16 = 5; constant WGDEVICE_A_LISTEN_PORT (line 19) | pub const WGDEVICE_A_LISTEN_PORT: u16 = 6; constant WGDEVICE_A_FWMARK (line 20) | pub const WGDEVICE_A_FWMARK: u16 = 7; constant WGDEVICE_A_PEERS (line 21) | pub const WGDEVICE_A_PEERS: u16 = 8; constant WGPEER_F_REMOVE_ME (line 23) | pub const WGPEER_F_REMOVE_ME: u32 = 1 << 0; constant WGPEER_F_REPLACE_ALLOWEDIPS (line 24) | pub const WGPEER_F_REPLACE_ALLOWEDIPS: u32 = 1 << 1; constant WGPEER_F_UPDATE_ONLY (line 25) | pub const WGPEER_F_UPDATE_ONLY: u32 = 1 << 2; constant WGPEER_A_UNSPEC (line 27) | pub const WGPEER_A_UNSPEC: u16 = 0; constant WGPEER_A_PUBLIC_KEY (line 28) | pub const WGPEER_A_PUBLIC_KEY: u16 = 1; constant WGPEER_A_PRESHARED_KEY (line 29) | pub const WGPEER_A_PRESHARED_KEY: u16 = 2; constant WGPEER_A_FLAGS (line 30) | pub const WGPEER_A_FLAGS: u16 = 3; constant WGPEER_A_ENDPOINT (line 31) | pub const WGPEER_A_ENDPOINT: u16 = 4; constant WGPEER_A_PERSISTENT_KEEPALIVE_INTERVAL (line 32) | pub const WGPEER_A_PERSISTENT_KEEPALIVE_INTERVAL: u16 = 5; constant WGPEER_A_LAST_HANDSHAKE_TIME (line 33) | pub const WGPEER_A_LAST_HANDSHAKE_TIME: u16 = 6; constant WGPEER_A_RX_BYTES (line 34) | pub const WGPEER_A_RX_BYTES: u16 = 7; constant WGPEER_A_TX_BYTES (line 35) | pub const WGPEER_A_TX_BYTES: u16 = 8; constant WGPEER_A_ALLOWEDIPS (line 36) | pub const WGPEER_A_ALLOWEDIPS: u16 = 9; constant WGPEER_A_PROTOCOL_VERSION (line 37) | pub const WGPEER_A_PROTOCOL_VERSION: u16 = 10; constant WGALLOWEDIP_A_UNSPEC (line 39) | pub const WGALLOWEDIP_A_UNSPEC: u16 = 0; constant WGALLOWEDIP_A_FAMILY (line 40) | pub const WGALLOWEDIP_A_FAMILY: u16 = 1; constant WGALLOWEDIP_A_IPADDR (line 41) | pub const WGALLOWEDIP_A_IPADDR: u16 = 2; constant WGALLOWEDIP_A_CIDR_MASK (line 42) | pub const WGALLOWEDIP_A_CIDR_MASK: u16 = 3; FILE: netlink-packet-wireguard/src/lib.rs type WireguardCmd (line 18) | pub enum WireguardCmd { type Error (line 34) | type Error = DecodeError; method try_from (line 36) | fn try_from(value: u8) -> Result { function from (line 24) | fn from(cmd: WireguardCmd) -> Self { type Wireguard (line 52) | pub struct Wireguard { method parse_with_param (line 82) | fn parse_with_param(buf: &[u8], header: GenlHeader) -> Result &'static str { method version (line 62) | fn version(&self) -> u8 { method command (line 66) | fn command(&self) -> u8 { method emit (line 72) | fn emit(&self, buffer: &mut [u8]) { method buffer_len (line 76) | fn buffer_len(&self) -> usize { function parse_nlas (line 90) | fn parse_nlas(buf: &[u8]) -> Result, DecodeError> { constant KNOWN_VALID_PACKET (line 111) | const KNOWN_VALID_PACKET: &[u8] = &[ function test_parse_known_valid_packet (line 123) | fn test_parse_known_valid_packet() { function test_serialize_then_deserialize (line 128) | fn test_serialize_then_deserialize() { FILE: netlink-packet-wireguard/src/nlas/allowedip.rs type WgAllowedIpAttrs (line 18) | pub enum WgAllowedIpAttrs { method parse (line 58) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 26) | fn value_len(&self) -> usize { method kind (line 38) | fn kind(&self) -> u16 { method emit_value (line 47) | fn emit_value(&self, buffer: &mut [u8]) { FILE: netlink-packet-wireguard/src/nlas/device.rs type WgDeviceAttrs (line 18) | pub enum WgDeviceAttrs { method parse (line 88) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 31) | fn value_len(&self) -> usize { method kind (line 45) | fn kind(&self) -> u16 { method emit_value (line 59) | fn emit_value(&self, buffer: &mut [u8]) { method is_nested (line 82) | fn is_nested(&self) -> bool { FILE: netlink-packet-wireguard/src/nlas/peer.rs type WgPeer (line 27) | pub struct WgPeer(pub Vec); method value_len (line 30) | fn value_len(&self) -> usize { method kind (line 34) | fn kind(&self) -> u16 { method emit_value (line 38) | fn emit_value(&self, buffer: &mut [u8]) { method is_nested (line 42) | fn is_nested(&self) -> bool { type Target (line 48) | type Target = Vec; method deref (line 50) | fn deref(&self) -> &Self::Target { type WgAllowedIp (line 56) | pub struct WgAllowedIp(pub Vec); method value_len (line 59) | fn value_len(&self) -> usize { method kind (line 63) | fn kind(&self) -> u16 { method emit_value (line 67) | fn emit_value(&self, buffer: &mut [u8]) { method is_nested (line 71) | fn is_nested(&self) -> bool { type Target (line 77) | type Target = Vec; method deref (line 79) | fn deref(&self) -> &Self::Target { type WgPeerAttrs (line 85) | pub enum WgPeerAttrs { method parse (line 163) | fn parse(buf: &NlaBuffer<&'a T>) -> Result { method value_len (line 100) | fn value_len(&self) -> usize { method kind (line 119) | fn kind(&self) -> u16 { method emit_value (line 135) | fn emit_value(&self, buffer: &mut [u8]) { method is_nested (line 157) | fn is_nested(&self) -> bool { FILE: netlink-packet-wireguard/src/raw.rs constant IPV4_LEN (line 14) | pub const IPV4_LEN: usize = 4; constant IPV6_LEN (line 15) | pub const IPV6_LEN: usize = 16; constant SOCKET_ADDR_V4_LEN (line 16) | pub const SOCKET_ADDR_V4_LEN: usize = 16; constant SOCKET_ADDR_V6_LEN (line 17) | pub const SOCKET_ADDR_V6_LEN: usize = 28; constant TIMESPEC_LEN (line 18) | pub const TIMESPEC_LEN: usize = 16; function parse_socket_addr_v6 (line 34) | fn parse_socket_addr_v6(payload: &[u8]) -> SocketAddrV6 { function parse_socket_addr_v4 (line 58) | fn parse_socket_addr_v4(payload: &[u8]) -> SocketAddrV4 { function parse_ip (line 69) | pub fn parse_ip(payload: &[u8]) -> Result { function emit_ip (line 88) | pub fn emit_ip(addr: &IpAddr, buf: &mut [u8]) { function emit_socket_addr_v4 (line 114) | fn emit_socket_addr_v4(addr: &SocketAddrV4, buf: &mut [u8]) { function emit_socket_addr_v6 (line 138) | fn emit_socket_addr_v6(addr: &SocketAddrV6, buf: &mut [u8]) { function emit_socket_addr (line 146) | pub fn emit_socket_addr(addr: &SocketAddr, buf: &mut [u8]) { function parse_socket_addr (line 153) | pub fn parse_socket_addr(buf: &[u8]) -> Result { function emit_timespec (line 165) | pub fn emit_timespec(time: &SystemTime, buf: &mut [u8]) { function parse_timespec (line 182) | pub fn parse_timespec(buf: &[u8]) -> Result { constant SOCKADDR_IN_BYTES_1 (line 201) | const SOCKADDR_IN_BYTES_1: &[u8] = constant SOCKADDR_IN_BYTES_2 (line 203) | const SOCKADDR_IN_BYTES_2: &[u8] = constant SOCKADDR_IN6_BYTES_1 (line 205) | const SOCKADDR_IN6_BYTES_1: &[u8] = function test_parse_socket_addr_in_1 (line 210) | fn test_parse_socket_addr_in_1() { function test_parse_socket_addr_in_2 (line 216) | fn test_parse_socket_addr_in_2() { function test_parse_socket_addr_in6_1 (line 225) | fn test_parse_socket_addr_in6_1() { FILE: netlink-proto/examples/audit_netlink_events.rs constant AUDIT_STATUS_ENABLED (line 39) | const AUDIT_STATUS_ENABLED: u32 = 1; constant AUDIT_STATUS_PID (line 40) | const AUDIT_STATUS_PID: u32 = 4; function main (line 43) | async fn main() -> Result<(), String> { FILE: netlink-proto/examples/dump_links.rs function main (line 18) | async fn main() -> Result<(), String> { FILE: netlink-proto/examples/dump_links_async.rs function main (line 18) | async fn main() -> Result<(), String> { FILE: netlink-proto/src/codecs.rs type NetlinkMessageCodec (line 28) | pub trait NetlinkMessageCodec { method decode (line 33) | fn decode(src: &mut BytesMut) -> io::Result>> method encode (line 38) | fn encode(msg: NetlinkMessage, buf: &mut BytesMut) -> io::Result... method decode (line 50) | fn decode(src: &mut BytesMut) -> io::Result>> method encode (line 100) | fn encode(msg: NetlinkMessage, buf: &mut BytesMut) -> io::Result... type NetlinkCodec (line 44) | pub struct NetlinkCodec { FILE: netlink-proto/src/connection.rs type DefaultSocket (line 36) | type DefaultSocket = (); type Connection (line 42) | pub struct Connection function new (line 66) | pub(crate) fn new( function socket_mut (line 81) | pub fn socket_mut(&mut self) -> &mut S { function poll_send_messages (line 85) | pub fn poll_send_messages(&mut self, cx: &mut Context) { function poll_flush (line 119) | pub fn poll_flush(&mut self, cx: &mut Context) { function poll_read_messages (line 127) | pub fn poll_read_messages(&mut self, cx: &mut Context) { function poll_requests (line 151) | pub fn poll_requests(&mut self, cx: &mut Context) { function forward_unsolicited_messages (line 166) | pub fn forward_unsolicited_messages(&mut self) { function forward_responses (line 212) | pub fn forward_responses(&mut self) { function should_shut_down (line 257) | pub fn should_shut_down(&self) -> bool { type Output (line 268) | type Output = (); method poll (line 270) | fn poll(self: Pin<&mut Self>, cx: &mut Context) -> Poll { FILE: netlink-proto/src/errors.rs type Error (line 8) | pub enum Error { FILE: netlink-proto/src/framed.rs type NetlinkFramed (line 21) | pub struct NetlinkFramed { type Item (line 41) | type Item = (NetlinkMessage, SocketAddr); method poll_next (line 43) | fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll, cx: &mut Context<'_>) -> Poll, cx: &mut Context<'_>) -> Poll, cx: &mut Context<'_>) -> Poll Self { function get_ref (line 176) | pub fn get_ref(&self) -> &S { function get_mut (line 188) | pub fn get_mut(&mut self) -> &mut S { function into_inner (line 193) | pub fn into_inner(self) -> S { FILE: netlink-proto/src/handle.rs type ConnectionHandle (line 14) | pub struct ConnectionHandle function new (line 25) | pub(crate) fn new(requests_tx: UnboundedSender>) -> Self { function request (line 35) | pub fn request( function notify (line 57) | pub fn notify( FILE: netlink-proto/src/lib.rs type Request (line 179) | pub(crate) type Request = function new_connection (line 225) | pub fn new_connection( function new_connection_with_socket (line 240) | pub fn new_connection_with_socket( function new_connection_with_codec (line 256) | pub fn new_connection_with_codec( FILE: netlink-proto/src/protocol/protocol.rs type RequestId (line 20) | struct RequestId { method new (line 26) | fn new(sequence_number: u32, port: u32) -> Self { type Response (line 35) | pub(crate) struct Response { type PendingRequest (line 42) | struct PendingRequest { type Protocol (line 48) | pub(crate) struct Protocol { function new (line 71) | pub fn new() -> Self { function handle_message (line 81) | pub fn handle_message(&mut self, message: NetlinkMessage, source: Soc... function handle_response (line 91) | fn handle_response( function request (line 133) | pub fn request(&mut self, request: Request) { function set_sequence_id (line 167) | fn set_sequence_id(&mut self, message: &mut NetlinkMessage) { FILE: netlink-proto/src/protocol/request.rs type Request (line 10) | pub(crate) struct Request { function from (line 21) | fn from(parts: (NetlinkMessage, SocketAddr, M)) -> Self { function from (line 35) | fn from(req: Request) -> (NetlinkMessage, SocketAddr, M) { FILE: netlink-sys/examples/audit_events.rs constant AUDIT_STATUS_ENABLED (line 29) | pub const AUDIT_STATUS_ENABLED: u32 = 1; constant AUDIT_STATUS_PID (line 30) | pub const AUDIT_STATUS_PID: u32 = 4; function main (line 32) | fn main() { FILE: netlink-sys/examples/audit_events_async_std.rs constant AUDIT_STATUS_ENABLED (line 29) | const AUDIT_STATUS_ENABLED: u32 = 1; constant AUDIT_STATUS_PID (line 30) | const AUDIT_STATUS_PID: u32 = 4; function main (line 33) | async fn main() { FILE: netlink-sys/examples/audit_events_tokio.rs constant AUDIT_STATUS_ENABLED (line 29) | const AUDIT_STATUS_ENABLED: u32 = 1; constant AUDIT_STATUS_PID (line 30) | const AUDIT_STATUS_PID: u32 = 4; function main (line 33) | async fn main() -> Result<(), Box> { FILE: netlink-sys/examples/audit_events_tokio_manual_thread_builder.rs function main (line 10) | fn main() -> Result<(), String> { FILE: netlink-sys/src/addr.rs type SocketAddr (line 91) | pub struct SocketAddr(pub(crate) libc::sockaddr_nl); method fmt (line 110) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt (line 122) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method new (line 133) | pub fn new(port_number: u32, multicast_groups: u32) -> Self { method port_number (line 142) | pub fn port_number(&self) -> u32 { method multicast_groups (line 147) | pub fn multicast_groups(&self) -> u32 { method as_raw (line 151) | pub(crate) fn as_raw(&self) -> (*const libc::sockaddr, libc::socklen_t) { method as_raw_mut (line 173) | pub(crate) fn as_raw_mut(&mut self) -> (*mut libc::sockaddr, libc::soc... method hash (line 94) | fn hash(&self, state: &mut H) { method eq (line 102) | fn eq(&self, other: &SocketAddr) -> bool { FILE: netlink-sys/src/async_socket.rs type AsyncSocket (line 11) | pub trait AsyncSocket: Sized + Unpin { method socket_ref (line 13) | fn socket_ref(&self) -> &Socket; method socket_mut (line 16) | fn socket_mut(&mut self) -> &mut Socket; method new (line 19) | fn new(protocol: isize) -> io::Result; method poll_send (line 22) | fn poll_send(&mut self, cx: &mut Context<'_>, buf: &[u8]) -> Poll(&mut self, cx: &mut Context<'_>, buf: &mut B) -> Poll<... method poll_recv_from (line 42) | fn poll_recv_from( method poll_recv_from_full (line 53) | fn poll_recv_from_full( FILE: netlink-sys/src/async_socket_ext.rs type AsyncSocketExt (line 15) | pub trait AsyncSocketExt: AsyncSocket { method send (line 17) | fn send<'a, 'b>(&'a mut self, buf: &'b [u8]) -> PollSend<'a, 'b, Self> { method send_to (line 22) | fn send_to<'a, 'b>( method recv (line 35) | fn recv<'a, 'b, B>(&'a mut self, buf: &'b mut B) -> PollRecv<'a, 'b, S... method recv_from (line 43) | fn recv_from<'a, 'b, B>(&'a mut self, buf: &'b mut B) -> PollRecvFrom<... method recv_from_full (line 51) | fn recv_from_full(&mut self) -> PollRecvFromFull<'_, Self> { type PollSend (line 58) | pub struct PollSend<'a, 'b, S> { type Output (line 67) | type Output = io::Result; method poll (line 69) | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { type PollSendTo (line 75) | pub struct PollSendTo<'a, 'b, S> { type Output (line 85) | type Output = io::Result; method poll (line 87) | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { type PollRecv (line 93) | pub struct PollRecv<'a, 'b, S, B> { type Output (line 103) | type Output = io::Result<()>; method poll (line 105) | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { type PollRecvFrom (line 111) | pub struct PollRecvFrom<'a, 'b, S, B> { type Output (line 121) | type Output = io::Result; method poll (line 123) | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { type PollRecvFromFull (line 129) | pub struct PollRecvFromFull<'a, S> { type Output (line 137) | type Output = io::Result<(Vec, SocketAddr)>; method poll (line 139) | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { FILE: netlink-sys/src/constants.rs constant NETLINK_ROUTE (line 11) | pub const NETLINK_ROUTE: isize = 0; constant NETLINK_UNUSED (line 12) | pub const NETLINK_UNUSED: isize = 1; constant NETLINK_USERSOCK (line 14) | pub const NETLINK_USERSOCK: isize = 2; constant NETLINK_FIREWALL (line 18) | pub const NETLINK_FIREWALL: isize = 3; constant NETLINK_SOCK_DIAG (line 20) | pub const NETLINK_SOCK_DIAG: isize = 4; constant NETLINK_NFLOG (line 22) | pub const NETLINK_NFLOG: isize = 5; constant NETLINK_XFRM (line 24) | pub const NETLINK_XFRM: isize = 6; constant NETLINK_SELINUX (line 26) | pub const NETLINK_SELINUX: isize = 7; constant NETLINK_ISCSI (line 28) | pub const NETLINK_ISCSI: isize = 8; constant NETLINK_AUDIT (line 30) | pub const NETLINK_AUDIT: isize = 9; constant NETLINK_FIB_LOOKUP (line 32) | pub const NETLINK_FIB_LOOKUP: isize = 10; constant NETLINK_CONNECTOR (line 34) | pub const NETLINK_CONNECTOR: isize = 11; constant NETLINK_NETFILTER (line 36) | pub const NETLINK_NETFILTER: isize = 12; constant NETLINK_IP6_FW (line 38) | pub const NETLINK_IP6_FW: isize = 13; constant NETLINK_DNRTMSG (line 40) | pub const NETLINK_DNRTMSG: isize = 14; constant NETLINK_KOBJECT_UEVENT (line 42) | pub const NETLINK_KOBJECT_UEVENT: isize = 15; constant NETLINK_GENERIC (line 44) | pub const NETLINK_GENERIC: isize = 16; constant NETLINK_SCSITRANSPORT (line 46) | pub const NETLINK_SCSITRANSPORT: isize = 18; constant NETLINK_ECRYPTFS (line 47) | pub const NETLINK_ECRYPTFS: isize = 19; constant NETLINK_RDMA (line 49) | pub const NETLINK_RDMA: isize = 20; constant NETLINK_CRYPTO (line 52) | pub const NETLINK_CRYPTO: isize = 21; constant TCA_ROOT_UNSPEC (line 54) | pub const TCA_ROOT_UNSPEC: int = 0; constant TCA_ROOT_TAB (line 55) | pub const TCA_ROOT_TAB: int = 1; constant TCA_ROOT_FLAGS (line 56) | pub const TCA_ROOT_FLAGS: int = 2; constant TCA_ROOT_COUNT (line 57) | pub const TCA_ROOT_COUNT: int = 3; constant TCA_ROOT_TIME_DELTA (line 58) | pub const TCA_ROOT_TIME_DELTA: int = 4; constant EM_NONE (line 60) | pub const EM_NONE: u32 = 0; constant EM_M32 (line 61) | pub const EM_M32: u32 = 1; constant EM_SPARC (line 62) | pub const EM_SPARC: u32 = 2; constant EM_386 (line 63) | pub const EM_386: u32 = 3; constant EM_68K (line 64) | pub const EM_68K: u32 = 4; constant EM_88K (line 65) | pub const EM_88K: u32 = 5; constant EM_486 (line 66) | pub const EM_486: u32 = 6; constant EM_860 (line 67) | pub const EM_860: u32 = 7; constant EM_MIPS (line 68) | pub const EM_MIPS: u32 = 8; constant EM_MIPS_RS3_LE (line 69) | pub const EM_MIPS_RS3_LE: u32 = 10; constant EM_MIPS_RS4_BE (line 70) | pub const EM_MIPS_RS4_BE: u32 = 10; constant EM_PARISC (line 71) | pub const EM_PARISC: u32 = 15; constant EM_SPARC32PLUS (line 72) | pub const EM_SPARC32PLUS: u32 = 18; constant EM_PPC (line 73) | pub const EM_PPC: u32 = 20; constant EM_PPC64 (line 74) | pub const EM_PPC64: u32 = 21; constant EM_SPU (line 75) | pub const EM_SPU: u32 = 23; constant EM_ARM (line 76) | pub const EM_ARM: u32 = 40; constant EM_SH (line 77) | pub const EM_SH: u32 = 42; constant EM_SPARCV9 (line 78) | pub const EM_SPARCV9: u32 = 43; constant EM_H8_300 (line 79) | pub const EM_H8_300: u32 = 46; constant EM_IA_64 (line 80) | pub const EM_IA_64: u32 = 50; constant EM_X86_64 (line 81) | pub const EM_X86_64: u32 = 62; constant EM_S390 (line 82) | pub const EM_S390: u32 = 22; constant EM_CRIS (line 83) | pub const EM_CRIS: u32 = 76; constant EM_M32R (line 84) | pub const EM_M32R: u32 = 88; constant EM_MN10300 (line 85) | pub const EM_MN10300: u32 = 89; constant EM_OPENRISC (line 86) | pub const EM_OPENRISC: u32 = 92; constant EM_BLACKFIN (line 87) | pub const EM_BLACKFIN: u32 = 106; constant EM_ALTERA_NIOS2 (line 88) | pub const EM_ALTERA_NIOS2: u32 = 113; constant EM_TI_C6000 (line 89) | pub const EM_TI_C6000: u32 = 140; constant EM_AARCH64 (line 90) | pub const EM_AARCH64: u32 = 183; constant EM_TILEPRO (line 91) | pub const EM_TILEPRO: u32 = 188; constant EM_MICROBLAZE (line 92) | pub const EM_MICROBLAZE: u32 = 189; constant EM_TILEGX (line 93) | pub const EM_TILEGX: u32 = 191; constant EM_BPF (line 94) | pub const EM_BPF: u32 = 247; constant EM_FRV (line 95) | pub const EM_FRV: u32 = 21569; constant EM_ALPHA (line 96) | pub const EM_ALPHA: u32 = 36902; constant EM_CYGNUS_M32R (line 97) | pub const EM_CYGNUS_M32R: u32 = 36929; constant EM_S390_OLD (line 98) | pub const EM_S390_OLD: u32 = 41872; constant EM_CYGNUS_MN10300 (line 99) | pub const EM_CYGNUS_MN10300: u32 = 48879; constant NLMSGERR_ATTR_UNUSED (line 101) | pub const NLMSGERR_ATTR_UNUSED: int = 0; constant NLMSGERR_ATTR_MSG (line 102) | pub const NLMSGERR_ATTR_MSG: int = 1; constant NLMSGERR_ATTR_OFFS (line 103) | pub const NLMSGERR_ATTR_OFFS: int = 2; constant NLMSGERR_ATTR_COOKIE (line 104) | pub const NLMSGERR_ATTR_COOKIE: int = 3; constant NLMSGERR_ATTR_MAX (line 105) | pub const NLMSGERR_ATTR_MAX: int = 3; constant NL_MMAP_STATUS_UNUSED (line 107) | pub const NL_MMAP_STATUS_UNUSED: int = 0; constant NL_MMAP_STATUS_RESERVED (line 108) | pub const NL_MMAP_STATUS_RESERVED: int = 1; constant NL_MMAP_STATUS_VALID (line 109) | pub const NL_MMAP_STATUS_VALID: int = 2; constant NL_MMAP_STATUS_COPY (line 110) | pub const NL_MMAP_STATUS_COPY: int = 3; constant NL_MMAP_STATUS_SKIP (line 111) | pub const NL_MMAP_STATUS_SKIP: int = 4; constant NETLINK_UNCONNECTED (line 113) | pub const NETLINK_UNCONNECTED: int = 0; constant NETLINK_CONNECTED (line 114) | pub const NETLINK_CONNECTED: int = 1; constant __BITS_PER_LONG (line 116) | pub const __BITS_PER_LONG: int = 64; constant __FD_SETSIZE (line 117) | pub const __FD_SETSIZE: int = 1024; constant SI_LOAD_SHIFT (line 118) | pub const SI_LOAD_SHIFT: int = 16; constant _K_SS_MAXSIZE (line 119) | pub const _K_SS_MAXSIZE: int = 128; constant NETLINK_SMC (line 120) | pub const NETLINK_SMC: int = 22; constant NETLINK_INET_DIAG (line 121) | pub const NETLINK_INET_DIAG: int = 4; constant MAX_LINKS (line 122) | pub const MAX_LINKS: int = 32; constant NLMSG_MIN_TYPE (line 124) | pub const NLMSG_MIN_TYPE: int = 16; constant NETLINK_ADD_MEMBERSHIP (line 125) | pub const NETLINK_ADD_MEMBERSHIP: int = 1; constant NETLINK_DROP_MEMBERSHIP (line 126) | pub const NETLINK_DROP_MEMBERSHIP: int = 2; constant NETLINK_PKTINFO (line 127) | pub const NETLINK_PKTINFO: int = 3; constant NETLINK_BROADCAST_ERROR (line 128) | pub const NETLINK_BROADCAST_ERROR: int = 4; constant NETLINK_NO_ENOBUFS (line 129) | pub const NETLINK_NO_ENOBUFS: int = 5; constant NETLINK_RX_RING (line 130) | pub const NETLINK_RX_RING: int = 6; constant NETLINK_TX_RING (line 131) | pub const NETLINK_TX_RING: int = 7; constant NETLINK_LISTEN_ALL_NSID (line 132) | pub const NETLINK_LISTEN_ALL_NSID: int = 8; constant NETLINK_LIST_MEMBERSHIPS (line 133) | pub const NETLINK_LIST_MEMBERSHIPS: int = 9; constant NETLINK_CAP_ACK (line 134) | pub const NETLINK_CAP_ACK: int = 10; constant NETLINK_EXT_ACK (line 135) | pub const NETLINK_EXT_ACK: int = 11; constant NL_MMAP_MSG_ALIGNMENT (line 136) | pub const NL_MMAP_MSG_ALIGNMENT: int = 4; constant NET_MAJOR (line 137) | pub const NET_MAJOR: int = 36; FILE: netlink-sys/src/mio.rs method register (line 9) | fn register( method reregister (line 20) | fn reregister( method deregister (line 31) | fn deregister(&mut self, registry: &mio::Registry) -> std::io::Result<()> { function request_neighbour_dump (line 42) | fn request_neighbour_dump(socket: &mut Socket) -> std::io::Result<()> { function test_event_loop (line 62) | fn test_event_loop() -> Result<(), Box> { FILE: netlink-sys/src/smol.rs type SmolSocket (line 18) | pub struct SmolSocket(Async); method poll_write_with (line 38) | fn poll_write_with(&mut self, cx: &mut Context<'_>, mut op: F) -... method poll_read_with (line 52) | fn poll_read_with(&mut self, cx: &mut Context<'_>, mut op: F) ->... method from_raw_fd (line 21) | unsafe fn from_raw_fd(fd: RawFd) -> Self { method as_raw_fd (line 29) | fn as_raw_fd(&self) -> RawFd { method socket_ref (line 68) | fn socket_ref(&self) -> &Socket { method socket_mut (line 73) | fn socket_mut(&mut self) -> &mut Socket { method new (line 77) | fn new(protocol: isize) -> io::Result { method poll_send (line 82) | fn poll_send(&mut self, cx: &mut Context<'_>, buf: &[u8]) -> Poll(&mut self, cx: &mut Context<'_>, buf: &mut B) -> Poll( method poll_recv_from_full (line 117) | fn poll_recv_from_full( FILE: netlink-sys/src/socket.rs type Socket (line 55) | pub struct Socket(RawFd); method new (line 80) | pub fn new(protocol: isize) -> Result { method bind (line 95) | pub fn bind(&mut self, addr: &SocketAddr) -> Result<()> { method bind_auto (line 105) | pub fn bind_auto(&mut self) -> Result { method get_address (line 113) | pub fn get_address(&self, addr: &mut SocketAddr) -> Result<()> { method set_non_blocking (line 128) | pub fn set_non_blocking(&self, non_blocking: bool) -> Result<()> { method connect (line 182) | pub fn connect(&self, remote_addr: &SocketAddr) -> Result<()> { method recv_from (line 229) | pub fn recv_from(&self, buf: &mut B, flags: libc::c_int) -> Result<... method recv (line 288) | pub fn recv(&self, buf: &mut B, flags: libc::c_int) -> Result method recv_from_full (line 311) | pub fn recv_from_full(&self) -> Result<(Vec, SocketAddr)> { method send_to (line 326) | pub fn send_to(&self, buf: &[u8], addr: &SocketAddr, flags: libc::c_in... method send (line 340) | pub fn send(&self, buf: &[u8], flags: libc::c_int) -> Result { method set_pktinfo (line 351) | pub fn set_pktinfo(&mut self, value: bool) -> Result<()> { method get_pktinfo (line 356) | pub fn get_pktinfo(&self) -> Result { method add_membership (line 361) | pub fn add_membership(&mut self, group: u32) -> Result<()> { method drop_membership (line 370) | pub fn drop_membership(&mut self, group: u32) -> Result<()> { method set_broadcast_error (line 388) | pub fn set_broadcast_error(&mut self, value: bool) -> Result<()> { method get_broadcast_error (line 398) | pub fn get_broadcast_error(&self) -> Result { method set_no_enobufs (line 406) | pub fn set_no_enobufs(&mut self, value: bool) -> Result<()> { method get_no_enobufs (line 411) | pub fn get_no_enobufs(&self) -> Result { method set_listen_all_namespaces (line 420) | pub fn set_listen_all_namespaces(&mut self, value: bool) -> Result<()> { method get_listen_all_namespaces (line 430) | pub fn get_listen_all_namespaces(&self) -> Result { method set_cap_ack (line 440) | pub fn set_cap_ack(&mut self, value: bool) -> Result<()> { method get_cap_ack (line 445) | pub fn get_cap_ack(&self) -> Result { method as_raw_fd (line 58) | fn as_raw_fd(&self) -> RawFd { method from_raw_fd (line 64) | unsafe fn from_raw_fd(fd: RawFd) -> Self { method drop (line 70) | fn drop(&mut self) { function getsockopt (line 456) | pub(crate) fn getsockopt(fd: RawFd, level: libc::c_int, option:... function setsockopt (line 484) | fn setsockopt(fd: RawFd, level: libc::c_int, option: libc::c_int, pay... function new (line 501) | fn new() { function connect (line 506) | fn connect() { function bind (line 512) | fn bind() { function bind_auto (line 518) | fn bind_auto() { function set_non_blocking (line 526) | fn set_non_blocking() { function options (line 533) | fn options() { FILE: netlink-sys/src/tokio.rs type TokioSocket (line 16) | pub struct TokioSocket(AsyncFd); method from_raw_fd (line 19) | unsafe fn from_raw_fd(fd: RawFd) -> Self { method as_raw_fd (line 27) | fn as_raw_fd(&self) -> RawFd { method socket_ref (line 33) | fn socket_ref(&self) -> &Socket { method socket_mut (line 38) | fn socket_mut(&mut self) -> &mut Socket { method new (line 42) | fn new(protocol: isize) -> io::Result { method poll_send (line 48) | fn poll_send(&mut self, cx: &mut Context<'_>, buf: &[u8]) -> Poll(&mut self, cx: &mut Context<'_>, buf: &mut B) -> Poll( method poll_recv_from_full (line 124) | fn poll_recv_from_full( FILE: rtnetlink/examples/add_address.rs function main (line 10) | async fn main() -> Result<(), ()> { function add_address (line 32) | async fn add_address(link_name: &str, ip: IpNetwork, handle: Handle) -> ... function usage (line 48) | fn usage() { FILE: rtnetlink/examples/add_neighbour.rs function main (line 8) | async fn main() -> Result<(), ()> { function add_neighbour (line 30) | async fn add_neighbour(link_name: &str, ip: IpAddr, handle: Handle) -> R... function usage (line 48) | fn usage() { FILE: rtnetlink/examples/add_netns.rs function main (line 7) | async fn main() -> Result<(), String> { function usage (line 21) | fn usage() { FILE: rtnetlink/examples/add_netns_async.rs function main (line 7) | async fn main() -> Result<(), String> { function usage (line 21) | fn usage() { FILE: rtnetlink/examples/add_route.rs function main (line 9) | async fn main() -> Result<(), ()> { function add_route (line 34) | async fn add_route(dest: &Ipv4Network, gateway: &Ipv4Network, handle: Ha... function usage (line 46) | fn usage() { FILE: rtnetlink/examples/add_route_pref_src.rs function main (line 10) | async fn main() -> Result<(), ()> { function add_route (line 39) | async fn add_route( function usage (line 68) | fn usage() { FILE: rtnetlink/examples/add_rule.rs function main (line 9) | async fn main() -> Result<(), ()> { function add_rule (line 30) | async fn add_rule(dest: &Ipv4Network, handle: Handle) -> Result<(), Erro... function usage (line 41) | fn usage() { FILE: rtnetlink/examples/add_tc_qdisc_ingress.rs function main (line 8) | async fn main() -> Result<(), ()> { function usage (line 31) | fn usage() { FILE: rtnetlink/examples/create_bond.rs function main (line 7) | async fn main() -> Result<(), String> { FILE: rtnetlink/examples/create_bridge.rs function main (line 6) | async fn main() -> Result<(), String> { FILE: rtnetlink/examples/create_macvlan.rs function main (line 8) | async fn main() -> Result<(), String> { function create_macvlan (line 24) | async fn create_macvlan(handle: Handle, veth_name: String) -> Result<(),... function usage (line 39) | fn usage() { FILE: rtnetlink/examples/create_macvtap.rs function main (line 8) | async fn main() -> Result<(), String> { function create_macvtap (line 24) | async fn create_macvtap(handle: Handle, veth_name: String) -> Result<(),... function usage (line 39) | fn usage() { FILE: rtnetlink/examples/create_veth.rs function main (line 6) | async fn main() -> Result<(), String> { FILE: rtnetlink/examples/create_vxlan.rs function main (line 8) | async fn main() -> Result<(), String> { function create_vxlan (line 24) | async fn create_vxlan(handle: Handle, name: String) -> Result<(), Error> { function usage (line 42) | fn usage() { FILE: rtnetlink/examples/del_link.rs function main (line 8) | async fn main() -> Result<(), ()> { function del_link (line 25) | async fn del_link(handle: Handle, name: String) -> Result<(), Error> { function usage (line 35) | fn usage() { FILE: rtnetlink/examples/del_netns.rs function main (line 7) | async fn main() -> Result<(), String> { function usage (line 20) | fn usage() { FILE: rtnetlink/examples/del_netns_async.rs function main (line 7) | async fn main() -> Result<(), String> { function usage (line 20) | fn usage() { FILE: rtnetlink/examples/flush_addresses.rs function main (line 8) | async fn main() -> Result<(), ()> { function flush_addresses (line 26) | async fn flush_addresses(handle: Handle, link: String) -> Result<(), Err... function usage (line 47) | fn usage() { FILE: rtnetlink/examples/get_address.rs function main (line 7) | async fn main() -> Result<(), ()> { function dump_addresses (line 21) | async fn dump_addresses(handle: Handle, link: String) -> Result<(), Erro... FILE: rtnetlink/examples/get_links.rs function main (line 15) | async fn main() -> Result<(), ()> { function get_link_by_index (line 48) | async fn get_link_by_index(handle: Handle, index: u32) -> Result<(), Err... function get_link_by_name (line 72) | async fn get_link_by_name(handle: Handle, name: String) -> Result<(), Er... function dump_links (line 84) | async fn dump_links(handle: Handle) -> Result<(), Error> { function dump_bridge_filter_info (line 98) | async fn dump_bridge_filter_info(handle: Handle) -> Result<(), Error> { FILE: rtnetlink/examples/get_links_async.rs function main (line 15) | async fn main() -> Result<(), ()> { function get_link_by_index (line 48) | async fn get_link_by_index(handle: Handle, index: u32) -> Result<(), Err... function get_link_by_name (line 72) | async fn get_link_by_name(handle: Handle, name: String) -> Result<(), Er... function dump_links (line 84) | async fn dump_links(handle: Handle) -> Result<(), Error> { function dump_bridge_filter_info (line 98) | async fn dump_bridge_filter_info(handle: Handle) -> Result<(), Error> { FILE: rtnetlink/examples/get_links_thread_builder.rs function do_it (line 15) | async fn do_it(rt: &tokio::runtime::Runtime) -> Result<(), ()> { function get_link_by_index (line 48) | async fn get_link_by_index(handle: Handle, index: u32) -> Result<(), Err... function get_link_by_name (line 72) | async fn get_link_by_name(handle: Handle, name: String) -> Result<(), Er... function dump_links (line 84) | async fn dump_links(handle: Handle) -> Result<(), Error> { function dump_bridge_filter_info (line 98) | async fn dump_bridge_filter_info(handle: Handle) -> Result<(), Error> { function main (line 118) | fn main() -> Result<(), String> { FILE: rtnetlink/examples/get_neighbours.rs function main (line 7) | async fn main() -> Result<(), ()> { function dump_neighbours (line 20) | async fn dump_neighbours(handle: Handle) -> Result<(), Error> { FILE: rtnetlink/examples/get_route.rs function main (line 7) | async fn main() -> Result<(), ()> { function dump_addresses (line 26) | async fn dump_addresses(handle: Handle, ip_version: IpVersion) -> Result... FILE: rtnetlink/examples/get_rule.rs function main (line 7) | async fn main() -> Result<(), ()> { function dump_addresses (line 26) | async fn dump_addresses(handle: Handle, ip_version: IpVersion) -> Result... FILE: rtnetlink/examples/ip_monitor.rs function nl_mgrp (line 11) | const fn nl_mgrp(group: u32) -> u32 { function main (line 22) | async fn main() -> Result<(), String> { FILE: rtnetlink/examples/listen.rs function main (line 15) | async fn main() -> Result<(), String> { FILE: rtnetlink/examples/property_altname.rs function main (line 16) | async fn main() -> Result<(), ()> { function show_property_alt_ifnames (line 55) | async fn show_property_alt_ifnames(link_name: &str, handle: Handle) -> R... function add_property_alt_ifnames (line 69) | async fn add_property_alt_ifnames( function del_property_alt_ifnames (line 86) | async fn del_property_alt_ifnames( function get_link (line 103) | async fn get_link(link_name: &str, handle: Handle) -> Result Result Result<(), String> { function set_link_down (line 24) | async fn set_link_down(handle: Handle, name: String) -> Result<(), Error> { function usage (line 39) | fn usage() { FILE: rtnetlink/src/addr/add.rs type AddressAddRequest (line 23) | pub struct AddressAddRequest { method new (line 30) | pub(crate) fn new(handle: Handle, index: u32, address: IpAddr, prefix_... method replace (line 81) | pub fn replace(self) -> Self { method execute (line 89) | pub async fn execute(self) -> Result<(), Error> { method message_mut (line 107) | pub fn message_mut(&mut self) -> &mut AddressMessage { FILE: rtnetlink/src/addr/del.rs type AddressDelRequest (line 12) | pub struct AddressDelRequest { method new (line 18) | pub(crate) fn new(handle: Handle, message: AddressMessage) -> Self { method execute (line 23) | pub async fn execute(self) -> Result<(), Error> { method message_mut (line 38) | pub fn message_mut(&mut self) -> &mut AddressMessage { FILE: rtnetlink/src/addr/get.rs type AddressGetRequest (line 21) | pub struct AddressGetRequest { method new (line 28) | pub(crate) fn new(handle: Handle) -> Self { method message_mut (line 36) | pub fn message_mut(&mut self) -> &mut AddressMessage { method execute (line 40) | pub fn execute(self) -> impl TryStream Self { method set_prefix_length_filter (line 68) | pub fn set_prefix_length_filter(mut self, prefix: u8) -> Self { method set_address_filter (line 74) | pub fn set_address_filter(mut self, address: IpAddr) -> Self { type AddressFilterBuilder (line 87) | struct AddressFilterBuilder { method new (line 94) | fn new() -> Self { method build (line 98) | fn build(self) -> impl Fn(&AddressMessage) -> bool { FILE: rtnetlink/src/addr/handle.rs type AddressHandle (line 10) | pub struct AddressHandle(Handle); method new (line 13) | pub fn new(handle: Handle) -> Self { method get (line 18) | pub fn get(&self) -> AddressGetRequest { method add (line 23) | pub fn add(&self, index: u32, address: IpAddr, prefix_len: u8) -> Addr... method del (line 28) | pub fn del(&self, address: AddressMessage) -> AddressDelRequest { FILE: rtnetlink/src/connection.rs function new_connection (line 16) | pub fn new_connection() -> io::Result<( function new_connection_with_socket (line 25) | pub fn new_connection_with_socket() -> io::Result<( FILE: rtnetlink/src/constants.rs constant RTMGRP_LINK (line 3) | pub const RTMGRP_LINK: u32 = 1; constant RTMGRP_NOTIFY (line 4) | pub const RTMGRP_NOTIFY: u32 = 2; constant RTMGRP_NEIGH (line 5) | pub const RTMGRP_NEIGH: u32 = 4; constant RTMGRP_TC (line 6) | pub const RTMGRP_TC: u32 = 8; constant RTMGRP_IPV4_IFADDR (line 7) | pub const RTMGRP_IPV4_IFADDR: u32 = 16; constant RTMGRP_IPV4_MROUTE (line 8) | pub const RTMGRP_IPV4_MROUTE: u32 = 32; constant RTMGRP_IPV4_ROUTE (line 9) | pub const RTMGRP_IPV4_ROUTE: u32 = 64; constant RTMGRP_IPV4_RULE (line 10) | pub const RTMGRP_IPV4_RULE: u32 = 128; constant RTMGRP_IPV6_IFADDR (line 11) | pub const RTMGRP_IPV6_IFADDR: u32 = 256; constant RTMGRP_IPV6_MROUTE (line 12) | pub const RTMGRP_IPV6_MROUTE: u32 = 512; constant RTMGRP_IPV6_ROUTE (line 13) | pub const RTMGRP_IPV6_ROUTE: u32 = 1024; constant RTMGRP_IPV6_IFINFO (line 14) | pub const RTMGRP_IPV6_IFINFO: u32 = 2048; constant RTMGRP_DECNET_IFADDR (line 15) | pub const RTMGRP_DECNET_IFADDR: u32 = 4096; constant RTMGRP_DECNET_ROUTE (line 16) | pub const RTMGRP_DECNET_ROUTE: u32 = 16_384; constant RTMGRP_IPV6_PREFIX (line 17) | pub const RTMGRP_IPV6_PREFIX: u32 = 131_072; FILE: rtnetlink/src/errors.rs type Error (line 8) | pub enum Error { FILE: rtnetlink/src/handle.rs type Handle (line 21) | pub struct Handle(ConnectionHandle); method new (line 24) | pub(crate) fn new(conn: ConnectionHandle) -> Self { method request (line 28) | pub fn request( method notify (line 37) | pub fn notify(&mut self, msg: NetlinkMessage) -> Result<(... method link (line 45) | pub fn link(&self) -> LinkHandle { method address (line 50) | pub fn address(&self) -> AddressHandle { method route (line 55) | pub fn route(&self) -> RouteHandle { method rule (line 60) | pub fn rule(&self) -> RuleHandle { method neighbours (line 65) | pub fn neighbours(&self) -> NeighbourHandle { method qdisc (line 71) | pub fn qdisc(&self) -> QDiscHandle { method traffic_class (line 77) | pub fn traffic_class(&self, ifindex: i32) -> TrafficClassHandle { method traffic_filter (line 83) | pub fn traffic_filter(&self, ifindex: i32) -> TrafficFilterHandle { method traffic_chain (line 89) | pub fn traffic_chain(&self, ifindex: i32) -> TrafficChainHandle { FILE: rtnetlink/src/link/add.rs type BondAddRequest (line 35) | pub struct BondAddRequest { method execute (line 42) | pub async fn execute(self) -> Result<(), Error> { method up (line 51) | pub fn up(mut self) -> Self { method mode (line 58) | pub fn mode(mut self, mode: u8) -> Self { method active_slave (line 66) | pub fn active_slave(mut self, active_slave: u32) -> Self { method miimon (line 73) | pub fn miimon(mut self, miimon: u32) -> Self { method updelay (line 80) | pub fn updelay(mut self, updelay: u32) -> Self { method downdelay (line 87) | pub fn downdelay(mut self, downdelay: u32) -> Self { method use_carrier (line 94) | pub fn use_carrier(mut self, use_carrier: u8) -> Self { method arp_interval (line 101) | pub fn arp_interval(mut self, arp_interval: u32) -> Self { method arp_validate (line 108) | pub fn arp_validate(mut self, arp_validate: u32) -> Self { method arp_all_targets (line 115) | pub fn arp_all_targets(mut self, arp_all_targets: u32) -> Self { method primary (line 124) | pub fn primary(mut self, primary: u32) -> Self { method primary_reselect (line 131) | pub fn primary_reselect(mut self, primary_reselect: u8) -> Self { method fail_over_mac (line 139) | pub fn fail_over_mac(mut self, fail_over_mac: u8) -> Self { method xmit_hash_policy (line 146) | pub fn xmit_hash_policy(mut self, xmit_hash_policy: u8) -> Self { method resend_igmp (line 154) | pub fn resend_igmp(mut self, resend_igmp: u32) -> Self { method num_peer_notif (line 161) | pub fn num_peer_notif(mut self, num_peer_notif: u8) -> Self { method all_slaves_active (line 168) | pub fn all_slaves_active(mut self, all_slaves_active: u8) -> Self { method min_links (line 176) | pub fn min_links(mut self, min_links: u32) -> Self { method lp_interval (line 183) | pub fn lp_interval(mut self, lp_interval: u32) -> Self { method packets_per_slave (line 190) | pub fn packets_per_slave(mut self, packets_per_slave: u32) -> Self { method ad_lacp_rate (line 198) | pub fn ad_lacp_rate(mut self, ad_lacp_rate: u8) -> Self { method ad_select (line 205) | pub fn ad_select(mut self, ad_select: u8) -> Self { method ad_actor_sys_prio (line 212) | pub fn ad_actor_sys_prio(mut self, ad_actor_sys_prio: u16) -> Self { method ad_user_port_key (line 220) | pub fn ad_user_port_key(mut self, ad_user_port_key: u16) -> Self { method ad_actor_system (line 228) | pub fn ad_actor_system(mut self, ad_actor_system: [u8; 6]) -> Self { method tlb_dynamic_lb (line 236) | pub fn tlb_dynamic_lb(mut self, tlb_dynamic_lb: u8) -> Self { method peer_notif_delay (line 243) | pub fn peer_notif_delay(mut self, peer_notif_delay: u32) -> Self { method ad_lacp_active (line 251) | pub fn ad_lacp_active(mut self, ad_lacp_active: u8) -> Self { method missed_max (line 258) | pub fn missed_max(mut self, missed_max: u8) -> Self { method arp_ip_target (line 265) | pub fn arp_ip_target(mut self, arp_ip_target: Vec) -> Self { method ns_ip6_target (line 272) | pub fn ns_ip6_target(mut self, ns_ip6_target: Vec) -> Self { type VxlanAddRequest (line 282) | pub struct VxlanAddRequest { method execute (line 289) | pub async fn execute(self) -> Result<(), Error> { method up (line 298) | pub fn up(mut self) -> Self { method link (line 308) | pub fn link(mut self, index: u32) -> Self { method port (line 317) | pub fn port(mut self, port: u16) -> Self { method group (line 327) | pub fn group(mut self, addr: std::net::Ipv4Addr) -> Self { method group6 (line 338) | pub fn group6(mut self, addr: std::net::Ipv6Addr) -> Self { method remote (line 352) | pub fn remote(self, addr: std::net::Ipv4Addr) -> Self { method remote6 (line 364) | pub fn remote6(self, addr: std::net::Ipv6Addr) -> Self { method local (line 372) | pub fn local(mut self, addr: std::net::Ipv4Addr) -> Self { method local6 (line 382) | pub fn local6(mut self, addr: std::net::Ipv6Addr) -> Self { method tos (line 391) | pub fn tos(mut self, tos: u8) -> Self { method ttl (line 399) | pub fn ttl(mut self, ttl: u8) -> Self { method label (line 407) | pub fn label(mut self, label: u32) -> Self { method learning (line 417) | pub fn learning(mut self, learning: u8) -> Self { method ageing (line 426) | pub fn ageing(mut self, seconds: u32) -> Self { method limit (line 435) | pub fn limit(mut self, limit: u32) -> Self { method port_range (line 445) | pub fn port_range(mut self, min: u16, max: u16) -> Self { method proxy (line 453) | pub fn proxy(mut self, proxy: u8) -> Self { method rsc (line 461) | pub fn rsc(mut self, rsc: u8) -> Self { method l2miss (line 469) | pub fn l2miss(mut self, l2miss: u8) -> Self { method l3miss (line 477) | pub fn l3miss(mut self, l3miss: u8) -> Self { method collect_metadata (line 482) | pub fn collect_metadata(mut self, collect_metadata: u8) -> Self { method udp_csum (line 491) | pub fn udp_csum(mut self, udp_csum: u8) -> Self { type LinkAddRequest (line 502) | pub struct LinkAddRequest { method new (line 509) | pub(crate) fn new(handle: Handle) -> Self { method execute (line 518) | pub async fn execute(self) -> Result<(), Error> { method message_mut (line 558) | pub fn message_mut(&mut self) -> &mut LinkMessage { method dummy (line 564) | pub fn dummy(self, name: String) -> Self { method veth (line 570) | pub fn veth(self, name: String, peer_name: String) -> Self { method vlan (line 589) | pub fn vlan(self, name: String, index: u32, vlan_id: u16) -> Self { method macvlan (line 604) | pub fn macvlan(self, name: String, index: u32, mode: u32) -> Self { method macvtap (line 619) | pub fn macvtap(self, name: String, index: u32, mode: u32) -> Self { method vxlan (line 633) | pub fn vxlan(self, name: String, vni: u32) -> VxlanAddRequest { method bond (line 643) | pub fn bond(self, name: String) -> BondAddRequest { method bridge (line 653) | pub fn bridge(self, name: String) -> Self { method replace (line 660) | pub fn replace(self) -> Self { method up (line 667) | fn up(mut self) -> Self { method link_info (line 673) | fn link_info(self, kind: InfoKind, data: Option) -> Self { method name (line 681) | fn name(mut self, name: String) -> Self { method append_nla (line 686) | fn append_nla(mut self, nla: Nla) -> Self { FILE: rtnetlink/src/link/del.rs type LinkDelRequest (line 12) | pub struct LinkDelRequest { method new (line 18) | pub(crate) fn new(handle: Handle, index: u32) -> Self { method execute (line 25) | pub async fn execute(self) -> Result<(), Error> { method message_mut (line 41) | pub fn message_mut(&mut self) -> &mut LinkMessage { FILE: rtnetlink/src/link/get.rs type LinkGetRequest (line 16) | pub struct LinkGetRequest { method new (line 29) | pub(crate) fn new(handle: Handle) -> Self { method set_filter_mask (line 38) | pub fn set_filter_mask(mut self, family: u8, filter_mask: u32) -> Self { method execute (line 45) | pub fn execute(self) -> impl TryStream { method message_mut (line 69) | pub fn message_mut(&mut self) -> &mut LinkMessage { method match_index (line 74) | pub fn match_index(mut self, index: u32) -> Self { method match_name (line 84) | pub fn match_name(mut self, name: String) -> Self { FILE: rtnetlink/src/link/handle.rs type LinkHandle (line 13) | pub struct LinkHandle(Handle); method new (line 16) | pub fn new(handle: Handle) -> Self { method set (line 20) | pub fn set(&self, index: u32) -> LinkSetRequest { method add (line 24) | pub fn add(&self) -> LinkAddRequest { method property_add (line 28) | pub fn property_add(&self, index: u32) -> LinkNewPropRequest { method property_del (line 32) | pub fn property_del(&self, index: u32) -> LinkDelPropRequest { method del (line 36) | pub fn del(&mut self, index: u32) -> LinkDelRequest { method get (line 41) | pub fn get(&mut self) -> LinkGetRequest { FILE: rtnetlink/src/link/property_add.rs type LinkNewPropRequest (line 21) | pub struct LinkNewPropRequest { method new (line 27) | pub(crate) fn new(handle: Handle, index: u32) -> Self { method execute (line 34) | pub async fn execute(self) -> Result<(), Error> { method message_mut (line 52) | pub fn message_mut(&mut self) -> &mut LinkMessage { method alt_ifname (line 58) | pub fn alt_ifname(mut self, alt_ifnames: &[&str]) -> Self { FILE: rtnetlink/src/link/property_del.rs type LinkDelPropRequest (line 19) | pub struct LinkDelPropRequest { method new (line 25) | pub(crate) fn new(handle: Handle, index: u32) -> Self { method execute (line 32) | pub async fn execute(self) -> Result<(), Error> { method message_mut (line 50) | pub fn message_mut(&mut self) -> &mut LinkMessage { method alt_ifname (line 56) | pub fn alt_ifname(mut self, alt_ifnames: &[&str]) -> Self { FILE: rtnetlink/src/link/set.rs type LinkSetRequest (line 24) | pub struct LinkSetRequest { method new (line 30) | pub(crate) fn new(handle: Handle, index: u32) -> Self { method execute (line 37) | pub async fn execute(self) -> Result<(), Error> { method message_mut (line 53) | pub fn message_mut(&mut self) -> &mut LinkMessage { method master (line 62) | pub fn master(mut self, master_index: u32) -> Self { method nomaster (line 69) | pub fn nomaster(mut self) -> Self { method up (line 75) | pub fn up(mut self) -> Self { method down (line 82) | pub fn down(mut self) -> Self { method promiscuous (line 89) | pub fn promiscuous(mut self, enable: bool) -> Self { method arp (line 100) | pub fn arp(mut self, enable: bool) -> Self { method name (line 111) | pub fn name(mut self, name: String) -> Self { method mtu (line 117) | pub fn mtu(mut self, mtu: u32) -> Self { method address (line 123) | pub fn address(mut self, address: Vec) -> Self { method setns_by_pid (line 129) | pub fn setns_by_pid(mut self, pid: u32) -> Self { method setns_by_fd (line 136) | pub fn setns_by_fd(mut self, fd: RawFd) -> Self { FILE: rtnetlink/src/link/test.rs constant IFACE_NAME (line 16) | const IFACE_NAME: &str = "wg142"; function create_get_delete_wg (line 19) | fn create_get_delete_wg() { function has_nla (line 34) | fn has_nla(msg: &LinkMessage, nla: &Nla) -> bool { function _create_wg (line 38) | async fn _create_wg() -> Result { function _get_wg (line 51) | async fn _get_wg(handle: &mut LinkHandle) -> Result { function _del_wg (line 57) | async fn _del_wg(handle: &mut LinkHandle, index: u32) -> Result<(), Erro... FILE: rtnetlink/src/neighbour/add.rs type NeighbourAddRequest (line 17) | pub struct NeighbourAddRequest { method new (line 24) | pub(crate) fn new(handle: Handle, index: u32, destination: IpAddr) -> ... method new_bridge (line 48) | pub(crate) fn new_bridge(handle: Handle, index: u32, lla: &[u8]) -> Se... method state (line 67) | pub fn state(mut self, state: u16) -> Self { method flags (line 74) | pub fn flags(mut self, flags: u8) -> Self { method ntype (line 81) | pub fn ntype(mut self, ntype: u8) -> Self { method link_local_address (line 87) | pub fn link_local_address(mut self, addr: &[u8]) -> Self { method destination (line 103) | pub fn destination(mut self, addr: IpAddr) -> Self { method replace (line 124) | pub fn replace(self) -> Self { method execute (line 132) | pub async fn execute(self) -> Result<(), Error> { method message_mut (line 154) | pub fn message_mut(&mut self) -> &mut NeighbourMessage { FILE: rtnetlink/src/neighbour/del.rs type NeighbourDelRequest (line 16) | pub struct NeighbourDelRequest { method new (line 22) | pub(crate) fn new(handle: Handle, message: NeighbourMessage) -> Self { method execute (line 27) | pub async fn execute(self) -> Result<(), Error> { method message_mut (line 44) | pub fn message_mut(&mut self) -> &mut NeighbourMessage { FILE: rtnetlink/src/neighbour/get.rs type NeighbourGetRequest (line 20) | pub struct NeighbourGetRequest { method new (line 26) | pub(crate) fn new(handle: Handle) -> Self { method proxies (line 32) | pub fn proxies(mut self) -> Self { method set_family (line 37) | pub fn set_family(mut self, ip_version: IpVersion) -> Self { method execute (line 43) | pub fn execute(self) -> impl TryStream &mut NeighbourMessage { FILE: rtnetlink/src/neighbour/handle.rs type NeighbourHandle (line 7) | pub struct NeighbourHandle(Handle); method new (line 10) | pub fn new(handle: Handle) -> Self { method get (line 15) | pub fn get(&self) -> NeighbourGetRequest { method add (line 20) | pub fn add(&self, index: u32, destination: IpAddr) -> NeighbourAddRequ... method add_bridge (line 25) | pub fn add_bridge(&self, index: u32, lla: &[u8]) -> NeighbourAddRequest { method del (line 30) | pub fn del(&self, message: NeighbourMessage) -> NeighbourDelRequest { FILE: rtnetlink/src/ns.rs function try_spawn_blocking (line 18) | async fn try_spawn_blocking(fut: F) -> R function try_spawn_blocking (line 28) | async fn try_spawn_blocking(fut: F) -> R function try_spawn_blocking (line 44) | async fn try_spawn_blocking(fut: F) -> R constant NETNS_PATH (line 52) | pub const NETNS_PATH: &str = "/run/netns/"; constant SELF_NS_PATH (line 53) | pub const SELF_NS_PATH: &str = "/proc/self/ns/net"; constant NONE_FS (line 54) | pub const NONE_FS: &str = "none"; type NetworkNamespace (line 56) | pub struct NetworkNamespace(); method add (line 61) | pub async fn add(ns_name: String) -> Result<(), Error> { method del (line 79) | pub async fn del(ns_name: String) -> Result<(), Error> { method prep_for_fork (line 102) | pub fn prep_for_fork() -> Result<(), Error> { method parent_process (line 109) | pub fn parent_process(child: nix::unistd::Pid) -> Result<(), Error> { method child_process (line 145) | fn child_process(ns_name: String) -> ! { method child_process_create_ns (line 168) | pub fn child_process_create_ns(ns_name: String) -> Result Result<(), Error> { FILE: rtnetlink/src/route/add.rs type RouteAddRequest (line 20) | pub struct RouteAddRequest { function new (line 28) | pub(crate) fn new(handle: Handle) -> Self { function input_interface (line 45) | pub fn input_interface(mut self, index: u32) -> Self { function output_interface (line 51) | pub fn output_interface(mut self, index: u32) -> Self { function table (line 59) | pub fn table(mut self, table: u8) -> Self { function protocol (line 67) | pub fn protocol(mut self, protocol: u8) -> Self { function scope (line 75) | pub fn scope(mut self, scope: u8) -> Self { function kind (line 83) | pub fn kind(mut self, kind: u8) -> Self { function v4 (line 89) | pub fn v4(mut self) -> RouteAddRequest { function v6 (line 100) | pub fn v6(mut self) -> RouteAddRequest { function replace (line 111) | pub fn replace(self) -> Self { function execute (line 119) | pub async fn execute(self) -> Result<(), Error> { function message_mut (line 138) | pub fn message_mut(&mut self) -> &mut RouteMessage { function source_prefix (line 145) | pub fn source_prefix(mut self, addr: Ipv4Addr, prefix_length: u8) -> Self { function pref_source (line 153) | pub fn pref_source(mut self, addr: Ipv4Addr) -> Self { function destination_prefix (line 160) | pub fn destination_prefix(mut self, addr: Ipv4Addr, prefix_length: u8) -... function gateway (line 168) | pub fn gateway(mut self, addr: Ipv4Addr) -> Self { function source_prefix (line 177) | pub fn source_prefix(mut self, addr: Ipv6Addr, prefix_length: u8) -> Self { function pref_source (line 185) | pub fn pref_source(mut self, addr: Ipv6Addr) -> Self { function destination_prefix (line 192) | pub fn destination_prefix(mut self, addr: Ipv6Addr, prefix_length: u8) -... function gateway (line 200) | pub fn gateway(mut self, addr: Ipv6Addr) -> Self { FILE: rtnetlink/src/route/del.rs type RouteDelRequest (line 11) | pub struct RouteDelRequest { method new (line 17) | pub(crate) fn new(handle: Handle, message: RouteMessage) -> Self { method execute (line 22) | pub async fn execute(self) -> Result<(), Error> { method message_mut (line 39) | pub fn message_mut(&mut self) -> &mut RouteMessage { FILE: rtnetlink/src/route/get.rs type RouteGetRequest (line 13) | pub struct RouteGetRequest { method new (line 37) | pub(crate) fn new(handle: Handle, ip_version: IpVersion) -> Self { method message_mut (line 60) | pub fn message_mut(&mut self) -> &mut RouteMessage { method execute (line 64) | pub fn execute(self) -> impl TryStream u8 { FILE: rtnetlink/src/route/handle.rs type RouteHandle (line 6) | pub struct RouteHandle(Handle); method new (line 9) | pub fn new(handle: Handle) -> Self { method get (line 14) | pub fn get(&self, ip_version: IpVersion) -> RouteGetRequest { method add (line 19) | pub fn add(&self) -> RouteAddRequest { method del (line 24) | pub fn del(&self, route: RouteMessage) -> RouteDelRequest { FILE: rtnetlink/src/rule/add.rs type RuleAddRequest (line 20) | pub struct RuleAddRequest { function new (line 28) | pub(crate) fn new(handle: Handle) -> Self { function input_interface (line 43) | pub fn input_interface(mut self, ifname: String) -> Self { function output_interface (line 49) | pub fn output_interface(mut self, ifname: String) -> Self { function table (line 57) | pub fn table(mut self, table: u8) -> Self { function tos (line 63) | pub fn tos(mut self, tos: u8) -> Self { function action (line 69) | pub fn action(mut self, action: u8) -> Self { function priority (line 75) | pub fn priority(mut self, priority: u32) -> Self { function v4 (line 81) | pub fn v4(mut self) -> RuleAddRequest { function v6 (line 92) | pub fn v6(mut self) -> RuleAddRequest { function replace (line 103) | pub fn replace(self) -> Self { function execute (line 111) | pub async fn execute(self) -> Result<(), Error> { function message_mut (line 130) | pub fn message_mut(&mut self) -> &mut RuleMessage { function source_prefix (line 137) | pub fn source_prefix(mut self, addr: Ipv4Addr, prefix_length: u8) -> Self { function destination_prefix (line 145) | pub fn destination_prefix(mut self, addr: Ipv4Addr, prefix_length: u8) -... function source_prefix (line 155) | pub fn source_prefix(mut self, addr: Ipv6Addr, prefix_length: u8) -> Self { function destination_prefix (line 163) | pub fn destination_prefix(mut self, addr: Ipv6Addr, prefix_length: u8) -... FILE: rtnetlink/src/rule/del.rs type RuleDelRequest (line 12) | pub struct RuleDelRequest { method new (line 18) | pub(crate) fn new(handle: Handle, message: RuleMessage) -> Self { method execute (line 23) | pub async fn execute(self) -> Result<(), Error> { method message_mut (line 38) | pub fn message_mut(&mut self) -> &mut RuleMessage { FILE: rtnetlink/src/rule/get.rs type RuleGetRequest (line 14) | pub struct RuleGetRequest { method new (line 20) | pub(crate) fn new(handle: Handle, ip_version: IpVersion) -> Self { method message_mut (line 33) | pub fn message_mut(&mut self) -> &mut RuleMessage { method execute (line 37) | pub fn execute(self) -> impl TryStream { FILE: rtnetlink/src/rule/handle.rs type RuleHandle (line 6) | pub struct RuleHandle(Handle); method new (line 9) | pub fn new(handle: Handle) -> Self { method get (line 14) | pub fn get(&self, ip_version: IpVersion) -> RuleGetRequest { method add (line 19) | pub fn add(&self) -> RuleAddRequest { method del (line 24) | pub fn del(&self, rule: RuleMessage) -> RuleDelRequest { FILE: rtnetlink/src/traffic_control/add_filter.rs type TrafficFilterNewRequest (line 21) | pub struct TrafficFilterNewRequest { method new (line 28) | pub(crate) fn new(handle: Handle, ifindex: i32, flags: u16) -> Self { method execute (line 37) | pub async fn execute(self) -> Result<(), Error> { method index (line 56) | pub fn index(mut self, index: i32) -> Self { method block (line 64) | pub fn block(mut self, block_index: u32) -> Self { method parent (line 74) | pub fn parent(mut self, parent: u32) -> Self { method root (line 81) | pub fn root(mut self) -> Self { method ingress (line 88) | pub fn ingress(mut self) -> Self { method egress (line 95) | pub fn egress(mut self) -> Self { method priority (line 103) | pub fn priority(mut self, priority: u16) -> Self { method protocol (line 112) | pub fn protocol(mut self, protocol: u16) -> Self { method u32 (line 120) | pub fn u32(mut self, data: Vec) -> Self { method redirect (line 139) | pub fn redirect(self, dst_index: u32) -> Self { constant TEST_NS (line 178) | const TEST_NS: &str = "netlink_test_filter_ns"; constant TEST_VETH_1 (line 179) | const TEST_VETH_1: &str = "test_veth_1"; constant TEST_VETH_2 (line 180) | const TEST_VETH_2: &str = "test_veth_2"; type Netns (line 182) | struct Netns { method new (line 189) | async fn new(path: &str) -> Self { method drop (line 209) | fn drop(&mut self) { function setup_env (line 223) | async fn setup_env() -> (Handle, LinkMessage, LinkMessage, Netns) { function test_async_new_filter (line 253) | async fn test_async_new_filter() { function test_new_filter (line 331) | fn test_new_filter() { FILE: rtnetlink/src/traffic_control/add_qdisc.rs type QDiscNewRequest (line 20) | pub struct QDiscNewRequest { method new (line 27) | pub(crate) fn new(handle: Handle, message: TcMessage, flags: u16) -> S... method execute (line 36) | pub async fn execute(self) -> Result<(), Error> { method handle (line 54) | pub fn handle(mut self, maj: u16, min: u16) -> Self { method root (line 60) | pub fn root(mut self) -> Self { method parent (line 67) | pub fn parent(mut self, parent: u32) -> Self { method ingress (line 74) | pub fn ingress(mut self) -> Self { constant TEST_NS (line 106) | const TEST_NS: &str = "netlink_test_qdisc_ns"; constant TEST_DUMMY (line 107) | const TEST_DUMMY: &str = "test_dummy"; type Netns (line 109) | struct Netns { method new (line 116) | async fn new(path: &str) -> Self { method drop (line 136) | fn drop(&mut self) { function setup_env (line 150) | async fn setup_env() -> (Handle, LinkMessage, Netns) { function test_async_new_qdisc (line 173) | async fn test_async_new_qdisc() { function test_new_qdisc (line 210) | fn test_new_qdisc() { FILE: rtnetlink/src/traffic_control/del_qdisc.rs type QDiscDelRequest (line 11) | pub struct QDiscDelRequest { method new (line 17) | pub(crate) fn new(handle: Handle, message: TcMessage) -> Self { method execute (line 22) | pub async fn execute(self) -> Result<(), Error> { method message_mut (line 39) | pub fn message_mut(&mut self) -> &mut TcMessage { FILE: rtnetlink/src/traffic_control/get.rs type QDiscGetRequest (line 16) | pub struct QDiscGetRequest { method new (line 22) | pub(crate) fn new(handle: Handle) -> Self { method execute (line 30) | pub fn execute(self) -> impl TryStream { method index (line 47) | pub fn index(mut self, index: i32) -> Self { method ingress (line 53) | pub fn ingress(mut self) -> Self { type TrafficClassGetRequest (line 60) | pub struct TrafficClassGetRequest { method new (line 66) | pub(crate) fn new(handle: Handle, ifindex: i32) -> Self { method execute (line 73) | pub fn execute(self) -> impl TryStream { type TrafficFilterGetRequest (line 91) | pub struct TrafficFilterGetRequest { method new (line 97) | pub(crate) fn new(handle: Handle, ifindex: i32) -> Self { method execute (line 104) | pub fn execute(self) -> impl TryStream { method root (line 122) | pub fn root(mut self) -> Self { type TrafficChainGetRequest (line 129) | pub struct TrafficChainGetRequest { method new (line 135) | pub(crate) fn new(handle: Handle, ifindex: i32) -> Self { method execute (line 142) | pub fn execute(self) -> impl TryStream { FILE: rtnetlink/src/traffic_control/handle.rs type QDiscHandle (line 18) | pub struct QDiscHandle(Handle); method new (line 21) | pub fn new(handle: Handle) -> Self { method get (line 26) | pub fn get(&mut self) -> QDiscGetRequest { method add (line 32) | pub fn add(&mut self, index: i32) -> QDiscNewRequest { method change (line 40) | pub fn change(&mut self, index: i32) -> QDiscNewRequest { method replace (line 47) | pub fn replace(&mut self, index: i32) -> QDiscNewRequest { method link (line 54) | pub fn link(&mut self, index: i32) -> QDiscNewRequest { method del (line 60) | pub fn del(&mut self, index: i32) -> QDiscDelRequest { type TrafficClassHandle (line 66) | pub struct TrafficClassHandle { method new (line 72) | pub fn new(handle: Handle, ifindex: i32) -> Self { method get (line 78) | pub fn get(&mut self) -> TrafficClassGetRequest { type TrafficFilterHandle (line 83) | pub struct TrafficFilterHandle { method new (line 89) | pub fn new(handle: Handle, ifindex: i32) -> Self { method get (line 95) | pub fn get(&mut self) -> TrafficFilterGetRequest { method add (line 101) | pub fn add(&mut self) -> TrafficFilterNewRequest { method change (line 108) | pub fn change(&mut self) -> TrafficFilterNewRequest { method replace (line 114) | pub fn replace(&mut self) -> TrafficFilterNewRequest { type TrafficChainHandle (line 119) | pub struct TrafficChainHandle { method new (line 125) | pub fn new(handle: Handle, ifindex: i32) -> Self { method get (line 131) | pub fn get(&mut self) -> TrafficChainGetRequest { FILE: rtnetlink/src/traffic_control/test.rs function _get_qdiscs (line 21) | async fn _get_qdiscs() -> Vec { function test_get_qdiscs (line 33) | fn test_get_qdiscs() { function _get_tclasses (line 45) | async fn _get_tclasses(ifindex: i32) -> Vec { function _get_test_dummy_interface_index (line 57) | fn _get_test_dummy_interface_index() -> i32 { function _add_test_dummy_interface (line 70) | fn _add_test_dummy_interface() -> i32 { function _remove_test_dummy_interface (line 88) | fn _remove_test_dummy_interface() { function _add_test_tclass_to_dummy (line 102) | fn _add_test_tclass_to_dummy() { function _add_test_filter_to_dummy (line 152) | fn _add_test_filter_to_dummy() { function _remove_test_tclass_from_dummy (line 175) | fn _remove_test_tclass_from_dummy() { function _remove_test_filter_from_dummy (line 205) | fn _remove_test_filter_from_dummy() { function _get_filters (line 217) | async fn _get_filters(ifindex: i32) -> Vec { function _get_chains (line 228) | async fn _get_chains(ifindex: i32) -> Vec { function test_get_traffic_classes_filters_and_chains (line 261) | fn test_get_traffic_classes_filters_and_chains() {