netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
mnl.h File Reference
#include <stdint.h>
#include <libmnl/libmnl.h>
#include <libipset/transport.h>
Include dependency graph for mnl.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  nfgenmsg
 

Macros

#define NFNETLINK_V0   0
 

Functions

int ipset_get_nlmsg_type (const struct nlmsghdr *nlh)
 ipset_get_nlmsg_type - get ipset netlink message type : pointer to the netlink message header More...
 

Variables

const struct ipset_transport ipset_mnl_transport
 

Macro Definition Documentation

#define NFNETLINK_V0   0

Function Documentation

int ipset_get_nlmsg_type ( const struct nlmsghdr nlh)

ipset_get_nlmsg_type - get ipset netlink message type : pointer to the netlink message header

Returns the ipset netlink message type, i.e. the ipset command.

References NFNL_SUBSYS_IPSET, and nlmsghdr::nlmsg_type.

Referenced by ipset_debug_msg().

Here is the caller graph for this function:

Variable Documentation

const struct ipset_transport ipset_mnl_transport

Referenced by ipset_session_init().