Home
last modified time | relevance | path

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

/linux/net/ipv4/
A Ddevinet.c681 (ifm->ifa_prefixlen != ifa->ifa_prefixlen || in inet_rtm_deladdr()
842 if (ifm->ifa_prefixlen > 32 || !tb[IFA_LOCAL]) in rtm_to_ifaddr()
871 ifa->ifa_prefixlen = ifm->ifa_prefixlen; in rtm_to_ifaddr()
872 ifa->ifa_mask = inet_make_mask(ifm->ifa_prefixlen); in rtm_to_ifaddr()
1175 ifa->ifa_mask = inet_make_mask(ifa->ifa_prefixlen); in devinet_ioctl()
1177 ifa->ifa_prefixlen < 31) in devinet_ioctl()
1181 ifa->ifa_prefixlen = 32; in devinet_ioctl()
1223 ifa->ifa_prefixlen = inet_mask_len(ifa->ifa_mask); in devinet_ioctl()
1232 (ifa->ifa_prefixlen < 31) && in devinet_ioctl()
1562 ifa->ifa_prefixlen = 8; in inetdev_event()
[all …]
A Dfib_frontend.c1120 (prefix != addr || ifa->ifa_prefixlen < 32)) { in fib_add_ifaddr()
1124 prefix, ifa->ifa_prefixlen, prim, in fib_add_ifaddr()
1128 if (ifa->ifa_prefixlen < 31) { in fib_add_ifaddr()
1144 (prefix == ifa->ifa_local && ifa->ifa_prefixlen == 32)) in fib_modify_prefix_metric()
1150 prefix, ifa->ifa_prefixlen, ifa, new_metric); in fib_modify_prefix_metric()
1155 prefix, ifa->ifa_prefixlen, ifa, ifa->ifa_rt_priority); in fib_modify_prefix_metric()
1195 (any != ifa->ifa_local || ifa->ifa_prefixlen < 32)) { in fib_del_ifaddr()
1199 any, ifa->ifa_prefixlen, prim, 0); in fib_del_ifaddr()
1265 if (prim1 == ifa1 && ifa1->ifa_prefixlen < 31) { in fib_del_ifaddr()
1286 if (subnet && ifa->ifa_prefixlen < 31) { in fib_del_ifaddr()
/linux/include/uapi/linux/
A Dif_addr.h10 __u8 ifa_prefixlen; /* The prefix length */ member
/linux/net/phonet/
A Dpn_netlink.c107 ifm->ifa_prefixlen = 0; in fill_addr()
/linux/include/linux/
A Dinetdevice.h150 unsigned char ifa_prefixlen; member
/linux/net/mctp/
A Ddevice.c51 hdr->ifa_prefixlen = 0; in mctp_fill_addrinfo()
/linux/net/ipv6/
A Daddrconf.c4660 ifm->ifa_prefixlen); in inet6_rtm_deladdr()
4844 cfg.plen = ifm->ifa_prefixlen; in inet6_rtm_newaddr()
4913 ifm->ifa_prefixlen = prefixlen; in put_ifaddrmsg()
5184 if (ifm->ifa_prefixlen || ifm->ifa_flags || ifm->ifa_scope) { in inet6_valid_dump_ifaddr_req()
5343 if (ifm->ifa_prefixlen || ifm->ifa_flags || ifm->ifa_scope) { in inet6_rtm_valid_getaddr_req()
/linux/net/decnet/
A Ddn_dev.c692 ifm->ifa_prefixlen = 16; in dn_nl_fill_ifaddr()
/linux/tools/testing/selftests/net/
A Dipsec.c335 req.info.ifa_prefixlen = prefix; in ip4_addr_set()

Completed in 31 milliseconds