|
libnl
3.7.0
|
Definition of a Generic Netlink command. More...
#include <netlink/genl/mngt.h>
Data Fields | |
| int | c_id |
| Numeric command identifier (required) | |
| char * | c_name |
| Human readable name (required) | |
| int | c_maxattr |
| Maximum attribute identifier that the command is prepared to handle. | |
| int(* | c_msg_parser )(struct nl_cache_ops *, struct genl_cmd *, struct genl_info *, void *) |
| Called whenever a message for this command is received. | |
| struct nla_policy * | c_attr_policy |
| Attribute validation policy, enforced before the callback is called. | |
Definition of a Generic Netlink command.
This structure is used to define the list of available commands on the receiving side.