Home
last modified time | relevance | path

Searched refs:ndigi (Results 1 – 7 of 7) sorted by relevance

/linux-2.4.37.9/net/ax25/
Dax25_addr.c143 if (digi1->ndigi != digi2->ndigi) in ax25digicmp()
149 for (i = 0; i < digi1->ndigi; i++) in ax25digicmp()
188 digi->ndigi = 0; in ax25_addr_parse()
195 digi->ndigi = d + 1; in ax25_addr_parse()
243 if (d == NULL || d->ndigi == 0) { in ax25_addr_build()
251 while (ct < d->ndigi) { in ax25_addr_build()
277 return AX25_ADDR_LEN * (2 + dp->ndigi); in ax25_addr_size()
287 out->ndigi = in->ndigi; in ax25_digi_invert()
288 out->lastrepeat = in->ndigi - in->lastrepeat - 2; in ax25_digi_invert()
291 for (ct = 0; ct < in->ndigi; ct++) { in ax25_digi_invert()
[all …]
Dax25_route.c78 for (k = 0; k < in->ndigi; k++) in ax25_route_invert()
82 in->ndigi = k; in ax25_route_invert()
143 ax25_rt->digipeat->ndigi = route.digi_count; in ax25_rt_ioctl()
164 ax25_rt->digipeat->ndigi = route.digi_count; in ax25_rt_ioctl()
274 for (i = 0; i < ax25_rt->digipeat->ndigi; i++) in ax25_rt_get_info()
342 for (k = 0; k < digipeat->ndigi; k++) { in ax25_adjust_path()
347 digipeat->ndigi = k; in ax25_adjust_path()
413 len = digi->ndigi * AX25_ADDR_LEN; in ax25_rt_build_path()
Dax25_in.c256 if (dp.lastrepeat + 1 < dp.ndigi) /* Not yet digipeated completely */ in ax25_rcv()
265 if (ax25cmp(&dest, dev_addr) == 0 && dp.lastrepeat + 1 == dp.ndigi) in ax25_rcv()
269 if (!mine && ax25_listen_mine(&dest, dev) && dp.lastrepeat + 1 == dp.ndigi) in ax25_rcv()
273 if ((*skb->data & ~0x10) == AX25_UI && dp.lastrepeat + 1 == dp.ndigi) { in ax25_rcv()
379 if (dp.lastrepeat + 1 == dp.ndigi) in ax25_rcv()
420 if (dp.ndigi && !ax25->digipeat && in ax25_rcv()
427 if (dp.ndigi == 0) { in ax25_rcv()
Daf_ax25.c328 if (digi != NULL && digi->ndigi != 0) { in ax25_find_cb()
334 if (s->digipeat != NULL && s->digipeat->ndigi != 0) in ax25_find_cb()
477 digi.ndigi = ax25_ctl.digi_count; in ax25_ctl_ioctl()
478 for (k = 0; k < digi.ndigi; k++) in ax25_ctl_ioctl()
1177 digi->ndigi = fsa->fsa_ax25.sax25_ndigis; in ax25_connect()
1332 unsigned char ndigi, i; in ax25_getname() local
1343 ndigi = sk->protinfo.ax25->digipeat->ndigi; in ax25_getname()
1344 fsa->fsa_ax25.sax25_ndigis = ndigi; in ax25_getname()
1345 for (i = 0; i < ndigi; i++) in ax25_getname()
1416 dtmp.ndigi = usax->sax25_ndigis; in ax25_sendmsg()
[all …]
/linux-2.4.37.9/net/netrom/
Dnr_route.c124 if (ax25_digi != NULL && ax25_digi->ndigi > 0) { in nr_add_node()
408 if (ax25_digi != NULL && ax25_digi->ndigi > 0) { in nr_add_neigh()
625 ax25_digi.ndigi = ndigis; in nr_call_to_digi()
860 for (i = 0; i < nr_neigh->digipeat->ndigi; i++) in nr_neigh_get_info()
/linux-2.4.37.9/include/net/
Dax25.h144 unsigned char ndigi; member
/linux-2.4.37.9/net/rose/
Drose_route.c109 rose_neigh->digipeat->ndigi = rose_route->ndigis; in rose_add_node()
1046 for (i = 0; i < rose_neigh->digipeat->ndigi; i++) in rose_neigh_get_info()