Lines Matching refs:ireq
2867 struct in6_ifreq ireq; in addrconf_set_dstaddr() local
2874 if (copy_from_user(&ireq, arg, sizeof(struct in6_ifreq))) in addrconf_set_dstaddr()
2877 dev = __dev_get_by_index(net, ireq.ifr6_ifindex); in addrconf_set_dstaddr()
2890 if (!(ipv6_addr_type(&ireq.ifr6_addr) & IPV6_ADDR_COMPATv4)) in addrconf_set_dstaddr()
2894 p.iph.daddr = ireq.ifr6_addr.s6_addr32[3]; in addrconf_set_dstaddr()
3088 struct in6_ifreq ireq; in addrconf_add_ifaddr() local
3094 if (copy_from_user(&ireq, arg, sizeof(struct in6_ifreq))) in addrconf_add_ifaddr()
3097 cfg.pfx = &ireq.ifr6_addr; in addrconf_add_ifaddr()
3098 cfg.plen = ireq.ifr6_prefixlen; in addrconf_add_ifaddr()
3101 err = inet6_addr_add(net, ireq.ifr6_ifindex, &cfg, NULL); in addrconf_add_ifaddr()
3108 struct in6_ifreq ireq; in addrconf_del_ifaddr() local
3114 if (copy_from_user(&ireq, arg, sizeof(struct in6_ifreq))) in addrconf_del_ifaddr()
3118 err = inet6_addr_del(net, ireq.ifr6_ifindex, 0, &ireq.ifr6_addr, in addrconf_del_ifaddr()
3119 ireq.ifr6_prefixlen); in addrconf_del_ifaddr()