Home
last modified time | relevance | path

Searched refs:ifa_prefixlen (Results 1 – 9 of 9) sorted by relevance

/linux-5.19.10/net/ipv4/
Ddevinet.c680 (ifm->ifa_prefixlen != ifa->ifa_prefixlen || in inet_rtm_deladdr()
841 if (ifm->ifa_prefixlen > 32 || !tb[IFA_LOCAL]) in rtm_to_ifaddr()
870 ifa->ifa_prefixlen = ifm->ifa_prefixlen; in rtm_to_ifaddr()
871 ifa->ifa_mask = inet_make_mask(ifm->ifa_prefixlen); in rtm_to_ifaddr()
1176 ifa->ifa_prefixlen = inet_abc_len(ifa->ifa_address); in devinet_ioctl()
1177 ifa->ifa_mask = inet_make_mask(ifa->ifa_prefixlen); in devinet_ioctl()
1179 ifa->ifa_prefixlen < 31) in devinet_ioctl()
1183 ifa->ifa_prefixlen = 32; in devinet_ioctl()
1225 ifa->ifa_prefixlen = inet_mask_len(ifa->ifa_mask); in devinet_ioctl()
1234 (ifa->ifa_prefixlen < 31) && in devinet_ioctl()
[all …]
Dfib_frontend.c1133 (prefix != addr || ifa->ifa_prefixlen < 32)) { in fib_add_ifaddr()
1137 prefix, ifa->ifa_prefixlen, prim, in fib_add_ifaddr()
1141 if (ifa->ifa_prefixlen < 31) { in fib_add_ifaddr()
1158 (prefix == ifa->ifa_local && ifa->ifa_prefixlen == 32)) in fib_modify_prefix_metric()
1164 prefix, ifa->ifa_prefixlen, ifa, new_metric); in fib_modify_prefix_metric()
1169 prefix, ifa->ifa_prefixlen, ifa, ifa->ifa_rt_priority); in fib_modify_prefix_metric()
1209 (any != ifa->ifa_local || ifa->ifa_prefixlen < 32)) { in fib_del_ifaddr()
1213 any, ifa->ifa_prefixlen, prim, 0); in fib_del_ifaddr()
1279 if (prim1 == ifa1 && ifa1->ifa_prefixlen < 31) { in fib_del_ifaddr()
1300 if (subnet && ifa->ifa_prefixlen < 31) { in fib_del_ifaddr()
/linux-5.19.10/include/uapi/linux/
Dif_addr.h10 __u8 ifa_prefixlen; /* The prefix length */ member
/linux-5.19.10/net/phonet/
Dpn_netlink.c107 ifm->ifa_prefixlen = 0; in fill_addr()
/linux-5.19.10/include/linux/
Dinetdevice.h152 unsigned char ifa_prefixlen; member
/linux-5.19.10/net/mctp/
Ddevice.c75 hdr->ifa_prefixlen = 0; in mctp_fill_addrinfo()
/linux-5.19.10/net/decnet/
Ddn_dev.c692 ifm->ifa_prefixlen = 16; in dn_nl_fill_ifaddr()
/linux-5.19.10/net/ipv6/
Daddrconf.c4686 ifm->ifa_prefixlen); in inet6_rtm_deladdr()
4872 cfg.plen = ifm->ifa_prefixlen; in inet6_rtm_newaddr()
4944 ifm->ifa_prefixlen = prefixlen; in put_ifaddrmsg()
5222 if (ifm->ifa_prefixlen || ifm->ifa_flags || ifm->ifa_scope) { in inet6_valid_dump_ifaddr_req()
5381 if (ifm->ifa_prefixlen || ifm->ifa_flags || ifm->ifa_scope) { in inet6_rtm_valid_getaddr_req()
/linux-5.19.10/tools/testing/selftests/net/
Dipsec.c334 req.info.ifa_prefixlen = prefix; in ip4_addr_set()