Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
af_ax25.c File Reference
#include <linux/capability.h>
#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/sched.h>
#include <linux/timer.h>
#include <linux/string.h>
#include <linux/sockios.h>
#include <linux/net.h>
#include <linux/slab.h>
#include <net/ax25.h>
#include <linux/inet.h>
#include <linux/netdevice.h>
#include <linux/if_arp.h>
#include <linux/skbuff.h>
#include <net/sock.h>
#include <asm/uaccess.h>
#include <linux/fcntl.h>
#include <linux/termios.h>
#include <linux/mm.h>
#include <linux/interrupt.h>
#include <linux/notifier.h>
#include <linux/proc_fs.h>
#include <linux/stat.h>
#include <linux/netfilter.h>
#include <linux/sysctl.h>
#include <linux/init.h>
#include <linux/spinlock.h>
#include <net/net_namespace.h>
#include <net/tcp_states.h>
#include <net/ip.h>
#include <net/arp.h>

Go to the source code of this file.

Functions

 HLIST_HEAD (ax25_list)
 
 DEFINE_SPINLOCK (ax25_list_lock)
 
void ax25_cb_add (ax25_cb *ax25)
 
struct sockax25_find_listener (ax25_address *addr, int digi, struct net_device *dev, int type)
 
struct sockax25_get_socket (ax25_address *my_addr, ax25_address *dest_addr, int type)
 
ax25_cbax25_find_cb (ax25_address *src_addr, ax25_address *dest_addr, ax25_digi *digi, struct net_device *dev)
 
 EXPORT_SYMBOL (ax25_find_cb)
 
void ax25_send_to_raw (ax25_address *addr, struct sk_buff *skb, int proto)
 
void ax25_destroy_socket (ax25_cb *)
 
void ax25_fillin_cb (ax25_cb *ax25, ax25_dev *ax25_dev)
 
ax25_cbax25_create_cb (void)
 
struct sockax25_make_new (struct sock *osk, struct ax25_dev *ax25_dev)
 
 module_init (ax25_init)
 
 MODULE_AUTHOR ("Jonathan Naylor G4KLX <[email protected]>")
 
 MODULE_DESCRIPTION ("The amateur radio AX.25 link layer protocol")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS_NETPROTO (PF_AX25)
 
 module_exit (ax25_exit)
 

Function Documentation

void ax25_cb_add ( ax25_cb ax25)

Definition at line 145 of file af_ax25.c.

ax25_cb* ax25_create_cb ( void  )

Definition at line 512 of file af_ax25.c.

void ax25_destroy_socket ( ax25_cb ax25)

Definition at line 297 of file af_ax25.c.

void ax25_fillin_cb ( ax25_cb ax25,
ax25_dev ax25_dev 
)

Definition at line 479 of file af_ax25.c.

ax25_cb* ax25_find_cb ( ax25_address src_addr,
ax25_address dest_addr,
ax25_digi digi,
struct net_device dev 
)

Definition at line 212 of file af_ax25.c.

struct sock* ax25_find_listener ( ax25_address addr,
int  digi,
struct net_device dev,
int  type 
)
read

Definition at line 157 of file af_ax25.c.

struct sock* ax25_get_socket ( ax25_address my_addr,
ax25_address dest_addr,
int  type 
)
read

Definition at line 185 of file af_ax25.c.

struct sock* ax25_make_new ( struct sock osk,
struct ax25_dev ax25_dev 
)
read

Definition at line 884 of file af_ax25.c.

void ax25_send_to_raw ( ax25_address addr,
struct sk_buff skb,
int  proto 
)

Definition at line 247 of file af_ax25.c.

DEFINE_SPINLOCK ( ax25_list_lock  )
EXPORT_SYMBOL ( ax25_find_cb  )
HLIST_HEAD ( ax25_list  )
MODULE_ALIAS_NETPROTO ( PF_AX25  )
MODULE_AUTHOR ( "Jonathan Naylor G4KLX <[email protected]>"  )
MODULE_DESCRIPTION ( "The amateur radio AX.25 link layer protocol )
module_exit ( ax25_exit  )
module_init ( ax25_init  )
MODULE_LICENSE ( "GPL"  )