/net/ipv6/ |
D | addrlabel.c | 34 int prefixlen; member 68 int prefixlen; member 76 .prefixlen = 7, 80 .prefixlen = 10, 84 .prefixlen = 16, 88 .prefixlen = 16, 92 .prefixlen = 32, 96 .prefixlen = 28, 100 .prefixlen = 96, 104 .prefixlen = 96, [all …]
|
D | sit.c | 191 t->ip6rd.prefixlen = 16; in ipip6_tunnel_clone_6rd() 630 prefix_len = tunnel->ip6rd.prefixlen + 32 in only_dnatted() 816 tunnel->ip6rd.prefixlen)) { in check_6rd() 821 pbw0 = tunnel->ip6rd.prefixlen >> 5; in check_6rd() 822 pbi0 = tunnel->ip6rd.prefixlen & 0x1f; in check_6rd() 1177 ip6rd->prefixlen + (32 - ip6rd->relay_prefixlen) > 64) in ipip6_tunnel_update_6rd() 1180 ipv6_addr_prefix(&prefix, &ip6rd->prefix, ip6rd->prefixlen); in ipip6_tunnel_update_6rd() 1194 t->ip6rd.prefixlen = ip6rd->prefixlen; in ipip6_tunnel_update_6rd() 1218 ip6rd.prefixlen = t->ip6rd.prefixlen; in ipip6_tunnel_get6rd() 1605 ip6rd->prefixlen = nla_get_u16(data[IFLA_IPTUN_6RD_PREFIXLEN]); in ipip6_netlink_6rd_parms() [all …]
|
D | tcp_ipv6.c | 604 u8 prefixlen; in tcp_v6_parse_md5_keys() local 620 prefixlen = cmd.tcpm_prefixlen; in tcp_v6_parse_md5_keys() 621 if (prefixlen > 128 || (ipv6_addr_v4mapped(&sin6->sin6_addr) && in tcp_v6_parse_md5_keys() 622 prefixlen > 32)) in tcp_v6_parse_md5_keys() 625 prefixlen = ipv6_addr_v4mapped(&sin6->sin6_addr) ? 32 : 128; in tcp_v6_parse_md5_keys() 648 AF_INET, prefixlen, in tcp_v6_parse_md5_keys() 651 AF_INET6, prefixlen, l3index, flags); in tcp_v6_parse_md5_keys() 659 AF_INET, prefixlen, l3index, flags, in tcp_v6_parse_md5_keys() 664 AF_INET6, prefixlen, l3index, flags, in tcp_v6_parse_md5_keys()
|
D | route.c | 120 const struct in6_addr *prefix, int prefixlen, 125 const struct in6_addr *prefix, int prefixlen, 4275 const struct in6_addr *prefix, int prefixlen, in rt6_get_route_info() argument 4290 fn = fib6_locate(&table->tb6_root, prefix, prefixlen, NULL, 0, true); in rt6_get_route_info() 4315 const struct in6_addr *prefix, int prefixlen, in rt6_add_route_info() argument 4323 .fc_dst_len = prefixlen, in rt6_add_route_info() 4338 if (!prefixlen) in rt6_add_route_info() 4343 return rt6_get_route_info(net, prefix, prefixlen, gwaddr, dev); in rt6_add_route_info()
|
D | addrconf.c | 4988 static void put_ifaddrmsg(struct nlmsghdr *nlh, u8 prefixlen, u32 flags, in put_ifaddrmsg() argument 4995 ifm->ifa_prefixlen = prefixlen; in put_ifaddrmsg()
|
/net/xfrm/ |
D | xfrm_policy.c | 69 u8 prefixlen; member 739 int family, u8 prefixlen) in xfrm_pol_inexact_addr_use_any_list() argument 744 if (family == AF_INET6 && prefixlen < INEXACT_PREFIXLEN_IPV6) in xfrm_pol_inexact_addr_use_any_list() 747 if (family == AF_INET && prefixlen < INEXACT_PREFIXLEN_IPV4) in xfrm_pol_inexact_addr_use_any_list() 758 u8 prefixlen; in xfrm_policy_inexact_insert_use_any_list() local 761 prefixlen = policy->selector.prefixlen_s; in xfrm_policy_inexact_insert_use_any_list() 765 prefixlen); in xfrm_policy_inexact_insert_use_any_list() 767 prefixlen = policy->selector.prefixlen_d; in xfrm_policy_inexact_insert_use_any_list() 770 prefixlen); in xfrm_policy_inexact_insert_use_any_list() 775 const xfrm_address_t *addr, u8 prefixlen) in xfrm_pol_inexact_node_init() argument [all …]
|
D | xfrm_hash.h | 55 __u8 prefixlen) in __xfrm6_pref_hash() argument 61 pdw = prefixlen >> 5; /* num of whole u32 in prefix */ in __xfrm6_pref_hash() 62 pbi = prefixlen & 0x1f; /* num of bits in incomplete u32 in prefix */ in __xfrm6_pref_hash()
|
/net/ipv4/ |
D | tcp_ipv4.c | 1062 return old->prefixlen < new->prefixlen; in better_md5_match() 1090 mask = inet_make_mask(key->prefixlen); in __tcp_md5_do_lookup() 1096 key->prefixlen); in __tcp_md5_do_lookup() 1111 int family, u8 prefixlen, in tcp_md5_do_lookup_exact() argument 1137 key->prefixlen == prefixlen) in tcp_md5_do_lookup_exact() 1158 int family, u8 prefixlen, int l3index, u8 flags, in tcp_md5_do_add() argument 1166 key = tcp_md5_do_lookup_exact(sk, addr, family, prefixlen, l3index, flags); in tcp_md5_do_add() 1209 key->prefixlen = prefixlen; in tcp_md5_do_add() 1221 u8 prefixlen, int l3index, u8 flags) in tcp_md5_do_del() argument 1225 key = tcp_md5_do_lookup_exact(sk, addr, family, prefixlen, l3index, flags); in tcp_md5_do_del() [all …]
|
D | tcp_diag.c | 42 info->tcpm_prefixlen = key->prefixlen; in tcp_diag_md5sig_fill()
|
D | fib_rules.c | 159 if (result->prefixlen <= rule->suppress_prefixlen) in fib4_rule_suppress()
|
D | fib_frontend.c | 1352 frn->prefixlen = res.prefixlen; in nl_fib_lookup()
|
D | fib_semantics.c | 2074 u8 slen = 32 - res->prefixlen; in fib_select_default() 2282 if (!res->prefixlen && in fib_select_path()
|
D | route.c | 2559 if (fi && res->prefixlen < 4) in __mkroute_output() 3414 fri.dst_len = res.prefixlen; in inet_rtm_getroute()
|
D | fib_trie.c | 1622 res->prefixlen = KEYLENGTH - fa->fa_slen; in fib_table_lookup()
|