Lines Matching refs:lci
279 struct sock *rose_find_socket(unsigned int lci, struct rose_neigh *neigh) in rose_find_socket() argument
288 if (rose->lci == lci && rose->neighbour == neigh) in rose_find_socket()
302 int lci; in rose_new_lci() local
305 for (lci = 1; lci <= sysctl_rose_maximum_vcs; lci++) in rose_new_lci()
306 if (rose_find_socket(lci, neigh) == NULL && rose_route_free_lci(lci, neigh) == NULL) in rose_new_lci()
307 return lci; in rose_new_lci()
309 for (lci = sysctl_rose_maximum_vcs; lci > 0; lci--) in rose_new_lci()
310 if (rose_find_socket(lci, neigh) == NULL && rose_route_free_lci(lci, neigh) == NULL) in rose_new_lci()
311 return lci; in rose_new_lci()
779 rose->lci = rose_new_lci(rose->neighbour); in rose_connect()
780 if (!rose->lci) { in rose_connect()
808 rose->rand = ((long)rose & 0xFFFF) + rose->lci; in rose_connect()
975 …ll_request(struct sk_buff *skb, struct net_device *dev, struct rose_neigh *neigh, unsigned int lci) in rose_rx_call_request() argument
993 rose_transmit_clear_request(neigh, lci, ROSE_INVALID_FACILITY, 76); in rose_rx_call_request()
1004 rose_transmit_clear_request(neigh, lci, ROSE_NETWORK_CONGESTION, 120); in rose_rx_call_request()
1012 make_rose->lci = lci; in rose_rx_call_request()
1158 asmptr[0] = ((rose->lci >> 8) & 0x0F) | ROSE_GFI; in rose_sendmsg()
1159 asmptr[1] = (rose->lci >> 0) & 0xFF; in rose_sendmsg()
1449 rose->lci & 0x0FFF, in rose_info_show()