/linux-2.4.37.9/net/irda/ |
D | irlmp_frame.c | 94 struct lsap_cb *lsap; in irlmp_link_data_indication() local 124 lsap = irlmp_find_lsap(self, dlsap_sel, slsap_sel, CONNECT_CMD, in irlmp_link_data_indication() 128 if (!lsap) { in irlmp_link_data_indication() 130 lsap = irlmp_find_lsap(self, dlsap_sel, slsap_sel, 0, in irlmp_link_data_indication() 134 lsap = irlmp_find_lsap(self, dlsap_sel, slsap_sel, 0, in irlmp_link_data_indication() 137 if (lsap == NULL) { in irlmp_link_data_indication() 156 lsap->lap = self; in irlmp_link_data_indication() 157 irlmp_do_lsap_event(lsap, LM_CONNECT_INDICATION, skb); in irlmp_link_data_indication() 160 irlmp_do_lsap_event(lsap, LM_CONNECT_CONFIRM, skb); in irlmp_link_data_indication() 164 irlmp_do_lsap_event(lsap, LM_DISCONNECT_INDICATION, in irlmp_link_data_indication() [all …]
|
D | irlmp_event.c | 275 struct lsap_cb *lsap; in irlmp_state_u_connect() local 291 lsap = (struct lsap_cb *) hashbin_get_first(self->lsaps); in irlmp_state_u_connect() 292 while (lsap != NULL) { in irlmp_state_u_connect() 293 irlmp_do_lsap_event(lsap, LM_LAP_CONNECT_CONFIRM, NULL); in irlmp_state_u_connect() 294 lsap = (struct lsap_cb*) hashbin_get_next(self->lsaps); in irlmp_state_u_connect() 311 lsap = (struct lsap_cb *) hashbin_get_first(self->lsaps); in irlmp_state_u_connect() 312 while (lsap != NULL) { in irlmp_state_u_connect() 313 irlmp_do_lsap_event(lsap, LM_LAP_CONNECT_CONFIRM, NULL); in irlmp_state_u_connect() 314 lsap = (struct lsap_cb*) hashbin_get_next(self->lsaps); in irlmp_state_u_connect() 329 lsap = (struct lsap_cb *) hashbin_get_first( self->lsaps); in irlmp_state_u_connect() [all …]
|
D | irttp.c | 372 struct lsap_cb *lsap; in irttp_open_tsap() local 422 lsap = irlmp_open_lsap(stsap_sel, &ttp_notify, 0); in irttp_open_tsap() 423 if (lsap == NULL) { in irttp_open_tsap() 433 self->stsap_sel = lsap->slsap_sel; in irttp_open_tsap() 437 self->lsap = lsap; in irttp_open_tsap() 514 if (self->lsap) { in irttp_close_tsap() 515 irlmp_close_lsap(self->lsap); in irttp_close_tsap() 516 self->lsap = NULL; in irttp_close_tsap() 549 irlmp_udata_request(self->lsap, skb); in irttp_udata_request() 678 (!irlmp_lap_tx_queue_full(self->lsap)) && in irttp_run_tx_queue() [all …]
|
D | irlmp.c | 227 struct lsap_cb *lsap = NULL; in irlmp_close_lsap() local 249 lsap = hashbin_remove(lap->lsaps, (int) self, NULL); in irlmp_close_lsap() 253 if (!lsap) { in irlmp_close_lsap() 254 lsap = hashbin_remove(irlmp->unconnected_lsaps, (int) self, in irlmp_close_lsap() 257 if (!lsap) { in irlmp_close_lsap() 350 struct lsap_cb *lsap; in irlmp_connect_request() local 439 lsap = hashbin_remove(irlmp->unconnected_lsaps, (int) self, NULL); in irlmp_connect_request() 441 ASSERT(lsap != NULL, return -1;); in irlmp_connect_request() 442 ASSERT(lsap->magic == LMP_LSAP_MAGIC, return -1;); in irlmp_connect_request() 443 ASSERT(lsap->lap != NULL, return -1;); in irlmp_connect_request() [all …]
|
D | iriap.c | 234 if (self->lsap) { in iriap_close() 235 irlmp_close_lsap(self->lsap); in iriap_close() 236 self->lsap = NULL; in iriap_close() 262 self->lsap = irlmp_open_lsap(slsap_sel, ¬ify, 0); in iriap_register_lsap() 263 if (self->lsap == NULL) { in iriap_register_lsap() 267 self->slsap_sel = self->lsap->slsap_sel; in iriap_register_lsap() 346 irlmp_disconnect_request(self->lsap, skb); in iriap_disconnect_request() 719 irlmp_data_request(self->lsap, skb); in iriap_send_ack() 729 ret = irlmp_connect_request(self->lsap, LSAP_IAS, in iriap_connect_request() 794 new->lsap = irlmp_dup(self->lsap, new); in iriap_connect_indication() [all …]
|
D | iriap_event.c | 263 irlmp_data_request(self->lsap, tx_skb); in state_s_make_call() 375 irlmp_connect_response(self->lsap, tx_skb); in state_r_disconnect() 491 irlmp_data_request(self->lsap, skb); in state_r_execute()
|
D | af_irda.c | 521 if (self->lsap) { in irda_open_lsap() 532 self->lsap = irlmp_open_lsap(LSAP_CONNLESS, ¬ify, pid); in irda_open_lsap() 533 if (self->lsap == NULL) { in irda_open_lsap() 1173 if (self->lsap) { in irda_destroy_socket() 1174 irlmp_close_lsap(self->lsap); in irda_destroy_socket() 1175 self->lsap = NULL; in irda_destroy_socket() 1616 err = irlmp_connless_data_request(self->lsap, skb); in irda_sendmsg_ultra()
|
/linux-2.4.37.9/include/net/irda/ |
D | irttp.h | 109 struct lsap_cb *lsap; /* Corresponding LSAP to this TSAP */ member 176 return irlmp_get_saddr(self->lsap); in irttp_get_saddr() 181 return irlmp_get_daddr(self->lsap); in irttp_get_daddr() 196 irlmp_listen(self->lsap); in irttp_listen() 205 (self->lsap == NULL) || in irttp_is_primary() 206 (self->lsap->lap == NULL) || in irttp_is_primary() 207 (self->lsap->lap->irlap == NULL)) in irttp_is_primary() 209 return(irlap_is_primary(self->lsap->lap->irlap)); in irttp_is_primary()
|
D | iriap.h | 71 struct lsap_cb *lsap; member
|
D | ircomm_core.h | 66 struct lsap_cb *lsap; member
|
D | irda.h | 133 struct lsap_cb *lsap; /* LSAP used by Ultra */ member
|
D | irlmp.h | 153 struct lsap_cb *lsap; member
|
/linux-2.4.37.9/net/irda/ircomm/ |
D | ircomm_lmp.c | 63 self->lsap = irlmp_open_lsap(LSAP_ANY, ¬ify, 0); in ircomm_open_lsap() 64 if (!self->lsap) { in ircomm_open_lsap() 68 self->slsap_sel = self->lsap->slsap_sel; in ircomm_open_lsap() 95 ret = irlmp_connect_request(self->lsap, info->dlsap_sel, in ircomm_lmp_connect_request() 130 ret = irlmp_connect_response(self->lsap, skb); in ircomm_lmp_connect_response() 153 ret = irlmp_disconnect_request(self->lsap, userdata); in ircomm_lmp_disconnect_request() 228 ret = irlmp_data_request(self->lsap, skb); in ircomm_lmp_data_request()
|
D | ircomm_core.c | 159 if (self->lsap) { in __ircomm_close() 160 irlmp_close_lsap(self->lsap); in __ircomm_close() 161 self->lsap = NULL; in __ircomm_close()
|