Searched refs:prefix_len (Results 1 – 5 of 5) sorted by relevance
/net/ipv6/ |
D | addrconf.c | 894 ifa->prefix_len = pfxlen; in ipv6_add_addr() 979 ifp->prefix_len)) in check_cleanup_prefix_route() 1008 ifp->prefix_len, in cleanup_prefix_route() 1133 tmp_plen = ifp->prefix_len; in ipv6_create_tempaddr() 1353 if (ret > score->ifa->prefix_len) in ipv6_get_saddr_eval() 1354 ret = score->ifa->prefix_len; in ipv6_get_saddr_eval() 1635 const unsigned int prefix_len, struct net_device *dev) in ipv6_chk_custom_prefix() argument 1646 ret = ipv6_prefix_equal(addr, &ifa->addr, prefix_len); in ipv6_chk_custom_prefix() 1671 ifa->prefix_len); in ipv6_chk_prefix() 1819 if (ifp->prefix_len >= 127) /* RFC 6164 */ in addrconf_join_anycast() [all …]
|
D | ndisc.c | 1322 ri->prefix_len == 0) in ndisc_router_discovery() 1325 if (ri->prefix_len == 0 && in ndisc_router_discovery() 1328 if (ri->prefix_len < in6_dev->cnf.accept_ra_rt_info_min_plen) in ndisc_router_discovery() 1330 if (ri->prefix_len > in6_dev->cnf.accept_ra_rt_info_max_plen) in ndisc_router_discovery()
|
D | sit.c | 617 int prefix_len; in only_dnatted() local 620 prefix_len = tunnel->ip6rd.prefixlen + 32 in only_dnatted() 623 prefix_len = 48; in only_dnatted() 625 return ipv6_chk_custom_prefix(v6dst, prefix_len, tunnel->dev); in only_dnatted()
|
D | route.c | 715 } else if (rinfo->prefix_len > 128) { in rt6_route_rcv() 717 } else if (rinfo->prefix_len > 64) { in rt6_route_rcv() 721 } else if (rinfo->prefix_len > 0) { in rt6_route_rcv() 739 rinfo->prefix_len); in rt6_route_rcv() 743 if (rinfo->prefix_len == 0) in rt6_route_rcv() 746 rt = rt6_get_route_info(dev, prefix, rinfo->prefix_len, gwaddr); in rt6_route_rcv() 754 rt = rt6_add_route_info(dev, prefix, rinfo->prefix_len, gwaddr, pref); in rt6_route_rcv()
|
/net/ipv4/ |
D | inet_diag.c | 503 cond->prefix_len)) in inet_diag_bc_run() 510 if (cond->prefix_len == 0) in inet_diag_bc_run() 513 cond->prefix_len)) in inet_diag_bc_run() 637 if (cond->prefix_len > 8 * addr_len) in valid_hostcond()
|