Lines Matching refs:ifadd
1070 struct ifaddrmsg ifadd; in ipaddrupdate() member
1083 req.ifadd.ifa_family = TT.addressfamily; in ipaddrupdate()
1100 req.ifadd.ifa_family); in ipaddrupdate()
1102 req.ifadd.ifa_family = ((len == 4) ? AF_INET : AF_INET6); in ipaddrupdate()
1106 req.ifadd.ifa_prefixlen = netmask; in ipaddrupdate()
1119 if (get_prefix(addr, &af, *argv, req.ifadd.ifa_family)) in ipaddrupdate()
1123 if (req.ifadd.ifa_family == AF_UNSPEC) in ipaddrupdate()
1124 req.ifadd.ifa_family = af; in ipaddrupdate()
1139 if (get_prefix(addr, &af, *argv, req.ifadd.ifa_family)) in ipaddrupdate()
1142 if (req.ifadd.ifa_family == AF_UNSPEC) in ipaddrupdate()
1143 req.ifadd.ifa_family = af; in ipaddrupdate()
1152 req.ifadd.ifa_scope = scope; in ipaddrupdate()
1163 req.ifadd.ifa_family); in ipaddrupdate()
1165 req.ifadd.ifa_family = ((len == 4) ? AF_INET : AF_INET6); in ipaddrupdate()
1170 local.family = req.ifadd.ifa_family; in ipaddrupdate()
1190 if (req.ifadd.ifa_family != AF_INET) in ipaddrupdate()
1205 if (req.ifadd.ifa_prefixlen == 0) in ipaddrupdate()
1206 req.ifadd.ifa_prefixlen = local.bitlen; in ipaddrupdate()
1209 req.ifadd.ifa_scope = RT_SCOPE_HOST; in ipaddrupdate()
1210 req.ifadd.ifa_index = get_ifaceindex(dev, 1); in ipaddrupdate()