Lines Matching defs:lci
318 static struct sock *__x25_find_socket(unsigned int lci, struct x25_neigh *nb)
323 if (x25_sk(s)->lci == lci && x25_sk(s)->neighbour == nb) {
332 struct sock *x25_find_socket(unsigned int lci, struct x25_neigh *nb)
337 s = __x25_find_socket(lci, nb);
347 unsigned int lci = 1;
350 while ((sk = x25_find_socket(lci, nb)) != NULL) {
352 if (++lci == 4096) {
353 lci = 0;
359 return lci;
800 x25->lci = x25_new_lci(x25->neighbour);
801 if (!x25->lci)
946 unsigned int lci)
1016 x25_forward_call(&dest_addr, nb, skb, lci) > 0)
1058 makex25->lci = lci;
1104 x25_transmit_clear_request(nb, lci, 0x01);
1224 *asmptr++ = ((x25->lci >> 8) & 0x0F) | X25_GFI_EXTSEQ;
1225 *asmptr++ = (x25->lci >> 0) & 0xFF;
1229 *asmptr++ = ((x25->lci >> 8) & 0x0F) | X25_GFI_STDSEQ;
1230 *asmptr++ = (x25->lci >> 0) & 0xFF;
1237 *asmptr++ = ((x25->lci >> 8) & 0x0F) | X25_GFI_EXTSEQ;
1238 *asmptr++ = (x25->lci >> 0) & 0xFF;
1244 *asmptr++ = ((x25->lci >> 8) & 0x0F) | X25_GFI_STDSEQ;
1245 *asmptr++ = (x25->lci >> 0) & 0xFF;