libnl 3.7.0

Informative structure passed on to message parser callbacks. More...

#include <netlink/genl/mngt.h>

Data Fields

struct sockaddr_nl * who
 Socket address of sender. More...
 
struct nlmsghdr * nlh
 Pointer to Netlink message header. More...
 
struct genlmsghdr * genlhdr
 Pointer to Generic Netlink message header. More...
 
void * userhdr
 Pointer to user header. More...
 
struct nlattr ** attrs
 Pointer to array of parsed attributes. More...
 

Detailed Description

Informative structure passed on to message parser callbacks.

This structure is passed on to all message parser callbacks and contains information about the sender of the message as well as pointers to all relevant sections of the parsed message.

See also
genl_cmd::c_msg_parser

Definition at line 31 of file mngt.h.

Field Documentation

◆ who

struct sockaddr_nl* genl_info::who

Socket address of sender.

Definition at line 34 of file mngt.h.

◆ nlh

struct nlmsghdr* genl_info::nlh

Pointer to Netlink message header.

Definition at line 37 of file mngt.h.

◆ genlhdr

struct genlmsghdr* genl_info::genlhdr

Pointer to Generic Netlink message header.

Definition at line 40 of file mngt.h.

◆ userhdr

void* genl_info::userhdr

Pointer to user header.

Definition at line 43 of file mngt.h.

◆ attrs

struct nlattr** genl_info::attrs

Pointer to array of parsed attributes.

Definition at line 46 of file mngt.h.