Home
last modified time | relevance | path

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

/Linux-v4.19/net/ax25/
Dax25_addr.c142 if (digi1->ndigi != digi2->ndigi) in ax25digicmp()
148 for (i = 0; i < digi1->ndigi; i++) in ax25digicmp()
189 digi->ndigi = 0; in ax25_addr_parse()
198 digi->ndigi = d + 1; in ax25_addr_parse()
247 if (d == NULL || d->ndigi == 0) { in ax25_addr_build()
255 while (ct < d->ndigi) { in ax25_addr_build()
281 return AX25_ADDR_LEN * (2 + dp->ndigi); in ax25_addr_size()
291 out->ndigi = in->ndigi; in ax25_digi_invert()
292 out->lastrepeat = in->ndigi - in->lastrepeat - 2; in ax25_digi_invert()
295 for (ct = 0; ct < in->ndigi; ct++) { in ax25_digi_invert()
[all …]
Dax25_in.c215 if (dp.lastrepeat + 1 < dp.ndigi) /* Not yet digipeated completely */ in ax25_rcv()
224 if (ax25cmp(&dest, dev_addr) == 0 && dp.lastrepeat + 1 == dp.ndigi) in ax25_rcv()
228 if (!mine && ax25_listen_mine(&dest, dev) && dp.lastrepeat + 1 == dp.ndigi) in ax25_rcv()
232 if ((*skb->data & ~0x10) == AX25_UI && dp.lastrepeat + 1 == dp.ndigi) { in ax25_rcv()
338 if (dp.lastrepeat + 1 == dp.ndigi) in ax25_rcv()
382 if (dp.ndigi && !ax25->digipeat && in ax25_rcv()
391 if (dp.ndigi == 0) { in ax25_rcv()
Dax25_route.c100 ax25_rt->digipeat->ndigi = route->digi_count; in ax25_rt_add()
129 ax25_rt->digipeat->ndigi = route->digi_count; in ax25_rt_add()
317 for (i = 0; i < ax25_rt->digipeat->ndigi; i++) in ax25_rt_seq_show()
385 for (k = 0; k < digipeat->ndigi; k++) { in ax25_adjust_path()
390 digipeat->ndigi = k; in ax25_adjust_path()
452 len = digi->ndigi * AX25_ADDR_LEN; in ax25_rt_build_path()
Daf_ax25.c220 if (digi != NULL && digi->ndigi != 0) { in ax25_find_cb()
226 if (s->digipeat != NULL && s->digipeat->ndigi != 0) in ax25_find_cb()
368 digi.ndigi = ax25_ctl.digi_count; in ax25_ctl_ioctl()
369 for (k = 0; k < digi.ndigi; k++) in ax25_ctl_ioctl()
1192 digi->ndigi = fsa->fsa_ax25.sax25_ndigis; in ax25_connect()
1395 unsigned char ndigi, i; in ax25_getname() local
1413 ndigi = ax25->digipeat->ndigi; in ax25_getname()
1414 fsa->fsa_ax25.sax25_ndigis = ndigi; in ax25_getname()
1415 for (i = 0; i < ndigi; i++) in ax25_getname()
1507 dtmp.ndigi = usax->sax25_ndigis; in ax25_sendmsg()
[all …]
/Linux-v4.19/net/netrom/
Dnr_route.c166 if (ax25_digi != NULL && ax25_digi->ndigi > 0) { in nr_add_node()
411 if (ax25_digi != NULL && ax25_digi->ndigi > 0) { in nr_add_neigh()
624 digi->ndigi = ndigis; in nr_call_to_digi()
935 for (i = 0; i < nr_neigh->digipeat->ndigi; i++) in nr_neigh_show()
/Linux-v4.19/include/net/
Dax25.h184 unsigned char ndigi; member
/Linux-v4.19/net/rose/
Drose_route.c119 rose_neigh->digipeat->ndigi = rose_route->ndigis; in rose_add_node()
1207 for (i = 0; i < rose_neigh->digipeat->ndigi; i++) in rose_neigh_show()