Home
last modified time | relevance | path

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

/Linux-v6.1/net/ax25/
Daf_ax25.c366 struct ax25_ctl_struct ax25_ctl; in ax25_ctl_ioctl() local
373 if (copy_from_user(&ax25_ctl, arg, sizeof(ax25_ctl))) in ax25_ctl_ioctl()
376 if (ax25_ctl.digi_count > AX25_MAX_DIGIS) in ax25_ctl_ioctl()
379 if (ax25_ctl.arg > ULONG_MAX / HZ && ax25_ctl.cmd != AX25_KILL) in ax25_ctl_ioctl()
382 ax25_dev = ax25_addr_ax25dev(&ax25_ctl.port_addr); in ax25_ctl_ioctl()
386 digi.ndigi = ax25_ctl.digi_count; 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()
396 switch (ax25_ctl.cmd) { in ax25_ctl_ioctl()
408 if (ax25_ctl.arg < 1 || ax25_ctl.arg > 7) in ax25_ctl_ioctl()
[all …]