Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
af_x25.c File Reference
#include <linux/module.h>
#include <linux/capability.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/timer.h>
#include <linux/string.h>
#include <linux/net.h>
#include <linux/netdevice.h>
#include <linux/if_arp.h>
#include <linux/skbuff.h>
#include <linux/slab.h>
#include <net/sock.h>
#include <net/tcp_states.h>
#include <asm/uaccess.h>
#include <linux/fcntl.h>
#include <linux/termios.h>
#include <linux/notifier.h>
#include <linux/init.h>
#include <linux/compat.h>
#include <linux/ctype.h>
#include <net/x25.h>
#include <net/compat.h>

Go to the source code of this file.

Functions

 HLIST_HEAD (x25_list)
 
 DEFINE_RWLOCK (x25_list_lock)
 
int x25_parse_address_block (struct sk_buff *skb, struct x25_address *called_addr, struct x25_address *calling_addr)
 
int x25_addr_ntoa (unsigned char *p, struct x25_address *called_addr, struct x25_address *calling_addr)
 
int x25_addr_aton (unsigned char *p, struct x25_address *called_addr, struct x25_address *calling_addr)
 
struct sockx25_find_socket (unsigned int lci, struct x25_neigh *nb)
 
void x25_destroy_socket_from_timer (struct sock *sk)
 
int x25_rx_call_request (struct sk_buff *skb, struct x25_neigh *nb, unsigned int lci)
 
void x25_kill_by_neigh (struct x25_neigh *nb)
 
 module_init (x25_init)
 
 module_exit (x25_exit)
 
 MODULE_AUTHOR ("Jonathan Naylor <[email protected]>")
 
 MODULE_DESCRIPTION ("The X.25 Packet Layer network layer protocol")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS_NETPROTO (PF_X25)
 

Variables

int sysctl_x25_restart_request_timeout = X25_DEFAULT_T20
 
int sysctl_x25_call_request_timeout = X25_DEFAULT_T21
 
int sysctl_x25_reset_request_timeout = X25_DEFAULT_T22
 
int sysctl_x25_clear_request_timeout = X25_DEFAULT_T23
 
int sysctl_x25_ack_holdback_timeout = X25_DEFAULT_T2
 
int sysctl_x25_forward = 0
 

Function Documentation

DEFINE_RWLOCK ( x25_list_lock  )
HLIST_HEAD ( x25_list  )
MODULE_ALIAS_NETPROTO ( PF_X25  )
MODULE_AUTHOR ( "Jonathan Naylor <[email protected]>"  )
MODULE_DESCRIPTION ( "The X.25 Packet Layer network layer protocol )
module_exit ( x25_exit  )
module_init ( x25_init  )
MODULE_LICENSE ( "GPL"  )
int x25_addr_aton ( unsigned char p,
struct x25_address called_addr,
struct x25_address calling_addr 
)

Definition at line 157 of file af_x25.c.

int x25_addr_ntoa ( unsigned char p,
struct x25_address called_addr,
struct x25_address calling_addr 
)

Definition at line 120 of file af_x25.c.

void x25_destroy_socket_from_timer ( struct sock sk)

Definition at line 426 of file af_x25.c.

struct sock* x25_find_socket ( unsigned int  lci,
struct x25_neigh nb 
)
read

Definition at line 338 of file af_x25.c.

void x25_kill_by_neigh ( struct x25_neigh nb)

Definition at line 1782 of file af_x25.c.

int x25_parse_address_block ( struct sk_buff skb,
struct x25_address called_addr,
struct x25_address calling_addr 
)

Definition at line 86 of file af_x25.c.

int x25_rx_call_request ( struct sk_buff skb,
struct x25_neigh nb,
unsigned int  lci 
)

Definition at line 921 of file af_x25.c.

Variable Documentation

int sysctl_x25_ack_holdback_timeout = X25_DEFAULT_T2

Definition at line 67 of file af_x25.c.

int sysctl_x25_call_request_timeout = X25_DEFAULT_T21

Definition at line 64 of file af_x25.c.

int sysctl_x25_clear_request_timeout = X25_DEFAULT_T23

Definition at line 66 of file af_x25.c.

int sysctl_x25_forward = 0

Definition at line 68 of file af_x25.c.

int sysctl_x25_reset_request_timeout = X25_DEFAULT_T22

Definition at line 65 of file af_x25.c.

int sysctl_x25_restart_request_timeout = X25_DEFAULT_T20

Definition at line 63 of file af_x25.c.