Searched refs:atreq (Results 1 – 2 of 2) sorted by relevance
433 struct ifreq atreq; in aarp_send_probe_phase1() local434 struct sockaddr_at *sa = (struct sockaddr_at *)&atreq.ifr_addr; in aarp_send_probe_phase1()440 if (!(iface->dev->do_ioctl(iface->dev, &atreq, SIOCSIFADDR))) { in aarp_send_probe_phase1()441 (void)iface->dev->do_ioctl(iface->dev, &atreq, SIOCGIFADDR); in aarp_send_probe_phase1()
758 struct ifreq atreq; in atif_ioctl() local768 if (copy_from_user(&atreq, arg, sizeof(atreq))) in atif_ioctl()771 dev = __dev_get_by_name(atreq.ifr_name); in atif_ioctl()775 sa = (struct sockaddr_at*) &atreq.ifr_addr; in atif_ioctl()970 return copy_to_user(arg, &atreq, sizeof(atreq)) ? -EFAULT : 0; in atif_ioctl()