Home
last modified time | relevance | path

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

/linux-2.4.37.9/net/appletalk/
Daarp.c433 struct ifreq atreq; in aarp_send_probe_phase1() local
434 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()
Dddp.c758 struct ifreq atreq; in atif_ioctl() local
768 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()