Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
nfnetlink.c File Reference
#include <linux/module.h>
#include <linux/types.h>
#include <linux/socket.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/sockios.h>
#include <linux/net.h>
#include <linux/skbuff.h>
#include <asm/uaccess.h>
#include <net/sock.h>
#include <net/netlink.h>
#include <linux/init.h>
#include <linux/netlink.h>
#include <linux/netfilter/nfnetlink.h>

Go to the source code of this file.

Functions

 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Harald Welte <[email protected]>")
 
 MODULE_ALIAS_NET_PF_PROTO (PF_NETLINK, NETLINK_NETFILTER)
 
void nfnl_lock (void)
 
 EXPORT_SYMBOL_GPL (nfnl_lock)
 
void nfnl_unlock (void)
 
 EXPORT_SYMBOL_GPL (nfnl_unlock)
 
int nfnetlink_subsys_register (const struct nfnetlink_subsystem *n)
 
 EXPORT_SYMBOL_GPL (nfnetlink_subsys_register)
 
int nfnetlink_subsys_unregister (const struct nfnetlink_subsystem *n)
 
 EXPORT_SYMBOL_GPL (nfnetlink_subsys_unregister)
 
int nfnetlink_has_listeners (struct net *net, unsigned int group)
 
 EXPORT_SYMBOL_GPL (nfnetlink_has_listeners)
 
int nfnetlink_send (struct sk_buff *skb, struct net *net, u32 pid, unsigned int group, int echo, gfp_t flags)
 
 EXPORT_SYMBOL_GPL (nfnetlink_send)
 
int nfnetlink_set_err (struct net *net, u32 pid, u32 group, int error)
 
 EXPORT_SYMBOL_GPL (nfnetlink_set_err)
 
int nfnetlink_unicast (struct sk_buff *skb, struct net *net, u_int32_t pid, int flags)
 
 EXPORT_SYMBOL_GPL (nfnetlink_unicast)
 
 module_init (nfnetlink_init)
 
 module_exit (nfnetlink_exit)
 

Function Documentation

EXPORT_SYMBOL_GPL ( nfnl_lock  )
EXPORT_SYMBOL_GPL ( nfnl_unlock  )
EXPORT_SYMBOL_GPL ( nfnetlink_subsys_register  )
EXPORT_SYMBOL_GPL ( nfnetlink_subsys_unregister  )
EXPORT_SYMBOL_GPL ( nfnetlink_has_listeners  )
EXPORT_SYMBOL_GPL ( nfnetlink_send  )
EXPORT_SYMBOL_GPL ( nfnetlink_set_err  )
EXPORT_SYMBOL_GPL ( nfnetlink_unicast  )
MODULE_ALIAS_NET_PF_PROTO ( PF_NETLINK  ,
NETLINK_NETFILTER   
)
MODULE_AUTHOR ( "Harald Welte <[email protected]>"  )
module_exit ( nfnetlink_exit  )
module_init ( nfnetlink_init  )
MODULE_LICENSE ( "GPL"  )
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.