/linux-2.6.39/net/x25/ |
D | x25_forward.c | 20 struct sk_buff *skb, int lci) in x25_forward_call() argument 53 if (x25_frwd->lci == lci) { in x25_forward_call() 67 new_frwd->lci = lci; in x25_forward_call() 94 int x25_forward_data(int lci, struct x25_neigh *from, struct sk_buff *skb) { in x25_forward_data() argument 106 if (frwd->lci == lci) { in x25_forward_data() 134 void x25_clear_forward_by_lci(unsigned int lci) in x25_clear_forward_by_lci() argument 143 if (fwd->lci == lci) { in x25_clear_forward_by_lci()
|
D | x25_dev.c | 33 unsigned int lci; in x25_receive_data() local 36 lci = ((skb->data[0] << 8) & 0xF00) + ((skb->data[1] << 0) & 0x0FF); in x25_receive_data() 42 if (lci == 0) { in x25_receive_data() 50 if ((sk = x25_find_socket(lci, nb)) != NULL) { in x25_receive_data() 69 return x25_rx_call_request(skb, nb, lci); in x25_receive_data() 76 if (x25_forward_data(lci, nb, skb)) { in x25_receive_data() 78 x25_clear_forward_by_lci(lci); in x25_receive_data()
|
D | af_x25.c | 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() [all …]
|
D | x25_link.c | 166 void x25_transmit_clear_request(struct x25_neigh *nb, unsigned int lci, in x25_transmit_clear_request() argument 180 *dptr++ = ((lci >> 8) & 0x0F) | (nb->extended ? in x25_transmit_clear_request() 183 *dptr++ = (lci >> 0) & 0xFF; in x25_transmit_clear_request()
|
D | x25_subr.c | 170 lci1 = (x25->lci >> 8) & 0x0F; in x25_write_internal() 171 lci2 = (x25->lci >> 0) & 0xFF; in x25_write_internal() 345 x25->lci = 0; in x25_disconnect()
|
D | x25_proc.c | 107 devname, x25->lci & 0x0FFF, x25->state, x25->vs, x25->vr, in x25_seq_socket_show() 147 f->lci, f->dev1->name, f->dev2->name); in x25_seq_forward_show()
|
/linux-2.6.39/net/rose/ |
D | af_rose.c | 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() [all …]
|
D | rose_route.c | 661 struct rose_route *rose_route_free_lci(unsigned int lci, struct rose_neigh *neigh) in rose_route_free_lci() argument 666 if ((rose_route->neigh1 == neigh && rose_route->lci1 == lci) || in rose_route_free_lci() 667 (rose_route->neigh2 == neigh && rose_route->lci2 == lci)) in rose_route_free_lci() 861 unsigned int lci, new_lci; in rose_route_frame() local 875 lci = ((skb->data[0] << 8) & 0xF00) + ((skb->data[1] << 0) & 0x0FF); in rose_route_frame() 910 if (lci == 0) { in rose_route_frame() 918 if ((sk = rose_find_socket(lci, rose_neigh)) != NULL) { in rose_route_frame() 928 rose->lci = 0; in rose_route_frame() 950 res = rose_rx_call_request(skb, dev, rose_neigh, lci); in rose_route_frame() 956 rose_transmit_clear_request(rose_neigh, lci, ROSE_NOT_OBTAINABLE, 0); in rose_route_frame() [all …]
|
D | rose_link.c | 239 void rose_transmit_clear_request(struct rose_neigh *neigh, unsigned int lci, unsigned char cause, u… in rose_transmit_clear_request() argument 255 *dptr++ = ((lci >> 8) & 0x0F) | ROSE_GFI; in rose_transmit_clear_request() 256 *dptr++ = ((lci >> 0) & 0xFF); in rose_transmit_clear_request()
|
D | rose_subr.c | 137 lci1 = (rose->lci >> 8) & 0x0F; in rose_write_internal() 138 lci2 = (rose->lci >> 0) & 0xFF; in rose_write_internal() 540 rose->lci = 0; in rose_disconnect()
|
/linux-2.6.39/include/net/ |
D | x25.h | 151 unsigned int lci, cudmatchlength; member 171 unsigned int lci; member 220 extern void x25_clear_forward_by_lci(unsigned int lci);
|
D | rose.h | 134 unsigned int lci, rand; member
|