Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
irlap.c File Reference
#include <linux/slab.h>
#include <linux/string.h>
#include <linux/skbuff.h>
#include <linux/delay.h>
#include <linux/proc_fs.h>
#include <linux/init.h>
#include <linux/random.h>
#include <linux/module.h>
#include <linux/seq_file.h>
#include <net/irda/irda.h>
#include <net/irda/irda_device.h>
#include <net/irda/irqueue.h>
#include <net/irda/irlmp.h>
#include <net/irda/irlmp_frame.h>
#include <net/irda/irlap_frame.h>
#include <net/irda/irlap.h>
#include <net/irda/timer.h>
#include <net/irda/qos.h>

Go to the source code of this file.

Functions

void irlap_queue_xmit (struct irlap_cb *self, struct sk_buff *skb)
 
int __init irlap_init (void)
 
void irlap_cleanup (void)
 
struct irlap_cbirlap_open (struct net_device *dev, struct qos_info *qos, const char *hw_name)
 
 EXPORT_SYMBOL (irlap_open)
 
void irlap_close (struct irlap_cb *self)
 
 EXPORT_SYMBOL (irlap_close)
 
void irlap_connect_indication (struct irlap_cb *self, struct sk_buff *skb)
 
void irlap_connect_response (struct irlap_cb *self, struct sk_buff *userdata)
 
void irlap_connect_request (struct irlap_cb *self, __u32 daddr, struct qos_info *qos_user, int sniff)
 
void irlap_connect_confirm (struct irlap_cb *self, struct sk_buff *skb)
 
void irlap_data_indication (struct irlap_cb *self, struct sk_buff *skb, int unreliable)
 
void irlap_data_request (struct irlap_cb *self, struct sk_buff *skb, int unreliable)
 
void irlap_disconnect_request (struct irlap_cb *self)
 
void irlap_disconnect_indication (struct irlap_cb *self, LAP_REASON reason)
 
void irlap_discovery_request (struct irlap_cb *self, discovery_t *discovery)
 
void irlap_discovery_confirm (struct irlap_cb *self, hashbin_t *discovery_log)
 
void irlap_discovery_indication (struct irlap_cb *self, discovery_t *discovery)
 
void irlap_status_indication (struct irlap_cb *self, int quality_of_link)
 
void irlap_reset_indication (struct irlap_cb *self)
 
void irlap_reset_confirm (void)
 
int irlap_generate_rand_time_slot (int S, int s)
 
void irlap_update_nr_received (struct irlap_cb *self, int nr)
 
int irlap_validate_ns_received (struct irlap_cb *self, int ns)
 
int irlap_validate_nr_received (struct irlap_cb *self, int nr)
 
void irlap_initiate_connection_state (struct irlap_cb *self)
 
void irlap_wait_min_turn_around (struct irlap_cb *self, struct qos_info *qos)
 
void irlap_flush_all_queues (struct irlap_cb *self)
 
void irlap_apply_default_connection_parameters (struct irlap_cb *self)
 
void irlap_apply_connection_parameters (struct irlap_cb *self, int now)
 

Variables

int sysctl_slot_timeout = SLOT_TIMEOUT * 1000 / HZ
 
int sysctl_warn_noreply_time = 3
 

Function Documentation

EXPORT_SYMBOL ( irlap_open  )
EXPORT_SYMBOL ( irlap_close  )
void irlap_apply_connection_parameters ( struct irlap_cb self,
int  now 
)

Definition at line 1008 of file irlap.c.

void irlap_apply_default_connection_parameters ( struct irlap_cb self)

Definition at line 945 of file irlap.c.

void irlap_cleanup ( void  )

Definition at line 98 of file irlap.c.

void irlap_close ( struct irlap_cb self)

Definition at line 214 of file irlap.c.

void irlap_connect_confirm ( struct irlap_cb self,
struct sk_buff skb 
)

Definition at line 308 of file irlap.c.

void irlap_connect_indication ( struct irlap_cb self,
struct sk_buff skb 
)

Definition at line 247 of file irlap.c.

void irlap_connect_request ( struct irlap_cb self,
__u32  daddr,
struct qos_info qos_user,
int  sniff 
)

Definition at line 280 of file irlap.c.

void irlap_connect_response ( struct irlap_cb self,
struct sk_buff userdata 
)

Definition at line 266 of file irlap.c.

void irlap_data_indication ( struct irlap_cb self,
struct sk_buff skb,
int  unreliable 
)

Definition at line 325 of file irlap.c.

void irlap_data_request ( struct irlap_cb self,
struct sk_buff skb,
int  unreliable 
)

Definition at line 341 of file irlap.c.

void irlap_disconnect_indication ( struct irlap_cb self,
LAP_REASON  reason 
)

Definition at line 473 of file irlap.c.

void irlap_disconnect_request ( struct irlap_cb self)

Definition at line 438 of file irlap.c.

void irlap_discovery_confirm ( struct irlap_cb self,
hashbin_t discovery_log 
)

Definition at line 568 of file irlap.c.

void irlap_discovery_indication ( struct irlap_cb self,
discovery_t discovery 
)

Definition at line 599 of file irlap.c.

void irlap_discovery_request ( struct irlap_cb self,
discovery_t discovery 
)

Definition at line 506 of file irlap.c.

void irlap_flush_all_queues ( struct irlap_cb self)

Definition at line 845 of file irlap.c.

int irlap_generate_rand_time_slot ( int  S,
int  s 
)

Definition at line 673 of file irlap.c.

int __init irlap_init ( void  )

Definition at line 78 of file irlap.c.

void irlap_initiate_connection_state ( struct irlap_cb self)

Definition at line 789 of file irlap.c.

struct irlap_cb* irlap_open ( struct net_device dev,
struct qos_info qos,
const char hw_name 
)
read

Definition at line 111 of file irlap.c.

void irlap_queue_xmit ( struct irlap_cb self,
struct sk_buff skb 
)

Definition at line 93 of file irlap_frame.c.

void irlap_reset_confirm ( void  )

Definition at line 661 of file irlap.c.

void irlap_reset_indication ( struct irlap_cb self)

Definition at line 645 of file irlap.c.

void irlap_status_indication ( struct irlap_cb self,
int  quality_of_link 
)

Definition at line 626 of file irlap.c.

void irlap_update_nr_received ( struct irlap_cb self,
int  nr 
)

Definition at line 698 of file irlap.c.

int irlap_validate_nr_received ( struct irlap_cb self,
int  nr 
)

Definition at line 759 of file irlap.c.

int irlap_validate_ns_received ( struct irlap_cb self,
int  ns 
)

Definition at line 740 of file irlap.c.

void irlap_wait_min_turn_around ( struct irlap_cb self,
struct qos_info qos 
)

Definition at line 816 of file irlap.c.

Variable Documentation

int sysctl_slot_timeout = SLOT_TIMEOUT * 1000 / HZ

Definition at line 53 of file irlap.c.

int sysctl_warn_noreply_time = 3

Definition at line 58 of file irlap.c.