Struct netlink_packet_generic::ctrl::GenlCtrl
source · pub struct GenlCtrl {
pub cmd: GenlCtrlCmd,
pub nlas: Vec<GenlCtrlAttrs>,
}
Expand description
Payload of generic netlink controller
Fields§
§cmd: GenlCtrlCmd
Command code of this message
nlas: Vec<GenlCtrlAttrs>
Netlink attributes in this message
Trait Implementations§
source§impl GenlFamily for GenlCtrl
impl GenlFamily for GenlCtrl
source§fn family_name() -> &'static str
fn family_name() -> &'static str
Return the unique family name registered in the kernel Read more
source§impl ParseableParametrized<[u8], GenlHeader> for GenlCtrl
impl ParseableParametrized<[u8], GenlHeader> for GenlCtrl
source§fn parse_with_param(buf: &[u8], header: GenlHeader) -> Result<Self, DecodeError>
fn parse_with_param(buf: &[u8], header: GenlHeader) -> Result<Self, DecodeError>
Deserialize the current type.