Searched refs:digi (Results 1 – 6 of 6) sorted by relevance
/net/ax25/ |
D | ax25_addr.c | 160 ax25_address *src, ax25_address *dest, ax25_digi *digi, int *flags, in ax25_addr_parse() argument 188 digi->lastrepeat = -1; in ax25_addr_parse() 189 digi->ndigi = 0; in ax25_addr_parse() 197 memcpy(&digi->calls[d], buf, AX25_ADDR_LEN); in ax25_addr_parse() 198 digi->ndigi = d + 1; in ax25_addr_parse() 201 digi->repeated[d] = 1; in ax25_addr_parse() 202 digi->lastrepeat = d; in ax25_addr_parse() 204 digi->repeated[d] = 0; in ax25_addr_parse()
|
D | af_ax25.c | 156 struct sock *ax25_find_listener(ax25_address *addr, int digi, in ax25_find_listener() argument 163 if ((s->iamdigi && !digi) || (!s->iamdigi && digi)) in ax25_find_listener() 210 ax25_digi *digi, struct net_device *dev) in ax25_find_cb() argument 221 if (digi != NULL && digi->ndigi != 0) { in ax25_find_cb() 224 if (ax25digicmp(s->digipeat, digi) != 0) in ax25_find_cb() 352 ax25_digi digi; in ax25_ctl_ioctl() local 370 digi.ndigi = ax25_ctl.digi_count; in ax25_ctl_ioctl() 371 for (k = 0; k < digi.ndigi; k++) in ax25_ctl_ioctl() 372 digi.calls[k] = ax25_ctl.digi_addr[k]; in ax25_ctl_ioctl() 374 …if ((ax25 = ax25_find_cb(&ax25_ctl.source_addr, &ax25_ctl.dest_addr, &digi, ax25_dev->dev)) == NUL… in ax25_ctl_ioctl() [all …]
|
D | ax25_out.c | 36 …_buff *skb, int paclen, ax25_address *src, ax25_address *dest, ax25_digi *digi, struct net_device … in ax25_send_frame() argument 55 if ((ax25 = ax25_find_cb(src, dest, digi, dev)) != NULL) { in ax25_send_frame() 71 if (digi != NULL) { in ax25_send_frame() 72 ax25->digipeat = kmemdup(digi, sizeof(*digi), GFP_ATOMIC); in ax25_send_frame()
|
D | ax25_subr.c | 190 void ax25_return_dm(struct net_device *dev, ax25_address *src, ax25_address *dest, ax25_digi *digi) in ax25_return_dm() argument 205 ax25_digi_invert(digi, &retdigi); in ax25_return_dm() 214 dptr = skb_push(skb, ax25_addr_size(digi)); in ax25_return_dm()
|
D | ax25_route.c | 460 ax25_address *dest, ax25_digi *digi) in ax25_rt_build_path() argument 466 len = digi->ndigi * AX25_ADDR_LEN; in ax25_rt_build_path() 484 ax25_addr_build(bp, src, dest, digi, AX25_COMMAND, AX25_MODULUS); in ax25_rt_build_path()
|
/net/netrom/ |
D | nr_route.c | 636 static ax25_digi *nr_call_to_digi(ax25_digi *digi, int ndigis, in nr_call_to_digi() argument 645 digi->calls[i] = digipeaters[i]; in nr_call_to_digi() 646 digi->repeated[i] = 0; in nr_call_to_digi() 649 digi->ndigi = ndigis; in nr_call_to_digi() 650 digi->lastrepeat = -1; in nr_call_to_digi() 652 return digi; in nr_call_to_digi() 662 ax25_digi digi; in nr_rt_ioctl() local 683 nr_call_to_digi(&digi, nr_route.ndigis, in nr_rt_ioctl() 690 nr_call_to_digi(&digi, nr_route.ndigis, in nr_rt_ioctl()
|