Lines Matching refs:ifadd
1065 struct ifaddrmsg ifadd; in ipaddrupdate() member
1078 req.ifadd.ifa_family = TT.addressfamily; in ipaddrupdate()
1095 req.ifadd.ifa_family); in ipaddrupdate()
1097 req.ifadd.ifa_family = ((len == 4) ? AF_INET : AF_INET6); in ipaddrupdate()
1101 req.ifadd.ifa_prefixlen = netmask; in ipaddrupdate()
1114 if (get_prefix(addr, &af, *argv, req.ifadd.ifa_family)) in ipaddrupdate()
1118 if (req.ifadd.ifa_family == AF_UNSPEC) in ipaddrupdate()
1119 req.ifadd.ifa_family = af; in ipaddrupdate()
1134 if (get_prefix(addr, &af, *argv, req.ifadd.ifa_family)) in ipaddrupdate()
1137 if (req.ifadd.ifa_family == AF_UNSPEC) in ipaddrupdate()
1138 req.ifadd.ifa_family = af; in ipaddrupdate()
1147 req.ifadd.ifa_scope = scope; in ipaddrupdate()
1158 req.ifadd.ifa_family); in ipaddrupdate()
1160 req.ifadd.ifa_family = ((len == 4) ? AF_INET : AF_INET6); in ipaddrupdate()
1165 local.family = req.ifadd.ifa_family; in ipaddrupdate()
1185 if (req.ifadd.ifa_family != AF_INET) in ipaddrupdate()
1200 if (req.ifadd.ifa_prefixlen == 0) in ipaddrupdate()
1201 req.ifadd.ifa_prefixlen = local.bitlen; in ipaddrupdate()
1204 req.ifadd.ifa_scope = RT_SCOPE_HOST; in ipaddrupdate()
1205 req.ifadd.ifa_index = get_ifaceindex(dev, 1); in ipaddrupdate()