Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/ax25/
Dax25_addr.c139 if (digi1->ndigi != digi2->ndigi) in ax25digicmp()
145 for (i = 0; i < digi1->ndigi; i++) in ax25digicmp()
186 digi->ndigi = 0; in ax25_addr_parse()
195 digi->ndigi = d + 1; in ax25_addr_parse()
244 if (d == NULL || d->ndigi == 0) { in ax25_addr_build()
252 while (ct < d->ndigi) { in ax25_addr_build()
278 return AX25_ADDR_LEN * (2 + dp->ndigi); in ax25_addr_size()
288 out->ndigi = in->ndigi; in ax25_digi_invert()
289 out->lastrepeat = in->ndigi - in->lastrepeat - 2; in ax25_digi_invert()
292 for (ct = 0; ct < in->ndigi; ct++) { in ax25_digi_invert()
[all …]
Dax25_in.c212 if (dp.lastrepeat + 1 < dp.ndigi) /* Not yet digipeated completely */ in ax25_rcv()
221 if (ax25cmp(&dest, dev_addr) == 0 && dp.lastrepeat + 1 == dp.ndigi) in ax25_rcv()
225 if (!mine && ax25_listen_mine(&dest, dev) && dp.lastrepeat + 1 == dp.ndigi) in ax25_rcv()
229 if ((*skb->data & ~0x10) == AX25_UI && dp.lastrepeat + 1 == dp.ndigi) { in ax25_rcv()
335 if (dp.lastrepeat + 1 == dp.ndigi) in ax25_rcv()
379 if (dp.ndigi && !ax25->digipeat && in ax25_rcv()
388 if (dp.ndigi == 0) { in ax25_rcv()
Dax25_route.c100 ax25_rt->digipeat->ndigi = route->digi_count; in ax25_rt_add()
132 ax25_rt->digipeat->ndigi = route->digi_count; in ax25_rt_add()
323 for (i = 0; i < ax25_rt->digipeat->ndigi; i++) in ax25_rt_seq_show()
386 for (k = 0; k < digipeat->ndigi; k++) { in ax25_adjust_path()
391 digipeat->ndigi = k; in ax25_adjust_path()
457 len = digi->ndigi * AX25_ADDR_LEN; in ax25_rt_build_path()
Daf_ax25.c233 if (digi != NULL && digi->ndigi != 0) { in ax25_find_cb()
239 if (s->digipeat != NULL && s->digipeat->ndigi != 0) in ax25_find_cb()
382 digi.ndigi = ax25_ctl.digi_count; in ax25_ctl_ioctl()
383 for (k = 0; k < digi.ndigi; k++) in ax25_ctl_ioctl()
1237 digi->ndigi = fsa->fsa_ax25.sax25_ndigis; in ax25_connect()
1440 unsigned char ndigi, i; in ax25_getname() local
1458 ndigi = ax25->digipeat->ndigi; in ax25_getname()
1459 fsa->fsa_ax25.sax25_ndigis = ndigi; in ax25_getname()
1460 for (i = 0; i < ndigi; i++) in ax25_getname()
1555 dtmp.ndigi = usax->sax25_ndigis; in ax25_sendmsg()
[all …]
/kernel/linux/linux-5.10/net/netrom/
Dnr_route.c163 if (ax25_digi != NULL && ax25_digi->ndigi > 0) { in nr_add_node()
409 if (ax25_digi != NULL && ax25_digi->ndigi > 0) { in nr_add_neigh()
622 digi->ndigi = ndigis; in nr_call_to_digi()
937 for (i = 0; i < nr_neigh->digipeat->ndigi; i++) in nr_neigh_show()
/kernel/linux/linux-5.10/include/net/
Dax25.h184 unsigned char ndigi; member
/kernel/linux/linux-5.10/net/rose/
Drose_route.c116 rose_neigh->digipeat->ndigi = rose_route->ndigis; in rose_add_node()
1208 for (i = 0; i < rose_neigh->digipeat->ndigi; i++) in rose_neigh_show()