Lines Matching refs:lci
322 static struct sock *__x25_find_socket(unsigned int lci, struct x25_neigh *nb) in __x25_find_socket() argument
328 if (x25_sk(s)->lci == lci && x25_sk(s)->neighbour == nb) { in __x25_find_socket()
337 struct sock *x25_find_socket(unsigned int lci, struct x25_neigh *nb) in x25_find_socket() argument
342 s = __x25_find_socket(lci, nb); in x25_find_socket()
352 unsigned int lci = 1; in x25_new_lci() local
357 while ((sk = __x25_find_socket(lci, nb)) != NULL) { in x25_new_lci()
359 if (++lci == 4096) { in x25_new_lci()
360 lci = 0; in x25_new_lci()
366 return lci; in x25_new_lci()
781 x25->lci = x25_new_lci(x25->neighbour); in x25_connect()
782 if (!x25->lci) in x25_connect()
921 unsigned int lci) in x25_rx_call_request() argument
978 x25_forward_call(&dest_addr, nb, skb, lci) > 0) in x25_rx_call_request()
1020 makex25->lci = lci; in x25_rx_call_request()
1063 x25_transmit_clear_request(nb, lci, 0x01); in x25_rx_call_request()
1181 *asmptr++ = ((x25->lci >> 8) & 0x0F) | X25_GFI_EXTSEQ; in x25_sendmsg()
1182 *asmptr++ = (x25->lci >> 0) & 0xFF; in x25_sendmsg()
1186 *asmptr++ = ((x25->lci >> 8) & 0x0F) | X25_GFI_STDSEQ; in x25_sendmsg()
1187 *asmptr++ = (x25->lci >> 0) & 0xFF; in x25_sendmsg()
1194 *asmptr++ = ((x25->lci >> 8) & 0x0F) | X25_GFI_EXTSEQ; in x25_sendmsg()
1195 *asmptr++ = (x25->lci >> 0) & 0xFF; in x25_sendmsg()
1201 *asmptr++ = ((x25->lci >> 8) & 0x0F) | X25_GFI_STDSEQ; in x25_sendmsg()
1202 *asmptr++ = (x25->lci >> 0) & 0xFF; in x25_sendmsg()