/net/netfilter/ |
D | nf_nat_proto_common.c | 28 port = tuple->src.u.all; in nf_nat_l4proto_in_range() 30 port = tuple->dst.u.all; in nf_nat_l4proto_in_range() 32 return ntohs(port) >= ntohs(min->all) && in nf_nat_l4proto_in_range() 33 ntohs(port) <= ntohs(max->all); in nf_nat_l4proto_in_range() 49 portptr = &tuple->src.u.all; in nf_nat_l4proto_unique_tuple() 51 portptr = &tuple->dst.u.all; in nf_nat_l4proto_unique_tuple() 73 min = ntohs(range->min_proto.all); in nf_nat_l4proto_unique_tuple() 74 max = ntohs(range->max_proto.all); in nf_nat_l4proto_unique_tuple() 82 ? tuple->dst.u.all in nf_nat_l4proto_unique_tuple() 83 : tuple->src.u.all); in nf_nat_l4proto_unique_tuple() [all …]
|
D | xt_conntrack.c | 92 (tuple->src.u.all == info->origsrc_port) ^ in ct_proto_port_check() 97 (tuple->dst.u.all == info->origdst_port) ^ in ct_proto_port_check() 104 (tuple->src.u.all == info->replsrc_port) ^ in ct_proto_port_check() 109 (tuple->dst.u.all == info->repldst_port) ^ in ct_proto_port_check() 137 ntohs(tuple->src.u.all), in ct_proto_port_check_v3() 143 ntohs(tuple->dst.u.all), in ct_proto_port_check_v3() 151 ntohs(tuple->src.u.all), in ct_proto_port_check_v3() 157 ntohs(tuple->dst.u.all), in ct_proto_port_check_v3()
|
D | nf_conntrack_expect.c | 88 hash = jhash2(tuple->dst.u3.all, ARRAY_SIZE(tuple->dst.u3.all), in nf_ct_expect_dst_hash() 90 (__force __u16)tuple->dst.u.all) ^ seed); in nf_ct_expect_dst_hash() 240 intersect_mask.src.u.all = a->mask.src.u.all & b->mask.src.u.all; in expect_clash() 243 intersect_mask.src.u3.all[count] = in expect_clash() 244 a->mask.src.u3.all[count] & b->mask.src.u3.all[count]; in expect_clash() 324 exp->tuple.src.u.all = *src; in nf_ct_expect_init() 325 exp->mask.src.u.all = htons(0xFFFF); in nf_ct_expect_init() 327 exp->tuple.src.u.all = 0; in nf_ct_expect_init() 328 exp->mask.src.u.all = 0; in nf_ct_expect_init() 337 exp->tuple.dst.u.all = *dst; in nf_ct_expect_init()
|
D | nf_conntrack_proto_generic.c | 38 tuple->src.u.all = 0; in generic_pkt_to_tuple() 39 tuple->dst.u.all = 0; in generic_pkt_to_tuple() 47 tuple->src.u.all = 0; in generic_invert_tuple() 48 tuple->dst.u.all = 0; in generic_invert_tuple()
|
D | nf_nat_core.c | 185 t->src.u.all == tuple->src.u.all); in same_src() 265 0 : (__force u32)tuple->dst.u3.all[max] ^ zone->id); in find_best_ips_proto() 273 minip = ntohl((__force __be32)range->min_addr.all[i]); in find_best_ips_proto() 274 maxip = ntohl((__force __be32)range->max_addr.all[i]); in find_best_ips_proto() 281 var_ipp->all[i] = (__force __u32) in find_best_ips_proto() 283 if (var_ipp->all[i] != range->max_addr.all[i]) in find_best_ips_proto() 287 j ^= (__force u32)tuple->dst.u3.all[i]; in find_best_ips_proto() 354 (range->min_proto.all == range->max_proto.all || in get_unique_tuple()
|
D | nf_conntrack_ftp.c | 444 memcpy(cmd.u3.all, &ct->tuplehash[dir].tuple.src.u3.all, in help() 445 sizeof(cmd.u3.all)); in help() 490 memcmp(&cmd.u3.all, &ct->tuplehash[dir].tuple.src.u3.all, in help() 491 sizeof(cmd.u3.all))) { in help()
|
D | nf_conntrack_proto_gre.c | 89 km->tuple.dst.u.all == t->dst.u.all; in gre_key_cmpfn() 205 tuple->src.u.all = 0; in gre_pkt_to_tuple() 206 tuple->dst.u.all = 0; in gre_pkt_to_tuple()
|
D | nft_nat.c | 68 range.min_proto.all = (__force __be16)nft_reg_load16( in nft_nat_eval() 70 range.max_proto.all = (__force __be16)nft_reg_load16( in nft_nat_eval() 180 plen = FIELD_SIZEOF(struct nf_nat_range, min_addr.all); in nft_nat_init()
|
D | nf_conntrack_helper.c | 112 (__force __u16)tuple->src.u.all) % nf_ct_helper_hsize; in helper_hash() 119 struct nf_conntrack_tuple_mask mask = { .src.u.all = htons(0xFFFF) }; in __nf_ct_helper_find() 396 struct nf_conntrack_tuple_mask mask = { .src.u.all = htons(0xFFFF) }; in nf_conntrack_helper_register() 490 helper->tuple.src.u.all = htons(spec_port); in nf_ct_helper_init()
|
D | nft_ct.c | 186 memcpy(dest, tuple->src.u3.all, in nft_ct_get_eval() 190 memcpy(dest, tuple->dst.u3.all, in nft_ct_get_eval() 194 nft_reg_store16(dest, (__force u16)tuple->src.u.all); in nft_ct_get_eval() 197 nft_reg_store16(dest, (__force u16)tuple->dst.u.all); in nft_ct_get_eval() 459 len = FIELD_SIZEOF(struct nf_conntrack_tuple, src.u.all); in nft_ct_get_init()
|
D | nft_redir.c | 50 plen = FIELD_SIZEOF(struct nf_nat_range, min_addr.all); in nft_redir_init()
|
/net/ipv4/ |
D | devinet.c | 1803 bool all = false; in inet_netconf_msgsize_devconf() local 1806 all = true; in inet_netconf_msgsize_devconf() 1808 if (all || type == NETCONFA_FORWARDING) in inet_netconf_msgsize_devconf() 1810 if (all || type == NETCONFA_RP_FILTER) in inet_netconf_msgsize_devconf() 1812 if (all || type == NETCONFA_MC_FORWARDING) in inet_netconf_msgsize_devconf() 1814 if (all || type == NETCONFA_PROXY_NEIGH) in inet_netconf_msgsize_devconf() 1816 if (all || type == NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN) in inet_netconf_msgsize_devconf() 1829 bool all = false; in inet_netconf_fill_devconf() local 1837 all = true; in inet_netconf_fill_devconf() 1848 if ((all || type == NETCONFA_FORWARDING) && in inet_netconf_fill_devconf() [all …]
|
/net/ipv6/netfilter/ |
D | nf_nat_l3proto_ipv6.c | 47 fl6->fl6_dport = t->dst.u.all; in nf_nat_ipv6_decode_session() 59 fl6->fl6_sport = t->src.u.all; in nf_nat_ipv6_decode_session() 389 ct->tuplehash[dir].tuple.src.u.all != in nf_nat_ipv6_out() 390 ct->tuplehash[!dir].tuple.dst.u.all)) { in nf_nat_ipv6_out() 432 ct->tuplehash[dir].tuple.dst.u.all != in nf_nat_ipv6_local_fn() 433 ct->tuplehash[!dir].tuple.src.u.all) { in nf_nat_ipv6_local_fn()
|
D | nft_redir_ipv6.c | 29 range.min_proto.all = (__force __be16)nft_reg_load16( in nft_redir_ipv6_eval() 31 range.max_proto.all = (__force __be16)nft_reg_load16( in nft_redir_ipv6_eval()
|
D | nft_masq_ipv6.c | 30 range.min_proto.all = (__force __be16)nft_reg_load16( in nft_masq_ipv6_eval() 32 range.max_proto.all = (__force __be16)nft_reg_load16( in nft_masq_ipv6_eval()
|
/net/ipv4/netfilter/ |
D | nf_nat_l3proto_ipv4.c | 48 fl4->fl4_dport = t->dst.u.all; in nf_nat_ipv4_decode_session() 60 fl4->fl4_sport = t->src.u.all; in nf_nat_ipv4_decode_session() 373 ct->tuplehash[dir].tuple.src.u.all != in nf_nat_ipv4_out() 374 ct->tuplehash[!dir].tuple.dst.u.all)) { in nf_nat_ipv4_out() 417 ct->tuplehash[dir].tuple.dst.u.all != in nf_nat_ipv4_local_fn() 418 ct->tuplehash[!dir].tuple.src.u.all) { in nf_nat_ipv4_local_fn()
|
D | nft_masq_ipv4.c | 29 range.min_proto.all = (__force __be16)nft_reg_load16( in nft_masq_ipv4_eval() 31 range.max_proto.all = (__force __be16)nft_reg_load16( in nft_masq_ipv4_eval()
|
D | nft_redir_ipv4.c | 29 mr.range[0].min.all = (__force __be16)nft_reg_load16( in nft_redir_ipv4_eval() 31 mr.range[0].max.all = (__force __be16)nft_reg_load16( in nft_redir_ipv4_eval()
|
/net/netfilter/ipvs/ |
D | ip_vs_nfct.c | 71 #define ARG_TUPLE(T) &(T)->src.u3.ip, ntohs((T)->src.u.all), \ 72 &(T)->dst.u3.ip, ntohs((T)->dst.u.all), \ 272 tuple.src.u.all = cp->cport; in ip_vs_conn_drop_conntrack() 275 tuple.dst.u.all = cp->vport; in ip_vs_conn_drop_conntrack()
|
/net/openvswitch/ |
D | conntrack.c | 163 key->ct.orig_tp.src = orig->src.u.all; in __ovs_ct_update_key_orig_tp() 164 key->ct.orig_tp.dst = orig->dst.u.all; in __ovs_ct_update_key_orig_tp() 1268 info->range.min_proto.all = htons(nla_get_u16(a)); in parse_nat() 1274 info->range.max_proto.all = htons(nla_get_u16(a)); in parse_nat() 1323 info->range.max_proto.all = info->range.min_proto.all; in parse_nat() 1579 ntohs(info->range.min_proto.all)) || in ovs_ct_nat_to_attr() 1580 (info->range.max_proto.all != info->range.min_proto.all && in ovs_ct_nat_to_attr() 1582 ntohs(info->range.max_proto.all))))) in ovs_ct_nat_to_attr()
|
/net/xfrm/ |
D | xfrm_state.c | 574 INIT_LIST_HEAD(&x->km.all); in xfrm_state_alloc() 616 list_del(&x->km.all); in __xfrm_state_delete() 1029 list_add(&x->km.all, &net->xfrm.state_all); in xfrm_state_find() 1114 list_for_each_entry(w, &net->xfrm.state_all, all) { in xfrm_state_lookup_byspi() 1134 list_add(&x->km.all, &net->xfrm.state_all); in __xfrm_state_insert() 1258 list_add(&x->km.all, &net->xfrm.state_all); in __find_acq_core() 1848 if (walk->seq != 0 && list_empty(&walk->all)) in xfrm_state_walk() 1852 if (list_empty(&walk->all)) in xfrm_state_walk() 1853 x = list_first_entry(&net->xfrm.state_all, struct xfrm_state_walk, all); in xfrm_state_walk() 1855 x = list_first_entry(&walk->all, struct xfrm_state_walk, all); in xfrm_state_walk() [all …]
|
D | xfrm_policy.c | 270 INIT_LIST_HEAD(&policy->walk.all); in xfrm_policy_alloc() 620 list_for_each_entry_reverse(policy, &net->xfrm.policy_all, walk.all) { in xfrm_hash_rebuild() 1010 if (list_empty(&walk->walk.all) && walk->seq != 0) in xfrm_policy_walk() 1014 if (list_empty(&walk->walk.all)) in xfrm_policy_walk() 1015 x = list_first_entry(&net->xfrm.policy_all, struct xfrm_policy_walk_entry, all); in xfrm_policy_walk() 1017 x = list_first_entry(&walk->walk.all, in xfrm_policy_walk() 1018 struct xfrm_policy_walk_entry, all); in xfrm_policy_walk() 1020 list_for_each_entry_from(x, &net->xfrm.policy_all, all) { in xfrm_policy_walk() 1030 list_move_tail(&walk->walk.all, &x->all); in xfrm_policy_walk() 1039 list_del_init(&walk->walk.all); in xfrm_policy_walk() [all …]
|
/net/ax25/ |
D | Kconfig | 15 kernel: saying N will just cause the configurator to skip all 86 A comprehensive listing of all the software for Linux amateur radio 105 A comprehensive listing of all the software for Linux amateur radio
|
/net/netfilter/ipset/ |
D | ip_set_hash_ip.c | 224 struct hash_ip6_elem e = { { .all = { 0 } } }; in hash_ip6_kadt() 241 struct hash_ip6_elem e = { { .all = { 0 } } }; in hash_ip6_uadt()
|
D | ip_set_hash_ipmac.c | 209 { .all = { 0 } }, in hash_ipmac6_kadt() 237 { .all = { 0 } }, in hash_ipmac6_uadt()
|