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

ircomm_lmp.h File Reference

#include <net/irda/ircomm_core.h>
#include <net/irda/ircomm_event.h>

Include dependency graph for ircomm_lmp.h:

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

Go to the source code of this file.

Functions

int ircomm_open_lsap (struct ircomm_cb *self)
int ircomm_lmp_connect_request (struct ircomm_cb *self, struct sk_buff *userdata, struct ircomm_info *info)
int ircomm_lmp_connect_response (struct ircomm_cb *self, struct sk_buff *skb)
int ircomm_lmp_disconnect_request (struct ircomm_cb *self, struct sk_buff *userdata, struct ircomm_info *info)
int ircomm_lmp_data_request (struct ircomm_cb *self, struct sk_buff *skb, int clen)
int ircomm_lmp_control_request (struct ircomm_cb *self, struct sk_buff *userdata)
int ircomm_lmp_data_indication (void *instance, void *sap, struct sk_buff *skb)
void ircomm_lmp_connect_confirm (void *instance, void *sap, struct qos_info *qos, __u32 max_sdu_size, __u8 max_header_size, struct sk_buff *skb)
void ircomm_lmp_connect_indication (void *instance, void *sap, struct qos_info *qos, __u32 max_sdu_size, __u8 max_header_size, struct sk_buff *skb)
void ircomm_lmp_disconnect_indication (void *instance, void *sap, LM_REASON reason, struct sk_buff *skb)


Function Documentation

void ircomm_lmp_connect_confirm void *  instance,
void *  sap,
struct qos_info qos,
__u32  max_sdu_size,
__u8  max_header_size,
struct sk_buff skb
 

Definition at line 248 of file ircomm_lmp.c.

References ASSERT, ircomm_do_event(), IRCOMM_LMP_CONNECT_CONFIRM, IRCOMM_MAGIC, IRDA_DEBUG, ircomm_info::max_data_size, ircomm_info::max_header_size, NULL, and ircomm_info::qos.

Referenced by ircomm_open_lsap().

Here is the call graph for this function:

void ircomm_lmp_connect_indication void *  instance,
void *  sap,
struct qos_info qos,
__u32  max_sdu_size,
__u8  max_header_size,
struct sk_buff skb
 

Definition at line 278 of file ircomm_lmp.c.

References ASSERT, ircomm_do_event(), IRCOMM_LMP_CONNECT_INDICATION, IRCOMM_MAGIC, IRDA_DEBUG, ircomm_info::max_data_size, ircomm_info::max_header_size, NULL, and ircomm_info::qos.

Referenced by ircomm_open_lsap().

Here is the call graph for this function:

int ircomm_lmp_connect_request struct ircomm_cb self,
struct sk_buff userdata,
struct ircomm_info info
 

Definition at line 87 of file ircomm_lmp.c.

References ircomm_info::daddr, ircomm_info::dlsap_sel, IRDA_DEBUG, irlmp_connect_request(), ircomm_cb::lsap, NULL, ret, and ircomm_info::saddr.

Referenced by ircomm_open_lsap().

Here is the call graph for this function:

int ircomm_lmp_connect_response struct ircomm_cb self,
struct sk_buff skb
 

Definition at line 106 of file ircomm_lmp.c.

References IRDA_DEBUG, irlmp_connect_response(), ircomm_cb::lsap, and ret.

Referenced by ircomm_open_lsap().

Here is the call graph for this function:

int ircomm_lmp_control_request struct ircomm_cb self,
struct sk_buff userdata
 

int ircomm_lmp_data_indication void *  instance,
void *  sap,
struct sk_buff skb
 

Definition at line 225 of file ircomm_lmp.c.

References ASSERT, ircomm_do_event(), IRCOMM_LMP_DATA_INDICATION, IRCOMM_MAGIC, IRDA_DEBUG, and NULL.

Referenced by ircomm_open_lsap().

Here is the call graph for this function:

int ircomm_lmp_data_request struct ircomm_cb self,
struct sk_buff skb,
int  clen
 

Definition at line 187 of file ircomm_lmp.c.

References ASSERT, sk_buff::cb, sk_buff::destructor, dev_kfree_skb, ERROR, FLOW_START, FLOW_STOP, ircomm_lmp_flow_control(), IRDA_DEBUG, irlmp_data_request(), irda_skb_cb::line, NULL, and ret.

Referenced by ircomm_open_lsap().

Here is the call graph for this function:

void ircomm_lmp_disconnect_indication void *  instance,
void *  sap,
LM_REASON  reason,
struct sk_buff skb
 

Definition at line 307 of file ircomm_lmp.c.

References ASSERT, ircomm_do_event(), IRCOMM_LMP_DISCONNECT_INDICATION, IRCOMM_MAGIC, IRDA_DEBUG, NULL, and ircomm_info::reason.

Referenced by ircomm_open_lsap().

Here is the call graph for this function:

int ircomm_lmp_disconnect_request struct ircomm_cb self,
struct sk_buff userdata,
struct ircomm_info info
 

Definition at line 117 of file ircomm_lmp.c.

References ENOMEM, IRDA_DEBUG, irlmp_disconnect_request(), LMP_MAX_HEADER, ircomm_cb::lsap, and ret.

Referenced by ircomm_open_lsap().

Here is the call graph for this function:

int ircomm_open_lsap struct ircomm_cb self  ) 
 

Definition at line 48 of file ircomm_lmp.c.

References notify_t::connect_confirm, notify_t::connect_indication, notify_t::data_indication, notify_t::disconnect_indication, notify_t::instance, ircomm_lmp_connect_confirm(), ircomm_lmp_connect_indication(), ircomm_lmp_connect_request(), ircomm_lmp_connect_response(), ircomm_lmp_data_indication(), ircomm_lmp_data_request(), ircomm_lmp_disconnect_indication(), ircomm_lmp_disconnect_request(), IRDA_DEBUG, irda_notify_init(), irlmp_open_lsap(), ircomm_cb::lsap, LSAP_ANY, notify_t::name, ircomm_cb::notify, NOTIFY_MAX_NAME, and strncpy.

Referenced by ircomm_open().

Here is the call graph for this function: