Home
last modified time | relevance | path

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

/net/ax25/
Dax25_addr.c157 ax25_address *src, ax25_address *dest, ax25_digi *digi, int *flags, in ax25_addr_parse() argument
185 digi->lastrepeat = -1; in ax25_addr_parse()
186 digi->ndigi = 0; in ax25_addr_parse()
194 memcpy(&digi->calls[d], buf, AX25_ADDR_LEN); in ax25_addr_parse()
195 digi->ndigi = d + 1; in ax25_addr_parse()
198 digi->repeated[d] = 1; in ax25_addr_parse()
199 digi->lastrepeat = d; in ax25_addr_parse()
201 digi->repeated[d] = 0; in ax25_addr_parse()
Daf_ax25.c168 struct sock *ax25_find_listener(ax25_address *addr, int digi, in ax25_find_listener() argument
175 if ((s->iamdigi && !digi) || (!s->iamdigi && digi)) in ax25_find_listener()
222 ax25_digi *digi, struct net_device *dev) in ax25_find_cb() argument
233 if (digi != NULL && digi->ndigi != 0) { in ax25_find_cb()
236 if (ax25digicmp(s->digipeat, digi) != 0) in ax25_find_cb()
363 ax25_digi digi; in ax25_ctl_ioctl() local
382 digi.ndigi = ax25_ctl.digi_count; in ax25_ctl_ioctl()
383 for (k = 0; k < digi.ndigi; k++) in ax25_ctl_ioctl()
384 digi.calls[k] = ax25_ctl.digi_addr[k]; in ax25_ctl_ioctl()
386 ax25 = ax25_find_cb(&ax25_ctl.source_addr, &ax25_ctl.dest_addr, &digi, ax25_dev->dev); in ax25_ctl_ioctl()
[all …]
Dax25_out.c32 …_buff *skb, int paclen, ax25_address *src, ax25_address *dest, ax25_digi *digi, struct net_device … in ax25_send_frame() argument
51 if ((ax25 = ax25_find_cb(src, dest, digi, dev)) != NULL) { in ax25_send_frame()
67 if (digi != NULL) { in ax25_send_frame()
68 ax25->digipeat = kmemdup(digi, sizeof(*digi), GFP_ATOMIC); in ax25_send_frame()
Dax25_subr.c187 void ax25_return_dm(struct net_device *dev, ax25_address *src, ax25_address *dest, ax25_digi *digi) in ax25_return_dm() argument
202 ax25_digi_invert(digi, &retdigi); in ax25_return_dm()
211 dptr = skb_push(skb, ax25_addr_size(digi)); in ax25_return_dm()
Dax25_ip.c228 ax25_digi digi; in ax25_validate_header() local
236 return ax25_addr_parse(header + 1, len - 1, NULL, NULL, &digi, NULL, in ax25_validate_header()
Dax25_route.c451 ax25_address *dest, ax25_digi *digi) in ax25_rt_build_path() argument
456 len = digi->ndigi * AX25_ADDR_LEN; in ax25_rt_build_path()
468 ax25_addr_build(bp, src, dest, digi, AX25_COMMAND, AX25_MODULUS); in ax25_rt_build_path()
/net/netrom/
Dnr_route.c612 static ax25_digi *nr_call_to_digi(ax25_digi *digi, int ndigis, in nr_call_to_digi() argument
621 digi->calls[i] = digipeaters[i]; in nr_call_to_digi()
622 digi->repeated[i] = 0; in nr_call_to_digi()
625 digi->ndigi = ndigis; in nr_call_to_digi()
626 digi->lastrepeat = -1; in nr_call_to_digi()
628 return digi; in nr_call_to_digi()
638 ax25_digi digi; in nr_rt_ioctl() local
659 nr_call_to_digi(&digi, nr_route.ndigis, in nr_rt_ioctl()
666 nr_call_to_digi(&digi, nr_route.ndigis, in nr_rt_ioctl()