netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
genl_cmd Struct Reference

Generic Netlink Command. More...

#include <mngt.h>

Collaboration diagram for genl_cmd:

Data Fields

int c_id
 Unique command identifier. More...
 
char * c_name
 Name/description of command. More...
 
int c_maxattr
 Maximum attribute identifier, must be provided if a message parser is available. More...
 
int(* c_msg_parser )(struct nl_cache_ops *, struct genl_cmd *, struct genl_info *, void *)
 
struct nla_policyc_attr_policy
 Attribute validation policy (optional) More...
 

Detailed Description

Generic Netlink Command.

Field Documentation

struct nla_policy* genl_cmd::c_attr_policy

Attribute validation policy (optional)

int genl_cmd::c_id

Unique command identifier.

Referenced by genl_op2name().

int genl_cmd::c_maxattr

Maximum attribute identifier, must be provided if a message parser is available.

int(* genl_cmd::c_msg_parser)(struct nl_cache_ops *, struct genl_cmd *, struct genl_info *, void *)
char* genl_cmd::c_name

Name/description of command.

Referenced by genl_op2name().


The documentation for this struct was generated from the following file: