Home
last modified time | relevance | path

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

/net/ax25/
Dax25_addr.c161 ax25_address *src, ax25_address *dest, ax25_digi *digi, int *flags, in ax25_addr_parse() argument
189 digi->lastrepeat = -1; in ax25_addr_parse()
190 digi->ndigi = 0; in ax25_addr_parse()
196 memcpy(&digi->calls[d], buf, AX25_ADDR_LEN); in ax25_addr_parse()
197 digi->ndigi = d + 1; in ax25_addr_parse()
200 digi->repeated[d] = 1; in ax25_addr_parse()
201 digi->lastrepeat = d; in ax25_addr_parse()
203 digi->repeated[d] = 0; in ax25_addr_parse()
Daf_ax25.c157 struct sock *ax25_find_listener(ax25_address *addr, int digi, in ax25_find_listener() argument
165 if ((s->iamdigi && !digi) || (!s->iamdigi && digi)) in ax25_find_listener()
213 ax25_digi *digi, struct net_device *dev) in ax25_find_cb() argument
225 if (digi != NULL && digi->ndigi != 0) { in ax25_find_cb()
228 if (ax25digicmp(s->digipeat, digi) != 0) in ax25_find_cb()
358 ax25_digi digi; in ax25_ctl_ioctl() local
372 digi.ndigi = ax25_ctl.digi_count; in ax25_ctl_ioctl()
373 for (k = 0; k < digi.ndigi; k++) in ax25_ctl_ioctl()
374 digi.calls[k] = ax25_ctl.digi_addr[k]; in ax25_ctl_ioctl()
376 …if ((ax25 = ax25_find_cb(&ax25_ctl.source_addr, &ax25_ctl.dest_addr, &digi, ax25_dev->dev)) == NUL… in ax25_ctl_ioctl()
[all …]
Dax25_out.c36 …_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()
Dax25_subr.c190 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()
Dax25_route.c459 ax25_address *dest, ax25_digi *digi) in ax25_rt_build_path() argument
465 len = digi->ndigi * AX25_ADDR_LEN; in ax25_rt_build_path()
483 ax25_addr_build(bp, src, dest, digi, AX25_COMMAND, AX25_MODULUS); in ax25_rt_build_path()