Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
nfnetlink.h File Reference
#include <linux/netlink.h>
#include <linux/capability.h>
#include <net/netlink.h>
#include <uapi/linux/netfilter/nfnetlink.h>

Go to the source code of this file.

Data Structures

struct  nfnl_callback
 
struct  nfnetlink_subsystem
 

Macros

#define MODULE_ALIAS_NFNL_SUBSYS(subsys)   MODULE_ALIAS("nfnetlink-subsys-" __stringify(subsys))
 

Functions

int nfnetlink_subsys_register (const struct nfnetlink_subsystem *n)
 
int nfnetlink_subsys_unregister (const struct nfnetlink_subsystem *n)
 
int nfnetlink_has_listeners (struct net *net, unsigned int group)
 
int nfnetlink_send (struct sk_buff *skb, struct net *net, u32 pid, unsigned int group, int echo, gfp_t flags)
 
int nfnetlink_set_err (struct net *net, u32 pid, u32 group, int error)
 
int nfnetlink_unicast (struct sk_buff *skb, struct net *net, u_int32_t pid, int flags)
 
void nfnl_lock (void)
 
void nfnl_unlock (void)
 

Macro Definition Documentation

#define MODULE_ALIAS_NFNL_SUBSYS (   subsys)    MODULE_ALIAS("nfnetlink-subsys-" __stringify(subsys))

Definition at line 40 of file nfnetlink.h.

Function Documentation

int nfnetlink_has_listeners ( struct net net,
unsigned int  group 
)

Definition at line 108 of file nfnetlink.c.

int nfnetlink_send ( struct sk_buff skb,
struct net net,
u32  pid,
unsigned int  group,
int  echo,
gfp_t  flags 
)

Definition at line 114 of file nfnetlink.c.

int nfnetlink_set_err ( struct net net,
u32  pid,
u32  group,
int  error 
)

Definition at line 121 of file nfnetlink.c.

int nfnetlink_subsys_register ( const struct nfnetlink_subsystem n)

Definition at line 63 of file nfnetlink.c.

int nfnetlink_subsys_unregister ( const struct nfnetlink_subsystem n)

Definition at line 77 of file nfnetlink.c.

int nfnetlink_unicast ( struct sk_buff skb,
struct net net,
u_int32_t  pid,
int  flags 
)

Definition at line 127 of file nfnetlink.c.

void nfnl_lock ( void  )

Definition at line 51 of file nfnetlink.c.

void nfnl_unlock ( void  )

Definition at line 57 of file nfnetlink.c.