Searched refs:prefix_len (Results 1 – 7 of 7) sorted by relevance
/net/smc/ |
D | smc_clc.c | 108 prop->prefix_len = inet_mask_len(ifa->ifa_mask); in smc_clc_prfx_set4_rcu() 133 &ifa->addr, ifa->prefix_len); in smc_clc_prfx_set6_rcu() 134 ipv6_prfx[cnt].prefix_len = ifa->prefix_len; in smc_clc_prfx_set6_rcu() 201 if (prop->prefix_len == inet_mask_len(ifa->ifa_mask) && in smc_clc_prfx_match4_rcu() 228 if (ifa->prefix_len == ipv6_prfx[i].prefix_len && in smc_clc_prfx_match6_rcu() 230 ifa->prefix_len)) in smc_clc_prfx_match6_rcu()
|
D | smc_clc.h | 88 u8 prefix_len; member 93 u8 prefix_len; /* number of significant bits in mask */ member
|
/net/ipv6/ |
D | addrconf.c | 1131 ifa->prefix_len = cfg->plen; in ipv6_add_addr() 1226 if (ifa->prefix_len != ifp->prefix_len || in check_cleanup_prefix_route() 1228 ifp->prefix_len)) in check_cleanup_prefix_route() 1258 ifp->prefix_len, in cleanup_prefix_route() 1407 cfg.plen = ifp->prefix_len; in ipv6_create_tempaddr() 1648 if (ret > score->ifa->prefix_len) in ipv6_get_saddr_eval() 1649 ret = score->ifa->prefix_len; in ipv6_get_saddr_eval() 1975 const unsigned int prefix_len, struct net_device *dev) in ipv6_chk_custom_prefix() argument 1985 ret = ipv6_prefix_equal(addr, &ifa->addr, prefix_len); in ipv6_chk_custom_prefix() 2008 ifa->prefix_len); in ipv6_chk_prefix() [all …]
|
D | ndisc.c | 1448 ri->prefix_len == 0) in ndisc_router_discovery() 1451 if (ri->prefix_len == 0 && in ndisc_router_discovery() 1454 if (ri->prefix_len < in6_dev->cnf.accept_ra_rt_info_min_plen) in ndisc_router_discovery() 1456 if (ri->prefix_len > in6_dev->cnf.accept_ra_rt_info_max_plen) in ndisc_router_discovery()
|
D | sit.c | 584 int prefix_len; in only_dnatted() local 587 prefix_len = tunnel->ip6rd.prefixlen + 32 in only_dnatted() 590 prefix_len = 48; in only_dnatted() 592 return ipv6_chk_custom_prefix(v6dst, prefix_len, tunnel->dev); in only_dnatted()
|
D | route.c | 956 } else if (rinfo->prefix_len > 128) { in rt6_route_rcv() 958 } else if (rinfo->prefix_len > 64) { in rt6_route_rcv() 962 } else if (rinfo->prefix_len > 0) { in rt6_route_rcv() 980 rinfo->prefix_len); in rt6_route_rcv() 984 if (rinfo->prefix_len == 0) in rt6_route_rcv() 987 rt = rt6_get_route_info(net, prefix, rinfo->prefix_len, in rt6_route_rcv() 996 rt = rt6_add_route_info(net, prefix, rinfo->prefix_len, gwaddr, in rt6_route_rcv()
|
/net/ipv4/ |
D | inet_diag.c | 610 cond->prefix_len)) in inet_diag_bc_run() 617 if (cond->prefix_len == 0) in inet_diag_bc_run() 620 cond->prefix_len)) in inet_diag_bc_run() 756 if (cond->prefix_len > 8 * addr_len) in valid_hostcond()
|