Lines Matching refs:ifadd
1115 struct ifaddrmsg ifadd; in ipaddrupdate() member
1128 req.ifadd.ifa_family = TT.addressfamily; in ipaddrupdate()
1145 req.ifadd.ifa_family); in ipaddrupdate()
1147 req.ifadd.ifa_family = ((len == 4) ? AF_INET : AF_INET6); in ipaddrupdate()
1151 req.ifadd.ifa_prefixlen = netmask; in ipaddrupdate()
1164 if (get_prefix(addr, &af, *argv, req.ifadd.ifa_family)) in ipaddrupdate()
1168 if (req.ifadd.ifa_family == AF_UNSPEC) in ipaddrupdate()
1169 req.ifadd.ifa_family = af; in ipaddrupdate()
1184 if (get_prefix(addr, &af, *argv, req.ifadd.ifa_family)) in ipaddrupdate()
1187 if (req.ifadd.ifa_family == AF_UNSPEC) in ipaddrupdate()
1188 req.ifadd.ifa_family = af; in ipaddrupdate()
1197 req.ifadd.ifa_scope = scope; in ipaddrupdate()
1208 req.ifadd.ifa_family); in ipaddrupdate()
1210 req.ifadd.ifa_family = ((len == 4) ? AF_INET : AF_INET6); in ipaddrupdate()
1215 local.family = req.ifadd.ifa_family; in ipaddrupdate()
1235 if (req.ifadd.ifa_family != AF_INET) in ipaddrupdate()
1250 if (req.ifadd.ifa_prefixlen == 0) in ipaddrupdate()
1251 req.ifadd.ifa_prefixlen = local.bitlen; in ipaddrupdate()
1254 req.ifadd.ifa_scope = RT_SCOPE_HOST; in ipaddrupdate()
1255 req.ifadd.ifa_index = get_ifaceindex(dev, 1); in ipaddrupdate()