Home
last modified time | relevance | path

Searched refs:lci (Results 1 – 19 of 19) sorted by relevance

/linux-6.1.9/net/x25/
Dx25_forward.c18 struct sk_buff *skb, int lci) in x25_forward_call() argument
49 if (x25_frwd->lci == lci) { in x25_forward_call()
63 new_frwd->lci = lci; in x25_forward_call()
90 int x25_forward_data(int lci, struct x25_neigh *from, struct sk_buff *skb) { in x25_forward_data() argument
100 if (frwd->lci == lci) { in x25_forward_data()
128 void x25_clear_forward_by_lci(unsigned int lci) in x25_clear_forward_by_lci() argument
135 if (fwd->lci == lci) { in x25_clear_forward_by_lci()
Dx25_dev.c30 unsigned int lci; in x25_receive_data() local
36 lci = ((skb->data[0] << 8) & 0xF00) + ((skb->data[1] << 0) & 0x0FF); in x25_receive_data()
42 if (lci == 0) { in x25_receive_data()
50 if ((sk = x25_find_socket(lci, nb)) != NULL) { in x25_receive_data()
69 return x25_rx_call_request(skb, nb, lci); in x25_receive_data()
76 if (x25_forward_data(lci, nb, skb)) { in x25_receive_data()
78 x25_clear_forward_by_lci(lci); in x25_receive_data()
Daf_x25.c308 static struct sock *__x25_find_socket(unsigned int lci, struct x25_neigh *nb) in __x25_find_socket() argument
313 if (x25_sk(s)->lci == lci && x25_sk(s)->neighbour == nb) { in __x25_find_socket()
322 struct sock *x25_find_socket(unsigned int lci, struct x25_neigh *nb) in x25_find_socket() argument
327 s = __x25_find_socket(lci, nb); in x25_find_socket()
337 unsigned int lci = 1; in x25_new_lci() local
340 while ((sk = x25_find_socket(lci, nb)) != NULL) { in x25_new_lci()
342 if (++lci == 4096) { in x25_new_lci()
343 lci = 0; in x25_new_lci()
349 return lci; in x25_new_lci()
789 x25->lci = x25_new_lci(x25->neighbour); in x25_connect()
[all …]
Dx25_link.c185 void x25_transmit_clear_request(struct x25_neigh *nb, unsigned int lci, in x25_transmit_clear_request() argument
199 *dptr++ = ((lci >> 8) & 0x0F) | (nb->extended ? in x25_transmit_clear_request()
202 *dptr++ = (lci >> 0) & 0xFF; in x25_transmit_clear_request()
Dx25_subr.c165 lci1 = (x25->lci >> 8) & 0x0F; in x25_write_internal()
166 lci2 = (x25->lci >> 0) & 0xFF; in x25_write_internal()
346 x25->lci = 0; in x25_disconnect()
Dx25_proc.c102 devname, x25->lci & 0x0FFF, x25->state, x25->vs, x25->vr, in x25_seq_socket_show()
142 f->lci, f->dev1->name, f->dev2->name); in x25_seq_forward_show()
/linux-6.1.9/net/rose/
Daf_rose.c275 struct sock *rose_find_socket(unsigned int lci, struct rose_neigh *neigh) in rose_find_socket() argument
283 if (rose->lci == lci && rose->neighbour == neigh) in rose_find_socket()
297 int lci; in rose_new_lci() local
300 for (lci = 1; lci <= sysctl_rose_maximum_vcs; lci++) in rose_new_lci()
301 if (rose_find_socket(lci, neigh) == NULL && rose_route_free_lci(lci, neigh) == NULL) in rose_new_lci()
302 return lci; in rose_new_lci()
304 for (lci = sysctl_rose_maximum_vcs; lci > 0; lci--) in rose_new_lci()
305 if (rose_find_socket(lci, neigh) == NULL && rose_route_free_lci(lci, neigh) == NULL) in rose_new_lci()
306 return lci; in rose_new_lci()
778 rose->lci = rose_new_lci(rose->neighbour); in rose_connect()
[all …]
Drose_route.c665 struct rose_route *rose_route_free_lci(unsigned int lci, struct rose_neigh *neigh) in rose_route_free_lci() argument
670 if ((rose_route->neigh1 == neigh && rose_route->lci1 == lci) || in rose_route_free_lci()
671 (rose_route->neigh2 == neigh && rose_route->lci2 == lci)) in rose_route_free_lci()
865 unsigned int lci, new_lci; in rose_route_frame() local
878 lci = ((skb->data[0] << 8) & 0xF00) + ((skb->data[1] << 0) & 0x0FF); in rose_route_frame()
913 if (lci == 0) { in rose_route_frame()
921 if ((sk = rose_find_socket(lci, rose_neigh)) != NULL) { in rose_route_frame()
931 rose->lci = 0; in rose_route_frame()
953 res = rose_rx_call_request(skb, dev, rose_neigh, lci); in rose_route_frame()
959 rose_transmit_clear_request(rose_neigh, lci, ROSE_NOT_OBTAINABLE, 0); in rose_route_frame()
[all …]
Drose_link.c233 void rose_transmit_clear_request(struct rose_neigh *neigh, unsigned int lci, unsigned char cause, u… in rose_transmit_clear_request() argument
252 *dptr++ = ((lci >> 8) & 0x0F) | ROSE_GFI; in rose_transmit_clear_request()
253 *dptr++ = ((lci >> 0) & 0xFF); in rose_transmit_clear_request()
Drose_subr.c135 lci1 = (rose->lci >> 8) & 0x0F; in rose_write_internal()
136 lci2 = (rose->lci >> 0) & 0xFF; in rose_write_internal()
539 rose->lci = 0; in rose_disconnect()
/linux-6.1.9/include/net/
Dx25.h154 unsigned int lci, cudmatchlength; member
174 unsigned int lci; member
222 void x25_clear_forward_by_lci(unsigned int lci);
Drose.h137 unsigned int lci, rand; member
Dcfg80211.h1215 const u8 *lci; member
3696 const u8 *lci; member
Dmac80211.h511 const u8 *lci; member
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Dftm-responder.c200 memcpy(pos + 2, params->lci, params->lci_len); in iwl_mvm_ftm_responder_dyn_cfg_v2()
242 memcpy(cmd.lci_buf + 2, params->lci, params->lci_len); in iwl_mvm_ftm_responder_dyn_cfg_v3()
Dftm-initiator.c978 res->ftm.lci = entry->buf; in iwl_mvm_ftm_get_lci_civic()
1323 const u8 *ies, *lci, *civic, *msr_ie; in iwl_mvm_ftm_lc_notif() local
1341 lci = msr_ie + 2; in iwl_mvm_ftm_lc_notif()
1360 memcpy(entry->buf, lci, lci_len); in iwl_mvm_ftm_lc_notif()
/linux-6.1.9/net/wireless/
Dpmsr.c465 if (res->ftm.lci && res->ftm.lci_len && in nl80211_pmsr_send_ftm_res()
467 res->ftm.lci_len, res->ftm.lci)) in nl80211_pmsr_send_ftm_res()
Dnl80211.c5491 bcn->lci = nla_data(tb[NL80211_FTM_RESP_ATTR_LCI]); in nl80211_parse_beacon()
/linux-6.1.9/net/mac80211/
Dcfg.c1031 const u8 *lci, size_t lci_len, in ieee80211_set_ftm_responder_params() argument
1052 new->lci = pos; in ieee80211_set_ftm_responder_params()
1053 memcpy(pos, lci, lci_len); in ieee80211_set_ftm_responder_params()
1193 params->lci, in ieee80211_assign_beacon()
3407 if (beacon->lci) { in cfg80211_beacon_dup()
3409 new_beacon->lci = pos; in cfg80211_beacon_dup()
3410 memcpy(pos, beacon->lci, beacon->lci_len); in cfg80211_beacon_dup()