Home
last modified time | relevance | path

Searched refs:ircomm_cb (Results 1 – 9 of 9) sorted by relevance

/linux-2.4.37.9/include/net/irda/
Dircomm_core.h40 struct ircomm_cb; /* Forward decl. */
47 int (*data_request)(struct ircomm_cb *, struct sk_buff *, int clen);
48 int (*connect_request)(struct ircomm_cb *, struct sk_buff *,
50 int (*connect_response)(struct ircomm_cb *, struct sk_buff *);
51 int (*disconnect_request)(struct ircomm_cb *, struct sk_buff *,
55 struct ircomm_cb { struct
85 struct ircomm_cb *ircomm_open(notify_t *notify, __u8 service_type, int line); argument
86 int ircomm_close(struct ircomm_cb *self);
88 int ircomm_data_request(struct ircomm_cb *self, struct sk_buff *skb);
89 void ircomm_data_indication(struct ircomm_cb *self, struct sk_buff *skb);
[all …]
Dircomm_lmp.h37 int ircomm_open_lsap(struct ircomm_cb *self);
38 int ircomm_lmp_connect_request(struct ircomm_cb *self,
41 int ircomm_lmp_connect_response(struct ircomm_cb *self, struct sk_buff *skb);
42 int ircomm_lmp_disconnect_request(struct ircomm_cb *self,
45 int ircomm_lmp_data_request(struct ircomm_cb *self, struct sk_buff *skb,
47 int ircomm_lmp_control_request(struct ircomm_cb *self,
Dircomm_ttp.h37 int ircomm_open_tsap(struct ircomm_cb *self);
38 int ircomm_ttp_connect_request(struct ircomm_cb *self,
41 int ircomm_ttp_connect_response(struct ircomm_cb *self, struct sk_buff *skb);
42 int ircomm_ttp_disconnect_request(struct ircomm_cb *self,
45 int ircomm_ttp_data_request(struct ircomm_cb *self, struct sk_buff *skb,
47 int ircomm_ttp_control_request(struct ircomm_cb *self,
Dircomm_event.h78 struct ircomm_cb; /* Forward decl. */
80 int ircomm_do_event(struct ircomm_cb *self, IRCOMM_EVENT event,
82 void ircomm_next_state(struct ircomm_cb *self, IRCOMM_STATE state);
Dircomm_tty.h64 struct ircomm_cb *ircomm; /* IrCOMM layer instance */
/linux-2.4.37.9/net/irda/ircomm/
Dircomm_core.c50 static int __ircomm_close(struct ircomm_cb *self);
51 static void ircomm_control_indication(struct ircomm_cb *self,
98 struct ircomm_cb *ircomm_open(notify_t *notify, __u8 service_type, int line) in ircomm_open()
100 struct ircomm_cb *self = NULL; in ircomm_open()
108 self = kmalloc(sizeof(struct ircomm_cb), GFP_ATOMIC); in ircomm_open()
112 memset(self, 0, sizeof(struct ircomm_cb)); in ircomm_open()
145 static int __ircomm_close(struct ircomm_cb *self) in __ircomm_close()
176 int ircomm_close(struct ircomm_cb *self) in ircomm_close()
178 struct ircomm_cb *entry; in ircomm_close()
199 int ircomm_connect_request(struct ircomm_cb *self, __u8 dlsap_sel, in ircomm_connect_request()
[all …]
Dircomm_ttp.c48 int ircomm_open_tsap(struct ircomm_cb *self) in ircomm_open_tsap()
89 int ircomm_ttp_connect_request(struct ircomm_cb *self, in ircomm_ttp_connect_request()
109 int ircomm_ttp_connect_response(struct ircomm_cb *self, struct sk_buff *skb) in ircomm_ttp_connect_response()
129 int ircomm_ttp_data_request(struct ircomm_cb *self, struct sk_buff *skb, in ircomm_ttp_data_request()
165 struct ircomm_cb *self = (struct ircomm_cb *) instance; in ircomm_ttp_data_indication()
184 struct ircomm_cb *self = (struct ircomm_cb *) instance; in ircomm_ttp_connect_confirm()
221 struct ircomm_cb *self = (struct ircomm_cb *)instance; in ircomm_ttp_connect_indication()
251 int ircomm_ttp_disconnect_request(struct ircomm_cb *self, in ircomm_ttp_disconnect_request()
272 struct ircomm_cb *self = (struct ircomm_cb *) instance; in ircomm_ttp_disconnect_indication()
293 struct ircomm_cb *self = (struct ircomm_cb *) instance; in ircomm_ttp_flow_indication()
Dircomm_lmp.c48 int ircomm_open_lsap(struct ircomm_cb *self) in ircomm_open_lsap()
87 int ircomm_lmp_connect_request(struct ircomm_cb *self, in ircomm_lmp_connect_request()
106 int ircomm_lmp_connect_response(struct ircomm_cb *self, struct sk_buff *userdata) in ircomm_lmp_connect_response()
135 int ircomm_lmp_disconnect_request(struct ircomm_cb *self, in ircomm_lmp_disconnect_request()
168 struct ircomm_cb *self; in ircomm_lmp_flow_control()
179 self = (struct ircomm_cb *) hashbin_find(ircomm, line, NULL); in ircomm_lmp_flow_control()
205 int ircomm_lmp_data_request(struct ircomm_cb *self, struct sk_buff *skb, in ircomm_lmp_data_request()
246 struct ircomm_cb *self = (struct ircomm_cb *) instance; in ircomm_lmp_data_indication()
272 struct ircomm_cb *self = (struct ircomm_cb *) instance; in ircomm_lmp_connect_confirm()
302 struct ircomm_cb *self = (struct ircomm_cb *)instance; in ircomm_lmp_connect_indication()
[all …]
Dircomm_event.c44 static int ircomm_state_idle(struct ircomm_cb *self, IRCOMM_EVENT event,
46 static int ircomm_state_waiti(struct ircomm_cb *self, IRCOMM_EVENT event,
48 static int ircomm_state_waitr(struct ircomm_cb *self, IRCOMM_EVENT event,
50 static int ircomm_state_conn(struct ircomm_cb *self, IRCOMM_EVENT event,
79 static int (*state[])(struct ircomm_cb *self, IRCOMM_EVENT event,
94 static int ircomm_state_idle(struct ircomm_cb *self, IRCOMM_EVENT event, in ircomm_state_idle()
125 static int ircomm_state_waiti(struct ircomm_cb *self, IRCOMM_EVENT event, in ircomm_state_waiti()
157 static int ircomm_state_waitr(struct ircomm_cb *self, IRCOMM_EVENT event, in ircomm_state_waitr()
192 static int ircomm_state_conn(struct ircomm_cb *self, IRCOMM_EVENT event, in ircomm_state_conn()
236 int ircomm_do_event(struct ircomm_cb *self, IRCOMM_EVENT event, in ircomm_do_event()
[all …]