Lines Matching refs:lci
301 struct sock *rose_find_socket(unsigned int lci, struct rose_neigh *neigh) in rose_find_socket() argument
309 if (rose->lci == lci && rose->neighbour == neigh) in rose_find_socket()
323 int lci; in rose_new_lci() local
326 for (lci = 1; lci <= sysctl_rose_maximum_vcs; lci++) in rose_new_lci()
327 if (rose_find_socket(lci, neigh) == NULL && rose_route_free_lci(lci, neigh) == NULL) in rose_new_lci()
328 return lci; in rose_new_lci()
330 for (lci = sysctl_rose_maximum_vcs; lci > 0; lci--) in rose_new_lci()
331 if (rose_find_socket(lci, neigh) == NULL && rose_route_free_lci(lci, neigh) == NULL) in rose_new_lci()
332 return lci; in rose_new_lci()
815 rose->lci = rose_new_lci(rose->neighbour); in rose_connect()
816 if (!rose->lci) { in rose_connect()
850 rose->rand = ((long)rose & 0xFFFF) + rose->lci; in rose_connect()
1017 …ll_request(struct sk_buff *skb, struct net_device *dev, struct rose_neigh *neigh, unsigned int lci) in rose_rx_call_request() argument
1035 rose_transmit_clear_request(neigh, lci, ROSE_INVALID_FACILITY, 76); in rose_rx_call_request()
1046 rose_transmit_clear_request(neigh, lci, ROSE_NETWORK_CONGESTION, 120); in rose_rx_call_request()
1054 make_rose->lci = lci; in rose_rx_call_request()
1196 asmptr[0] = ((rose->lci >> 8) & 0x0F) | ROSE_GFI; in rose_sendmsg()
1197 asmptr[1] = (rose->lci >> 0) & 0xFF; in rose_sendmsg()
1476 rose->lci & 0x0FFF, in rose_info_show()