Home
last modified time | relevance | path

Searched refs:irlan_cb (Results 1 – 13 of 13) sorted by relevance

/linux-2.4.37.9/include/net/irda/
Dirlan_common.h163 struct irlan_cb { struct
195 struct irlan_cb *irlan_open(__u32 saddr, __u32 daddr); argument
196 void irlan_close(struct irlan_cb *self);
197 void irlan_close_tsaps(struct irlan_cb *self);
199 int irlan_register_netdev(struct irlan_cb *self);
200 void irlan_ias_register(struct irlan_cb *self, __u8 tsap_sel);
201 void irlan_start_watchdog_timer(struct irlan_cb *self, int timeout);
203 void irlan_open_data_tsap(struct irlan_cb *self);
205 int irlan_run_ctrl_tx_queue(struct irlan_cb *self);
207 void irlan_get_provider_info(struct irlan_cb *self);
[all …]
Dirlan_provider.h40 void irlan_provider_connect_response(struct irlan_cb *, struct tsap_cb *);
42 int irlan_parse_open_data_cmd(struct irlan_cb *self, struct sk_buff *skb);
43 int irlan_provider_parse_command(struct irlan_cb *self, int cmd,
46 void irlan_provider_send_reply(struct irlan_cb *self, int command,
48 int irlan_provider_open_ctrl_tsap(struct irlan_cb *self);
Dirlan_client.h36 void irlan_client_start_kick_timer(struct irlan_cb *self, int timeout);
38 void irlan_client_wakeup(struct irlan_cb *self, __u32 saddr, __u32 daddr);
40 void irlan_client_open_ctrl_tsap( struct irlan_cb *self);
42 void irlan_client_parse_response(struct irlan_cb *self, struct sk_buff *skb);
Dirlan_event.h70 void irlan_do_client_event(struct irlan_cb *self, IRLAN_EVENT event,
73 void irlan_do_provider_event(struct irlan_cb *self, IRLAN_EVENT event,
76 void irlan_next_client_state(struct irlan_cb *self, IRLAN_STATE state);
77 void irlan_next_provider_state(struct irlan_cb *self, IRLAN_STATE state);
Dirlan_filter.h28 void irlan_check_command_param(struct irlan_cb *self, char *param,
30 void handle_filter_request(struct irlan_cb *self, struct sk_buff *skb);
/linux-2.4.37.9/net/irda/irlan/
Dirlan_client_event.c39 static int irlan_client_state_idle (struct irlan_cb *self, IRLAN_EVENT event,
41 static int irlan_client_state_query(struct irlan_cb *self, IRLAN_EVENT event,
43 static int irlan_client_state_conn (struct irlan_cb *self, IRLAN_EVENT event,
45 static int irlan_client_state_info (struct irlan_cb *self, IRLAN_EVENT event,
47 static int irlan_client_state_media(struct irlan_cb *self, IRLAN_EVENT event,
49 static int irlan_client_state_open (struct irlan_cb *self, IRLAN_EVENT event,
51 static int irlan_client_state_wait (struct irlan_cb *self, IRLAN_EVENT event,
53 static int irlan_client_state_arb (struct irlan_cb *self, IRLAN_EVENT event,
55 static int irlan_client_state_data (struct irlan_cb *self, IRLAN_EVENT event,
57 static int irlan_client_state_close(struct irlan_cb *self, IRLAN_EVENT event,
[all …]
Dirlan_eth.c52 struct irlan_cb *self; in irlan_eth_init()
58 self = (struct irlan_cb *) dev->priv; in irlan_eth_init()
110 struct irlan_cb *self; in irlan_eth_open()
116 self = (struct irlan_cb *) dev->priv; in irlan_eth_open()
143 struct irlan_cb *self = (struct irlan_cb *) dev->priv; in irlan_eth_close()
174 struct irlan_cb *self; in irlan_eth_xmit()
177 self = (struct irlan_cb *) dev->priv; in irlan_eth_xmit()
235 struct irlan_cb *self; in irlan_eth_receive()
237 self = (struct irlan_cb *) instance; in irlan_eth_receive()
269 struct irlan_cb *self; in irlan_eth_flow_indication()
[all …]
Dirlan_provider_event.c33 static int irlan_provider_state_idle(struct irlan_cb *self, IRLAN_EVENT event,
35 static int irlan_provider_state_info(struct irlan_cb *self, IRLAN_EVENT event,
37 static int irlan_provider_state_open(struct irlan_cb *self, IRLAN_EVENT event,
39 static int irlan_provider_state_data(struct irlan_cb *self, IRLAN_EVENT event,
42 static int (*state[])(struct irlan_cb *self, IRLAN_EVENT event,
58 void irlan_do_provider_event(struct irlan_cb *self, IRLAN_EVENT event, in irlan_do_provider_event()
72 static int irlan_provider_state_idle(struct irlan_cb *self, IRLAN_EVENT event, in irlan_provider_state_idle()
99 static int irlan_provider_state_info(struct irlan_cb *self, IRLAN_EVENT event, in irlan_provider_state_info()
166 static int irlan_provider_state_open(struct irlan_cb *self, IRLAN_EVENT event, in irlan_provider_state_open()
205 static int irlan_provider_state_data(struct irlan_cb *self, IRLAN_EVENT event, in irlan_provider_state_data()
Dirlan_client.c67 static void irlan_check_response_param(struct irlan_cb *self, char *param,
72 struct irlan_cb *self = (struct irlan_cb *) data; in irlan_client_kick_timer_expired()
91 void irlan_client_start_kick_timer(struct irlan_cb *self, int timeout) in irlan_client_start_kick_timer()
105 void irlan_client_wakeup(struct irlan_cb *self, __u32 saddr, __u32 daddr) in irlan_client_wakeup()
152 struct irlan_cb *self; in irlan_client_discovery_indication()
173 self = (struct irlan_cb *) hashbin_get_first(irlan); in irlan_client_discovery_indication()
193 struct irlan_cb *self; in irlan_client_ctrl_data_indication()
197 self = (struct irlan_cb *) instance; in irlan_client_ctrl_data_indication()
219 struct irlan_cb *self; in irlan_client_ctrl_disconnect_indication()
225 self = (struct irlan_cb *) instance; in irlan_client_ctrl_disconnect_indication()
[all …]
Dirlan_common.c102 static void __irlan_close(struct irlan_cb *self);
106 void irlan_close_tsaps(struct irlan_cb *self);
122 struct irlan_cb *new; in irlan_init()
180 int irlan_register_netdev(struct irlan_cb *self) in irlan_register_netdev()
207 struct irlan_cb *irlan_open(__u32 saddr, __u32 daddr) in irlan_open()
209 struct irlan_cb *self; in irlan_open()
217 self = kmalloc(sizeof(struct irlan_cb), GFP_ATOMIC); in irlan_open()
221 memset(self, 0, sizeof(struct irlan_cb)); in irlan_open()
263 static void __irlan_close(struct irlan_cb *self) in __irlan_close()
301 struct irlan_cb *self; in irlan_connect_indication()
[all …]
Dirlan_provider.c70 struct irlan_cb *self; in irlan_provider_data_indication()
75 self = (struct irlan_cb *) instance; in irlan_provider_data_indication()
128 struct irlan_cb *self; in irlan_provider_connect_indication()
134 self = (struct irlan_cb *) instance; in irlan_provider_connect_indication()
168 void irlan_provider_connect_response(struct irlan_cb *self, in irlan_provider_connect_response()
182 struct irlan_cb *self; in irlan_provider_disconnect_indication()
187 self = (struct irlan_cb *) instance; in irlan_provider_disconnect_indication()
206 int irlan_parse_open_data_cmd(struct irlan_cb *self, struct sk_buff *skb) in irlan_parse_open_data_cmd()
225 int irlan_provider_parse_command(struct irlan_cb *self, int cmd, in irlan_provider_parse_command()
289 void irlan_provider_send_reply(struct irlan_cb *self, int command, in irlan_provider_send_reply()
[all …]
Dirlan_event.c41 void irlan_next_client_state(struct irlan_cb *self, IRLAN_STATE state) in irlan_next_client_state()
51 void irlan_next_provider_state(struct irlan_cb *self, IRLAN_STATE state) in irlan_next_provider_state()
Dirlan_filter.c36 void handle_filter_request(struct irlan_cb *self, struct sk_buff *skb) in handle_filter_request()
142 void irlan_check_command_param(struct irlan_cb *self, char *param, char *value) in irlan_check_command_param()