Home
last modified time | relevance | path

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

/linux-2.4.37.9/net/ax25/
Daf_ax25.c462 struct ax25_ctl_struct ax25_ctl; in ax25_ctl_ioctl() local
468 if (copy_from_user(&ax25_ctl, arg, sizeof(ax25_ctl))) in ax25_ctl_ioctl()
471 if ((ax25_dev = ax25_addr_ax25dev(&ax25_ctl.port_addr)) == NULL) in ax25_ctl_ioctl()
474 if (ax25_ctl.digi_count > AX25_MAX_DIGIS) in ax25_ctl_ioctl()
477 digi.ndigi = ax25_ctl.digi_count; in ax25_ctl_ioctl()
479 digi.calls[k] = ax25_ctl.digi_addr[k]; in ax25_ctl_ioctl()
481 …if ((ax25 = ax25_find_cb(&ax25_ctl.source_addr, &ax25_ctl.dest_addr, &digi, ax25_dev->dev)) == NUL… in ax25_ctl_ioctl()
484 switch (ax25_ctl.cmd) { in ax25_ctl_ioctl()
496 if (ax25_ctl.arg < 1 || ax25_ctl.arg > 7) in ax25_ctl_ioctl()
499 if (ax25_ctl.arg < 1 || ax25_ctl.arg > 63) in ax25_ctl_ioctl()
[all …]