Home
last modified time | relevance | path

Searched refs:all (Results 1 – 25 of 57) sorted by relevance

123

/net/netfilter/
Dnf_nat_core.c71 fl4->fl4_dport = t->dst.u.all; in nf_nat_ipv4_decode_session()
83 fl4->fl4_sport = t->src.u.all; in nf_nat_ipv4_decode_session()
104 fl6->fl6_dport = t->dst.u.all; in nf_nat_ipv6_decode_session()
116 fl6->fl6_sport = t->src.u.all; in nf_nat_ipv6_decode_session()
251 port = tuple->src.u.all; in l4proto_in_range()
253 port = tuple->dst.u.all; in l4proto_in_range()
255 return ntohs(port) >= ntohs(min->all) && in l4proto_in_range()
256 ntohs(port) <= ntohs(max->all); in l4proto_in_range()
291 t->src.u.all == tuple->src.u.all); in same_src()
369 0 : (__force u32)tuple->dst.u3.all[max] ^ zone->id); in find_best_ips_proto()
[all …]
Dnf_conntrack_expect.c87 hash = jhash2(tuple->dst.u3.all, ARRAY_SIZE(tuple->dst.u3.all), in nf_ct_expect_dst_hash()
89 (__force __u16)tuple->dst.u.all) ^ seed); in nf_ct_expect_dst_hash()
239 intersect_mask.src.u.all = a->mask.src.u.all & b->mask.src.u.all; in expect_clash()
242 intersect_mask.src.u3.all[count] = in expect_clash()
243 a->mask.src.u3.all[count] & b->mask.src.u3.all[count]; in expect_clash()
332 exp->tuple.src.u.all = *src; in nf_ct_expect_init()
333 exp->mask.src.u.all = htons(0xFFFF); in nf_ct_expect_init()
335 exp->tuple.src.u.all = 0; in nf_ct_expect_init()
336 exp->mask.src.u.all = 0; in nf_ct_expect_init()
345 exp->tuple.dst.u.all = *dst; in nf_ct_expect_init()
Dxt_conntrack.c89 (tuple->src.u.all == info->origsrc_port) ^ in ct_proto_port_check()
94 (tuple->dst.u.all == info->origdst_port) ^ in ct_proto_port_check()
101 (tuple->src.u.all == info->replsrc_port) ^ in ct_proto_port_check()
106 (tuple->dst.u.all == info->repldst_port) ^ in ct_proto_port_check()
134 ntohs(tuple->src.u.all), in ct_proto_port_check_v3()
140 ntohs(tuple->dst.u.all), in ct_proto_port_check_v3()
148 ntohs(tuple->src.u.all), in ct_proto_port_check_v3()
154 ntohs(tuple->dst.u.all), in ct_proto_port_check_v3()
Dnft_masq.c46 u32 plen = FIELD_SIZEOF(struct nf_nat_range, min_addr.all); in nft_masq_init()
108 range.min_proto.all = (__force __be16)nft_reg_load16( in nft_masq_ipv4_eval()
110 range.max_proto.all = (__force __be16)nft_reg_load16( in nft_masq_ipv4_eval()
154 range.min_proto.all = (__force __be16)nft_reg_load16( in nft_masq_ipv6_eval()
156 range.max_proto.all = (__force __be16)nft_reg_load16( in nft_masq_ipv6_eval()
Dnf_conntrack_ftp.c443 memcpy(cmd.u3.all, &ct->tuplehash[dir].tuple.src.u3.all, in help()
444 sizeof(cmd.u3.all)); in help()
489 memcmp(&cmd.u3.all, &ct->tuplehash[dir].tuple.src.u3.all, in help()
490 sizeof(cmd.u3.all))) { in help()
Dnf_conntrack_proto_gre.c78 km->tuple.dst.u.all == t->dst.u.all; in gre_key_cmpfn()
177 tuple->src.u.all = 0; in gre_pkt_to_tuple()
178 tuple->dst.u.all = 0; in gre_pkt_to_tuple()
Dnft_redir.c51 plen = FIELD_SIZEOF(struct nf_nat_range, min_addr.all); in nft_redir_init()
113 range.min_proto.all = (__force __be16) in nft_redir_eval()
115 range.max_proto.all = (__force __be16) in nft_redir_eval()
Dnf_conntrack_core.c195 (((__force __u16)tuple->dst.u.all << 16) | in hash_conntrack_raw()
439 inverse->src.u.all = orig->dst.u.all; in nf_ct_invert_tuple()
440 inverse->dst.u.all = orig->src.u.all; in nf_ct_invert_tuple()
1890 memcpy(tuple.src.u3.all, in __nf_conntrack_update()
1891 ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u3.all, in __nf_conntrack_update()
1892 sizeof(tuple.src.u3.all)); in __nf_conntrack_update()
1893 tuple.src.u.all = in __nf_conntrack_update()
1894 ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u.all; in __nf_conntrack_update()
1898 memcpy(tuple.dst.u3.all, in __nf_conntrack_update()
1899 ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.u3.all, in __nf_conntrack_update()
[all …]
Dnf_nat_proto.c705 ct->tuplehash[dir].tuple.src.u.all != in nf_nat_ipv4_out()
706 ct->tuplehash[!dir].tuple.dst.u.all)) { in nf_nat_ipv4_out()
742 ct->tuplehash[dir].tuple.dst.u.all != in nf_nat_ipv4_local_fn()
743 ct->tuplehash[!dir].tuple.src.u.all) { in nf_nat_ipv4_local_fn()
942 ct->tuplehash[dir].tuple.src.u.all != in nf_nat_ipv6_out()
943 ct->tuplehash[!dir].tuple.dst.u.all)) { in nf_nat_ipv6_out()
980 ct->tuplehash[dir].tuple.dst.u.all != in nf_nat_ipv6_local_fn()
981 ct->tuplehash[!dir].tuple.src.u.all) { in nf_nat_ipv6_local_fn()
Dnft_nat.c62 range.min_proto.all = (__force __be16)nft_reg_load16( in nft_nat_eval()
64 range.max_proto.all = (__force __be16)nft_reg_load16( in nft_nat_eval()
178 plen = FIELD_SIZEOF(struct nf_nat_range, min_addr.all); in nft_nat_init()
Dnf_conntrack_helper.c51 (__force __u16)tuple->src.u.all) % nf_ct_helper_hsize; in helper_hash()
58 struct nf_conntrack_tuple_mask mask = { .src.u.all = htons(0xFFFF) }; in __nf_ct_helper_find()
398 struct nf_conntrack_tuple_mask mask = { .src.u.all = htons(0xFFFF) }; in nf_conntrack_helper_register()
495 helper->tuple.src.u.all = htons(spec_port); in nf_ct_helper_init()
Dnf_nat_sip.c344 ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u.all == pair_exp->saved_proto.all) { in nf_nat_sip_expected()
346 range.min_proto.all = range.max_proto.all = pair_exp->tuple.dst.u.all; in nf_nat_sip_expected()
Dxt_HMARK.c102 t->uports.b16.src = otuple->src.u.all; in hmark_ct_set_htuple()
103 t->uports.b16.dst = rtuple->src.u.all; in hmark_ct_set_htuple()
/net/ipv4/
Ddevinet.c2020 bool all = false; in inet_netconf_msgsize_devconf() local
2023 all = true; in inet_netconf_msgsize_devconf()
2025 if (all || type == NETCONFA_FORWARDING) in inet_netconf_msgsize_devconf()
2027 if (all || type == NETCONFA_RP_FILTER) in inet_netconf_msgsize_devconf()
2029 if (all || type == NETCONFA_MC_FORWARDING) in inet_netconf_msgsize_devconf()
2031 if (all || type == NETCONFA_BC_FORWARDING) in inet_netconf_msgsize_devconf()
2033 if (all || type == NETCONFA_PROXY_NEIGH) in inet_netconf_msgsize_devconf()
2035 if (all || type == NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN) in inet_netconf_msgsize_devconf()
2048 bool all = false; in inet_netconf_fill_devconf() local
2056 all = true; in inet_netconf_fill_devconf()
[all …]
DKconfig24 answering N will just cause the configurator to skip all the
48 echo 1 > /proc/sys/net/ipv4/conf/all/rp_filter
88 for those packets. The router considers all these paths to be of
114 on NFS" as well), because all other machines configure the network
127 does DHCP itself, providing all necessary information on the kernel
144 does BOOTP itself, providing all necessary information on the kernel
213 Network), but can be distributed all over the Internet. If you want
462 Nearly all users can safely say no here, and a safe default
673 for all connections.
/net/netfilter/ipvs/
Dip_vs_nfct.c56 ntohs((T)->src.u.all), \
58 ntohs((T)->dst.u.all), \
254 tuple.src.u.all = cp->cport; in ip_vs_conn_drop_conntrack()
257 tuple.dst.u.all = cp->vport; in ip_vs_conn_drop_conntrack()
DKconfig201 server set. If all the node in the server set are over loaded,
237 is to assign a preference list of all the lookup table positions
284 until all slots in the table are filled. When using weights to
287 needs to be large enough to effectively fit all the destinations
299 list of the positions to each destination until all slots in
305 enough to effectively fit all the destinations multiplied by their
/net/xfrm/
Dxfrm_state.c621 INIT_LIST_HEAD(&x->km.all); in xfrm_state_alloc()
665 list_del(&x->km.all); in __xfrm_state_delete()
1139 list_add(&x->km.all, &net->xfrm.state_all); in xfrm_state_find()
1226 list_for_each_entry(w, &net->xfrm.state_all, all) { in xfrm_state_lookup_byspi()
1246 list_add(&x->km.all, &net->xfrm.state_all); in __xfrm_state_insert()
1372 list_add(&x->km.all, &net->xfrm.state_all); in __find_acq_core()
2085 if (walk->seq != 0 && list_empty(&walk->all)) in xfrm_state_walk()
2089 if (list_empty(&walk->all)) in xfrm_state_walk()
2090 x = list_first_entry(&net->xfrm.state_all, struct xfrm_state_walk, all); in xfrm_state_walk()
2092 x = list_first_entry(&walk->all, struct xfrm_state_walk, all); in xfrm_state_walk()
[all …]
Dxfrm_policy.c398 INIT_LIST_HEAD(&policy->walk.all); in xfrm_policy_alloc()
851 list_for_each_entry_reverse(policy, &net->xfrm.policy_all, walk.all) { in xfrm_policy_inexact_list_reinsert()
1256 list_for_each_entry(policy, &net->xfrm.policy_all, walk.all) { in xfrm_hash_rebuild()
1327 list_for_each_entry_reverse(policy, &net->xfrm.policy_all, walk.all) { in xfrm_hash_rebuild()
1760 list_for_each_entry(pol, &net->xfrm.policy_all, walk.all) { in xfrm_policy_flush_secctx_check()
1794 list_for_each_entry(pol, &net->xfrm.policy_all, walk.all) { in xfrm_policy_flush()
1831 if (list_empty(&walk->walk.all) && walk->seq != 0) in xfrm_policy_walk()
1835 if (list_empty(&walk->walk.all)) in xfrm_policy_walk()
1836 x = list_first_entry(&net->xfrm.policy_all, struct xfrm_policy_walk_entry, all); in xfrm_policy_walk()
1838 x = list_first_entry(&walk->walk.all, in xfrm_policy_walk()
[all …]
/net/ax25/
DKconfig16 kernel: saying N will just cause the configurator to skip all
87 A comprehensive listing of all the software for Linux amateur radio
106 A comprehensive listing of all the software for Linux amateur radio
/net/sched/
Dact_ct.c565 range->min_proto.all = nla_get_be16(tb[TCA_CT_NAT_PORT_MIN]); in tcf_ct_fill_params_nat()
567 range->max_proto.all = tb[TCA_CT_NAT_PORT_MAX] ? in tcf_ct_fill_params_nat()
569 range->min_proto.all; in tcf_ct_fill_params_nat()
820 range->min_proto.all)) in tcf_ct_dump_nat()
823 range->max_proto.all)) in tcf_ct_dump_nat()
/net/openvswitch/
Dconntrack.c184 key->ct.orig_tp.src = orig->src.u.all; in __ovs_ct_update_key_orig_tp()
185 key->ct.orig_tp.dst = orig->dst.u.all; in __ovs_ct_update_key_orig_tp()
1431 info->range.min_proto.all = htons(nla_get_u16(a)); in parse_nat()
1437 info->range.max_proto.all = htons(nla_get_u16(a)); in parse_nat()
1486 info->range.max_proto.all = info->range.min_proto.all; in parse_nat()
1763 ntohs(info->range.min_proto.all)) || in ovs_ct_nat_to_attr()
1764 (info->range.max_proto.all != info->range.min_proto.all && in ovs_ct_nat_to_attr()
1766 ntohs(info->range.max_proto.all))))) in ovs_ct_nat_to_attr()
/net/netfilter/ipset/
Dip_set_hash_ip.c220 struct hash_ip6_elem e = { { .all = { 0 } } }; in hash_ip6_kadt()
237 struct hash_ip6_elem e = { { .all = { 0 } } }; in hash_ip6_uadt()
Dip_set_hash_ipmac.c203 { .all = { 0 } }, in hash_ipmac6_kadt()
231 { .all = { 0 } }, in hash_ipmac6_uadt()
/net/wimax/
DKconfig38 If set at zero, this will compile out all the debug code.

123