Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
irlan_common.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/gfp.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/proc_fs.h>
#include <linux/sched.h>
#include <linux/seq_file.h>
#include <linux/random.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/rtnetlink.h>
#include <linux/moduleparam.h>
#include <linux/bitops.h>
#include <asm/byteorder.h>
#include <net/irda/irda.h>
#include <net/irda/irttp.h>
#include <net/irda/irlmp.h>
#include <net/irda/iriap.h>
#include <net/irda/timer.h>
#include <net/irda/irlan_common.h>
#include <net/irda/irlan_client.h>
#include <net/irda/irlan_provider.h>
#include <net/irda/irlan_eth.h>
#include <net/irda/irlan_filter.h>

Go to the source code of this file.

Functions

void irlan_close_tsaps (struct irlan_cb *self)
 
struct irlan_cbirlan_get_any (void)
 
void irlan_open_data_tsap (struct irlan_cb *self)
 
void irlan_ias_register (struct irlan_cb *self, __u8 tsap_sel)
 
int irlan_run_ctrl_tx_queue (struct irlan_cb *self)
 
void irlan_get_provider_info (struct irlan_cb *self)
 
void irlan_open_data_channel (struct irlan_cb *self)
 
void irlan_close_data_channel (struct irlan_cb *self)
 
void irlan_set_broadcast_filter (struct irlan_cb *self, int status)
 
void irlan_set_multicast_filter (struct irlan_cb *self, int status)
 
void irlan_get_media_char (struct irlan_cb *self)
 
int irlan_insert_byte_param (struct sk_buff *skb, char *param, __u8 value)
 
int irlan_insert_short_param (struct sk_buff *skb, char *param, __u16 value)
 
int irlan_insert_string_param (struct sk_buff *skb, char *param, char *string)
 
int irlan_insert_array_param (struct sk_buff *skb, char *name, __u8 *array, __u16 array_len)
 
int irlan_extract_param (__u8 *buf, char *name, char *value, __u16 *len)
 
 MODULE_AUTHOR ("Dag Brattli <dagb@cs.uit.no>")
 
 MODULE_DESCRIPTION ("The Linux IrDA LAN protocol")
 
 MODULE_LICENSE ("GPL")
 
 module_param (eth, bool, 0)
 
 MODULE_PARM_DESC (eth,"Name devices ethX (0) or irlanX (1)")
 
 module_param (access, int, 0)
 
 MODULE_PARM_DESC (access,"Access type DIRECT=1, PEER=2, HOSTED=3")
 
 module_init (irlan_init)
 
 module_exit (irlan_cleanup)
 

Function Documentation

void irlan_close_data_channel ( struct irlan_cb self)

Definition at line 703 of file irlan_common.c.

void irlan_close_tsaps ( struct irlan_cb self)

Definition at line 496 of file irlan_common.c.

int irlan_extract_param ( __u8 buf,
char name,
char value,
__u16 len 
)

Definition at line 1076 of file irlan_common.c.

struct irlan_cb* irlan_get_any ( void  )
read

Definition at line 292 of file irlan_common.c.

void irlan_get_media_char ( struct irlan_cb self)

Definition at line 915 of file irlan_common.c.

void irlan_get_provider_info ( struct irlan_cb self)

Definition at line 635 of file irlan_common.c.

void irlan_ias_register ( struct irlan_cb self,
__u8  tsap_sel 
)

Definition at line 530 of file irlan_common.c.

int irlan_insert_array_param ( struct sk_buff skb,
char name,
__u8 array,
__u16  array_len 
)

Definition at line 982 of file irlan_common.c.

int irlan_insert_byte_param ( struct sk_buff skb,
char param,
__u8  value 
)

Definition at line 952 of file irlan_common.c.

int irlan_insert_short_param ( struct sk_buff skb,
char param,
__u16  value 
)

Definition at line 957 of file irlan_common.c.

int irlan_insert_string_param ( struct sk_buff skb,
char param,
char string 
)

Definition at line 968 of file irlan_common.c.

void irlan_open_data_channel ( struct irlan_cb self)

Definition at line 668 of file irlan_common.c.

void irlan_open_data_tsap ( struct irlan_cb self)

Definition at line 457 of file irlan_common.c.

int irlan_run_ctrl_tx_queue ( struct irlan_cb self)

Definition at line 584 of file irlan_common.c.

void irlan_set_broadcast_filter ( struct irlan_cb self,
int  status 
)

Definition at line 786 of file irlan_common.c.

void irlan_set_multicast_filter ( struct irlan_cb self,
int  status 
)

Definition at line 830 of file irlan_common.c.

MODULE_AUTHOR ( "Dag Brattli <dagb@cs.uit.no>"  )
MODULE_DESCRIPTION ( "The Linux IrDA LAN protocol )
module_exit ( irlan_cleanup  )
module_init ( irlan_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( eth  ,
bool  ,
 
)
module_param ( access  ,
int  ,
 
)
MODULE_PARM_DESC ( eth  ,
"Name devices ethX (0) or irlanX (1)"   
)
MODULE_PARM_DESC ( access  ,
"Access type  DIRECT = 1,
PEER  = 2 
)