Lines Matching refs:lci
275 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()
779 if (!rose->lci) { in rose_connect()
813 rose->rand = ((long)rose & 0xFFFF) + rose->lci; in rose_connect()
980 …ll_request(struct sk_buff *skb, struct net_device *dev, struct rose_neigh *neigh, unsigned int lci) in rose_rx_call_request() argument
998 rose_transmit_clear_request(neigh, lci, ROSE_INVALID_FACILITY, 76); in rose_rx_call_request()
1009 rose_transmit_clear_request(neigh, lci, ROSE_NETWORK_CONGESTION, 120); in rose_rx_call_request()
1017 make_rose->lci = lci; in rose_rx_call_request()
1159 asmptr[0] = ((rose->lci >> 8) & 0x0F) | ROSE_GFI; in rose_sendmsg()
1160 asmptr[1] = (rose->lci >> 0) & 0xFF; in rose_sendmsg()
1437 rose->lci & 0x0FFF, in rose_info_show()