Lines Matching refs:digi

172 struct sock *ax25_find_listener(ax25_address *addr, int digi,  in ax25_find_listener()  argument
179 if ((s->iamdigi && !digi) || (!s->iamdigi && digi)) in ax25_find_listener()
226 ax25_digi *digi, struct net_device *dev) in ax25_find_cb() argument
237 if (digi != NULL && digi->ndigi != 0) { in ax25_find_cb()
240 if (ax25digicmp(s->digipeat, digi) != 0) in ax25_find_cb()
367 ax25_digi digi; in ax25_ctl_ioctl() local
386 digi.ndigi = ax25_ctl.digi_count; in ax25_ctl_ioctl()
387 for (k = 0; k < digi.ndigi; k++) in ax25_ctl_ioctl()
388 digi.calls[k] = ax25_ctl.digi_addr[k]; in ax25_ctl_ioctl()
390 ax25 = ax25_find_cb(&ax25_ctl.source_addr, &ax25_ctl.dest_addr, &digi, ax25_dev->dev); in ax25_ctl_ioctl()
1172 ax25_digi *digi = NULL; in ax25_connect() local
1241 if ((digi = kmalloc(sizeof(ax25_digi), GFP_KERNEL)) == NULL) { in ax25_connect()
1246 digi->ndigi = fsa->fsa_ax25.sax25_ndigis; in ax25_connect()
1247 digi->lastrepeat = -1; in ax25_connect()
1252 digi->repeated[ct] = 1; in ax25_connect()
1253 digi->lastrepeat = ct; in ax25_connect()
1255 digi->repeated[ct] = 0; in ax25_connect()
1257 digi->calls[ct] = fsa->fsa_digipeater[ct]; in ax25_connect()
1272 kfree(digi); in ax25_connect()
1280 kfree(digi); in ax25_connect()
1287 (ax25t=ax25_find_cb(&ax25->source_addr, &fsa->fsa_ax25.sax25_call, digi, in ax25_connect()
1289 kfree(digi); in ax25_connect()
1296 ax25->digipeat = digi; in ax25_connect()
1720 ax25_digi digi; in ax25_recvmsg() local
1727 &digi, NULL, NULL); in ax25_recvmsg()
1732 sax->sax25_ndigis = digi.ndigi; in ax25_recvmsg()
1739 for (ct = 0; ct < digi.ndigi; ct++) in ax25_recvmsg()
1740 fsa->fsa_digipeater[ct] = digi.calls[ct]; in ax25_recvmsg()