Searched refs:ifa_prefixlen (Results 1 – 9 of 9) sorted by relevance
/linux-5.19.10/net/ipv4/ |
D | devinet.c | 680 (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 …]
|
D | fib_frontend.c | 1133 (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/ |
D | if_addr.h | 10 __u8 ifa_prefixlen; /* The prefix length */ member
|
/linux-5.19.10/net/phonet/ |
D | pn_netlink.c | 107 ifm->ifa_prefixlen = 0; in fill_addr()
|
/linux-5.19.10/include/linux/ |
D | inetdevice.h | 152 unsigned char ifa_prefixlen; member
|
/linux-5.19.10/net/mctp/ |
D | device.c | 75 hdr->ifa_prefixlen = 0; in mctp_fill_addrinfo()
|
/linux-5.19.10/net/decnet/ |
D | dn_dev.c | 692 ifm->ifa_prefixlen = 16; in dn_nl_fill_ifaddr()
|
/linux-5.19.10/net/ipv6/ |
D | addrconf.c | 4686 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/ |
D | ipsec.c | 334 req.info.ifa_prefixlen = prefix; in ip4_addr_set()
|