#include <linux/types.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/timer.h>
#include <net/irda/irqueue.h>
#include <net/irda/qos.h>
#include <net/irda/discovery.h>
#include <net/irda/irlap_event.h>
#include <net/irda/irmod.h>
Go to the source code of this file.
|
int | irlap_init (void) |
|
void | irlap_cleanup (void) |
|
struct irlap_cb * | irlap_open (struct net_device *dev, struct qos_info *qos, const char *hw_name) |
|
void | irlap_close (struct irlap_cb *self) |
|
void | irlap_connect_request (struct irlap_cb *self, __u32 daddr, struct qos_info *qos, int sniff) |
|
void | irlap_connect_response (struct irlap_cb *self, struct sk_buff *skb) |
|
void | irlap_connect_indication (struct irlap_cb *self, struct sk_buff *skb) |
|
void | irlap_connect_confirm (struct irlap_cb *, struct sk_buff *skb) |
|
void | irlap_data_indication (struct irlap_cb *, struct sk_buff *, int unreliable) |
|
void | irlap_data_request (struct irlap_cb *, struct sk_buff *, int unreliable) |
|
void | irlap_disconnect_request (struct irlap_cb *) |
|
void | irlap_disconnect_indication (struct irlap_cb *, LAP_REASON reason) |
|
void | irlap_status_indication (struct irlap_cb *, int quality_of_link) |
|
void | irlap_test_request (__u8 *info, int len) |
|
void | irlap_discovery_request (struct irlap_cb *, discovery_t *discovery) |
|
void | irlap_discovery_confirm (struct irlap_cb *, hashbin_t *discovery_log) |
|
void | irlap_discovery_indication (struct irlap_cb *, discovery_t *discovery) |
|
void | irlap_reset_indication (struct irlap_cb *self) |
|
void | irlap_reset_confirm (void) |
|
void | irlap_update_nr_received (struct irlap_cb *, int nr) |
|
int | irlap_validate_nr_received (struct irlap_cb *, int nr) |
|
int | irlap_validate_ns_received (struct irlap_cb *, int ns) |
|
int | irlap_generate_rand_time_slot (int S, int s) |
|
void | irlap_initiate_connection_state (struct irlap_cb *) |
|
void | irlap_flush_all_queues (struct irlap_cb *) |
|
void | irlap_wait_min_turn_around (struct irlap_cb *, struct qos_info *) |
|
void | irlap_apply_default_connection_parameters (struct irlap_cb *self) |
|
void | irlap_apply_connection_parameters (struct irlap_cb *self, int now) |
|
#define BROADCAST 0xffffffff /* Broadcast device address */ |
#define CBROADCAST 0xfe /* Connection broadcast address */ |
#define CONFIG_IRDA_DYNAMIC_WINDOW 1 |
#define IRLAP_GET_TX_QUEUE_LEN |
( |
|
self | ) |
skb_queue_len(&self->txq) |
#define LAP_ADDR_HEADER 1 /* IrLAP Address Header */ |
#define LAP_CTRL_HEADER 1 /* IrLAP Control Header */ |
#define LAP_HIGH_THRESHOLD 2 |
#define LAP_WINDOW_SIZE 8 |
#define XID_FORMAT 0x01 /* Discovery XID format */ |
int irlap_generate_rand_time_slot |
( |
int |
S, |
|
|
int |
s |
|
) |
| |