Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
lapb_iface.c File Reference
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/socket.h>
#include <linux/in.h>
#include <linux/kernel.h>
#include <linux/jiffies.h>
#include <linux/timer.h>
#include <linux/string.h>
#include <linux/sockios.h>
#include <linux/net.h>
#include <linux/inet.h>
#include <linux/if_arp.h>
#include <linux/skbuff.h>
#include <linux/slab.h>
#include <net/sock.h>
#include <asm/uaccess.h>
#include <linux/fcntl.h>
#include <linux/mm.h>
#include <linux/interrupt.h>
#include <linux/stat.h>
#include <linux/init.h>
#include <net/lapb.h>

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 

Functions

int lapb_register (struct net_device *dev, const struct lapb_register_struct *callbacks)
 
int lapb_unregister (struct net_device *dev)
 
int lapb_getparms (struct net_device *dev, struct lapb_parms_struct *parms)
 
int lapb_setparms (struct net_device *dev, struct lapb_parms_struct *parms)
 
int lapb_connect_request (struct net_device *dev)
 
int lapb_disconnect_request (struct net_device *dev)
 
int lapb_data_request (struct net_device *dev, struct sk_buff *skb)
 
int lapb_data_received (struct net_device *dev, struct sk_buff *skb)
 
void lapb_connect_confirmation (struct lapb_cb *lapb, int reason)
 
void lapb_connect_indication (struct lapb_cb *lapb, int reason)
 
void lapb_disconnect_confirmation (struct lapb_cb *lapb, int reason)
 
void lapb_disconnect_indication (struct lapb_cb *lapb, int reason)
 
int lapb_data_indication (struct lapb_cb *lapb, struct sk_buff *skb)
 
int lapb_data_transmit (struct lapb_cb *lapb, struct sk_buff *skb)
 
 EXPORT_SYMBOL (lapb_register)
 
 EXPORT_SYMBOL (lapb_unregister)
 
 EXPORT_SYMBOL (lapb_getparms)
 
 EXPORT_SYMBOL (lapb_setparms)
 
 EXPORT_SYMBOL (lapb_connect_request)
 
 EXPORT_SYMBOL (lapb_disconnect_request)
 
 EXPORT_SYMBOL (lapb_data_request)
 
 EXPORT_SYMBOL (lapb_data_received)
 
 MODULE_AUTHOR ("Jonathan Naylor <[email protected]>")
 
 MODULE_DESCRIPTION ("The X.25 Link Access Procedure B link layer protocol")
 
 MODULE_LICENSE ("GPL")
 
 module_init (lapb_init)
 
 module_exit (lapb_exit)
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 18 of file lapb_iface.c.

Function Documentation

EXPORT_SYMBOL ( lapb_register  )
EXPORT_SYMBOL ( lapb_unregister  )
EXPORT_SYMBOL ( lapb_getparms  )
EXPORT_SYMBOL ( lapb_setparms  )
EXPORT_SYMBOL ( lapb_connect_request  )
EXPORT_SYMBOL ( lapb_disconnect_request  )
EXPORT_SYMBOL ( lapb_data_request  )
EXPORT_SYMBOL ( lapb_data_received  )
void lapb_connect_confirmation ( struct lapb_cb lapb,
int  reason 
)

Definition at line 373 of file lapb_iface.c.

void lapb_connect_indication ( struct lapb_cb lapb,
int  reason 
)

Definition at line 379 of file lapb_iface.c.

int lapb_connect_request ( struct net_device dev)

Definition at line 266 of file lapb_iface.c.

int lapb_data_indication ( struct lapb_cb lapb,
struct sk_buff skb 
)

Definition at line 397 of file lapb_iface.c.

int lapb_data_received ( struct net_device dev,
struct sk_buff skb 
)

Definition at line 359 of file lapb_iface.c.

int lapb_data_request ( struct net_device dev,
struct sk_buff skb 
)

Definition at line 338 of file lapb_iface.c.

int lapb_data_transmit ( struct lapb_cb lapb,
struct sk_buff skb 
)

Definition at line 406 of file lapb_iface.c.

void lapb_disconnect_confirmation ( struct lapb_cb lapb,
int  reason 
)

Definition at line 385 of file lapb_iface.c.

void lapb_disconnect_indication ( struct lapb_cb lapb,
int  reason 
)

Definition at line 391 of file lapb_iface.c.

int lapb_disconnect_request ( struct net_device dev)

Definition at line 294 of file lapb_iface.c.

int lapb_getparms ( struct net_device dev,
struct lapb_parms_struct parms 
)

Definition at line 199 of file lapb_iface.c.

int lapb_register ( struct net_device dev,
const struct lapb_register_struct callbacks 
)

Definition at line 143 of file lapb_iface.c.

int lapb_setparms ( struct net_device dev,
struct lapb_parms_struct parms 
)

Definition at line 231 of file lapb_iface.c.

int lapb_unregister ( struct net_device dev)

Definition at line 175 of file lapb_iface.c.

MODULE_AUTHOR ( "Jonathan Naylor <[email protected]>"  )
MODULE_DESCRIPTION ( "The X.25 Link Access Procedure B link layer protocol )
module_exit ( lapb_exit  )
module_init ( lapb_init  )
MODULE_LICENSE ( "GPL"  )