Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
l2tp_netlink.c File Reference
#include <net/sock.h>
#include <net/genetlink.h>
#include <net/udp.h>
#include <linux/in.h>
#include <linux/udp.h>
#include <linux/socket.h>
#include <linux/module.h>
#include <linux/list.h>
#include <net/net_namespace.h>
#include <linux/l2tp.h>
#include "l2tp_core.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 

Functions

int l2tp_nl_register_ops (enum l2tp_pwtype pw_type, const struct l2tp_nl_cmd_ops *ops)
 
 EXPORT_SYMBOL_GPL (l2tp_nl_register_ops)
 
void l2tp_nl_unregister_ops (enum l2tp_pwtype pw_type)
 
 EXPORT_SYMBOL_GPL (l2tp_nl_unregister_ops)
 
 module_init (l2tp_nl_init)
 
 module_exit (l2tp_nl_cleanup)
 
 MODULE_AUTHOR ("James Chapman <[email protected]>")
 
 MODULE_DESCRIPTION ("L2TP netlink")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION ("1.0")
 
 MODULE_ALIAS_GENL_FAMILY ("l2tp")
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 17 of file l2tp_netlink.c.

Function Documentation

EXPORT_SYMBOL_GPL ( l2tp_nl_register_ops  )
EXPORT_SYMBOL_GPL ( l2tp_nl_unregister_ops  )
int l2tp_nl_register_ops ( enum l2tp_pwtype  pw_type,
const struct l2tp_nl_cmd_ops ops 
)

Definition at line 870 of file l2tp_netlink.c.

void l2tp_nl_unregister_ops ( enum l2tp_pwtype  pw_type)

Definition at line 893 of file l2tp_netlink.c.

MODULE_ALIAS_GENL_FAMILY ( "l2tp"  )
MODULE_AUTHOR ( "James Chapman <[email protected]>"  )
MODULE_DESCRIPTION ( "L2TP netlink"  )
module_exit ( l2tp_nl_cleanup  )
module_init ( l2tp_nl_init  )
MODULE_LICENSE ( "GPL"  )
MODULE_VERSION ( "1.0"  )