Searched refs:ifa_prefixlen (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/net/ipv4/ |
D | devinet.c | 683 (ifm->ifa_prefixlen != ifa->ifa_prefixlen || in inet_rtm_deladdr() 846 if (ifm->ifa_prefixlen > 32) { in rtm_to_ifaddr() 884 ifa->ifa_prefixlen = ifm->ifa_prefixlen; in rtm_to_ifaddr() 885 ifa->ifa_mask = inet_make_mask(ifm->ifa_prefixlen); in rtm_to_ifaddr() 1197 ifa->ifa_prefixlen = inet_abc_len(ifa->ifa_address); in devinet_ioctl() 1198 ifa->ifa_mask = inet_make_mask(ifa->ifa_prefixlen); in devinet_ioctl() 1200 ifa->ifa_prefixlen < 31) in devinet_ioctl() 1204 ifa->ifa_prefixlen = 32; in devinet_ioctl() 1246 ifa->ifa_prefixlen = inet_mask_len(ifa->ifa_mask); in devinet_ioctl() 1255 (ifa->ifa_prefixlen < 31) && in devinet_ioctl() [all …]
|
D | fib_frontend.c | 1139 (prefix != addr || ifa->ifa_prefixlen < 32)) { in fib_add_ifaddr() 1143 prefix, ifa->ifa_prefixlen, prim, in fib_add_ifaddr() 1147 if (ifa->ifa_prefixlen < 31) { in fib_add_ifaddr() 1164 (prefix == ifa->ifa_local && ifa->ifa_prefixlen == 32)) in fib_modify_prefix_metric() 1170 prefix, ifa->ifa_prefixlen, ifa, new_metric); in fib_modify_prefix_metric() 1175 prefix, ifa->ifa_prefixlen, ifa, ifa->ifa_rt_priority); in fib_modify_prefix_metric() 1215 (any != ifa->ifa_local || ifa->ifa_prefixlen < 32)) { in fib_del_ifaddr() 1219 any, ifa->ifa_prefixlen, prim, 0); in fib_del_ifaddr() 1285 if (prim1 == ifa1 && ifa1->ifa_prefixlen < 31) { in fib_del_ifaddr() 1306 if (subnet && ifa->ifa_prefixlen < 31) { in fib_del_ifaddr()
|
/linux-6.6.21/include/uapi/linux/ |
D | if_addr.h | 10 __u8 ifa_prefixlen; /* The prefix length */ member
|
/linux-6.6.21/include/linux/ |
D | inetdevice.h | 152 unsigned char ifa_prefixlen; member
|
/linux-6.6.21/net/phonet/ |
D | pn_netlink.c | 107 ifm->ifa_prefixlen = 0; in fill_addr()
|
/linux-6.6.21/net/mctp/ |
D | device.c | 75 hdr->ifa_prefixlen = 0; in mctp_fill_addrinfo()
|
/linux-6.6.21/net/ipv6/ |
D | addrconf.c | 4748 ifm->ifa_prefixlen, extack); in inet6_rtm_deladdr() 4934 cfg.plen = ifm->ifa_prefixlen; in inet6_rtm_newaddr() 5010 ifm->ifa_prefixlen = prefixlen; in put_ifaddrmsg() 5288 if (ifm->ifa_prefixlen || ifm->ifa_flags || ifm->ifa_scope) { in inet6_valid_dump_ifaddr_req() 5447 if (ifm->ifa_prefixlen || ifm->ifa_flags || ifm->ifa_scope) { in inet6_rtm_valid_getaddr_req()
|
/linux-6.6.21/tools/testing/selftests/net/ |
D | ipsec.c | 373 req.info.ifa_prefixlen = prefix; in ip4_addr_set()
|