Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
ircomm_core.h File Reference
#include <net/irda/irda.h>
#include <net/irda/irqueue.h>
#include <net/irda/ircomm_event.h>

Go to the source code of this file.

Data Structures

struct  call_t
 
struct  ircomm_cb
 

Macros

#define IRCOMM_MAGIC   0x98347298
 
#define IRCOMM_HEADER_SIZE   1
 
#define ircomm_is_connected(self)   (self->state == IRCOMM_CONN)
 

Functions

struct ircomm_cbircomm_open (notify_t *notify, __u8 service_type, int line)
 
int ircomm_close (struct ircomm_cb *self)
 
int ircomm_data_request (struct ircomm_cb *self, struct sk_buff *skb)
 
void ircomm_data_indication (struct ircomm_cb *self, struct sk_buff *skb)
 
void ircomm_process_data (struct ircomm_cb *self, struct sk_buff *skb)
 
int ircomm_control_request (struct ircomm_cb *self, struct sk_buff *skb)
 
int ircomm_connect_request (struct ircomm_cb *self, __u8 dlsap_sel, __u32 saddr, __u32 daddr, struct sk_buff *skb, __u8 service_type)
 
void ircomm_connect_indication (struct ircomm_cb *self, struct sk_buff *skb, struct ircomm_info *info)
 
void ircomm_connect_confirm (struct ircomm_cb *self, struct sk_buff *skb, struct ircomm_info *info)
 
int ircomm_connect_response (struct ircomm_cb *self, struct sk_buff *userdata)
 
int ircomm_disconnect_request (struct ircomm_cb *self, struct sk_buff *userdata)
 
void ircomm_disconnect_indication (struct ircomm_cb *self, struct sk_buff *skb, struct ircomm_info *info)
 
void ircomm_flow_request (struct ircomm_cb *self, LOCAL_FLOW flow)
 

Variables

hashbin_tircomm
 

Macro Definition Documentation

#define IRCOMM_HEADER_SIZE   1

Definition at line 39 of file ircomm_core.h.

#define ircomm_is_connected (   self)    (self->state == IRCOMM_CONN)

Definition at line 106 of file ircomm_core.h.

#define IRCOMM_MAGIC   0x98347298

Definition at line 38 of file ircomm_core.h.

Function Documentation

int ircomm_close ( struct ircomm_cb self)

Definition at line 188 of file ircomm_core.c.

void ircomm_connect_confirm ( struct ircomm_cb self,
struct sk_buff skb,
struct ircomm_info info 
)

Definition at line 291 of file ircomm_core.c.

void ircomm_connect_indication ( struct ircomm_cb self,
struct sk_buff skb,
struct ircomm_info info 
)

Definition at line 244 of file ircomm_core.c.

int ircomm_connect_request ( struct ircomm_cb self,
__u8  dlsap_sel,
__u32  saddr,
__u32  daddr,
struct sk_buff skb,
__u8  service_type 
)

Definition at line 213 of file ircomm_core.c.

int ircomm_connect_response ( struct ircomm_cb self,
struct sk_buff userdata 
)

Definition at line 269 of file ircomm_core.c.

int ircomm_control_request ( struct ircomm_cb self,
struct sk_buff skb 
)

Definition at line 399 of file ircomm_core.c.

void ircomm_data_indication ( struct ircomm_cb self,
struct sk_buff skb 
)

Definition at line 335 of file ircomm_core.c.

int ircomm_data_request ( struct ircomm_cb self,
struct sk_buff skb 
)

Definition at line 312 of file ircomm_core.c.

void ircomm_disconnect_indication ( struct ircomm_cb self,
struct sk_buff skb,
struct ircomm_info info 
)

Definition at line 479 of file ircomm_core.c.

int ircomm_disconnect_request ( struct ircomm_cb self,
struct sk_buff userdata 
)

Definition at line 456 of file ircomm_core.c.

void ircomm_flow_request ( struct ircomm_cb self,
LOCAL_FLOW  flow 
)

Definition at line 500 of file ircomm_core.c.

struct ircomm_cb* ircomm_open ( notify_t notify,
__u8  service_type,
int  line 
)
read

Definition at line 110 of file ircomm_core.c.

void ircomm_process_data ( struct ircomm_cb self,
struct sk_buff skb 
)

Definition at line 354 of file ircomm_core.c.

Variable Documentation

hashbin_t* ircomm

Definition at line 68 of file ircomm_core.c.