Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

irlmp_frame.h File Reference

#include <linux/skbuff.h>
#include <net/irda/discovery.h>

Include dependency graph for irlmp_frame.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define CONNECT_CMD   0x01
#define CONNECT_CNF   0x81
#define DISCONNECT   0x02
#define ACCESSMODE_CMD   0x03
#define ACCESSMODE_CNF   0x83
#define CONTROL_BIT   0x80

Functions

void irlmp_send_data_pdu (struct lap_cb *self, __u8 dlsap, __u8 slsap, int expedited, struct sk_buff *skb)
void irlmp_send_lcf_pdu (struct lap_cb *self, __u8 dlsap, __u8 slsap, __u8 opcode, struct sk_buff *skb)
void irlmp_link_data_indication (struct lap_cb *, struct sk_buff *, int unreliable)
void irlmp_link_connect_indication (struct lap_cb *, __u32 saddr, __u32 daddr, struct qos_info *qos, struct sk_buff *skb)
void irlmp_link_connect_request (__u32 daddr)
void irlmp_link_connect_confirm (struct lap_cb *self, struct qos_info *qos, struct sk_buff *skb)
void irlmp_link_disconnect_indication (struct lap_cb *, struct irlap_cb *, LAP_REASON reason, struct sk_buff *)
void irlmp_link_discovery_confirm (struct lap_cb *self, hashbin_t *log)
void irlmp_link_discovery_indication (struct lap_cb *, discovery_t *discovery)


Define Documentation

#define ACCESSMODE_CMD   0x03
 

Definition at line 37 of file irlmp_frame.h.

Referenced by irlmp_link_data_indication().

#define ACCESSMODE_CNF   0x83
 

Definition at line 38 of file irlmp_frame.h.

Referenced by irlmp_link_data_indication().

#define CONNECT_CMD   0x01
 

Definition at line 34 of file irlmp_frame.h.

Referenced by irlmp_find_lsap(), irlmp_link_data_indication(), and irlmp_state_setup_pend().

#define CONNECT_CNF   0x81
 

Definition at line 35 of file irlmp_frame.h.

Referenced by irlmp_link_data_indication(), and irlmp_state_connect().

#define CONTROL_BIT   0x80
 

Definition at line 40 of file irlmp_frame.h.

Referenced by irlmp_link_data_indication(), and irlmp_send_lcf_pdu().

#define DISCONNECT   0x02
 

Definition at line 36 of file irlmp_frame.h.


Function Documentation

void irlmp_link_connect_confirm struct lap_cb self,
struct qos_info qos,
struct sk_buff skb
 

Definition at line 321 of file irlmp_frame.c.

References ASSERT, dev_kfree_skb, IRDA_DEBUG, irlmp_do_lap_event(), LM_LAP_CONNECT_CONFIRM, LMP_LAP_MAGIC, lap_cb::magic, and NULL.

Referenced by irlap_connect_confirm().

Here is the call graph for this function:

void irlmp_link_connect_indication struct lap_cb ,
__u32  saddr,
__u32  daddr,
struct qos_info qos,
struct sk_buff skb
 

Definition at line 299 of file irlmp_frame.c.

References ASSERT, IRDA_DEBUG, irlmp_do_lap_event(), LM_LAP_CONNECT_INDICATION, and lap_cb::saddr.

Referenced by irlap_connect_indication().

Here is the call graph for this function:

void irlmp_link_connect_request __u32  daddr  ) 
 

void irlmp_link_data_indication struct lap_cb ,
struct sk_buff ,
int  unreliable
 

Definition at line 90 of file irlmp_frame.c.

References ACCESSMODE_CMD, ACCESSMODE_CNF, ASSERT, CONNECT_CMD, CONNECT_CNF, CONTROL_BIT, sk_buff::data, dev_kfree_skb, DISCONNECT, lsap_cb::dlsap_sel, fp, IRDA_DEBUG, irlmp, irlmp_data_indication(), irlmp_do_lsap_event(), irlmp_find_lsap(), irlmp_udata_indication(), lsap_cb::lap, sk_buff::len, LM_CONNECT_CONFIRM, LM_CONNECT_INDICATION, LM_DATA_INDICATION, LM_DISCONNECT_INDICATION, LM_UDATA_INDICATION, LMP_LAP_MAGIC, LSAP_DATA_TRANSFER_READY, LSAP_MASK, lsap_cb::lsap_state, lap_cb::lsaps, lap_cb::magic, NULL, lsap_cb::slsap_sel, and irlmp_cb::unconnected_lsaps.

Referenced by irlap_data_indication().

Here is the call graph for this function:

void irlmp_link_disconnect_indication struct lap_cb ,
struct irlap_cb ,
LAP_REASON  reason,
struct sk_buff
 

Definition at line 270 of file irlmp_frame.c.

References ASSERT, lap_cb::daddr, DEV_ADDR_ANY, dev_kfree_skb, IRDA_DEBUG, irlmp_do_lap_event(), LM_LAP_DISCONNECT_INDICATION, LMP_LAP_MAGIC, lap_cb::magic, NULL, and lap_cb::reason.

Referenced by irlap_disconnect_indication().

Here is the call graph for this function:

void irlmp_link_discovery_confirm struct lap_cb self,
hashbin_t log
 

Definition at line 369 of file irlmp_frame.c.

References ASSERT, irlmp_cb::cachelog, IRDA_DEBUG, irlmp, irlmp_add_discovery_log(), irlmp_do_lap_event(), LM_LAP_DISCOVERY_CONFIRM, LMP_LAP_MAGIC, lap_cb::magic, and NULL.

Referenced by irlap_discovery_confirm().

Here is the call graph for this function:

void irlmp_link_discovery_indication struct lap_cb ,
discovery_t discovery
 

Definition at line 346 of file irlmp_frame.c.

References ASSERT, irlmp_cb::cachelog, irlmp, irlmp_add_discovery(), irlmp_do_lap_event(), LM_LAP_DISCOVERY_CONFIRM, LMP_LAP_MAGIC, lap_cb::magic, and NULL.

Referenced by irlap_discovery_indication().

Here is the call graph for this function:

void irlmp_send_data_pdu struct lap_cb self,
__u8  dlsap,
__u8  slsap,
int  expedited,
struct sk_buff skb
[inline]
 

Definition at line 40 of file irlmp_frame.c.

References sk_buff::data, FALSE, IRDA_DEBUG, lap_cb::irlap, irlap_data_request(), and TRUE.

Referenced by irlmp_state_dtr().

Here is the call graph for this function:

void irlmp_send_lcf_pdu struct lap_cb self,
__u8  dlsap,
__u8  slsap,
__u8  opcode,
struct sk_buff skb
 

Definition at line 58 of file irlmp_frame.c.

References ASSERT, CONTROL_BIT, sk_buff::data, DISCONNECT, FALSE, IRDA_DEBUG, lap_cb::irlap, irlap_data_request(), LMP_LAP_MAGIC, lap_cb::magic, and NULL.

Referenced by irlmp_state_connect(), irlmp_state_dtr(), and irlmp_state_setup_pend().

Here is the call graph for this function: