Home
last modified time | relevance | path

Searched refs:mangle (Results 1 – 25 of 26) sorted by relevance

12

/kernel/linux/linux-5.10/net/ipv4/netfilter/
Darpt_mangle.c15 const struct arpt_mangle *mangle = par->targinfo; in target() local
28 if (mangle->flags & ARPT_MANGLE_SDEV) { in target()
32 memcpy(arpptr, mangle->src_devaddr, hln); in target()
35 if (mangle->flags & ARPT_MANGLE_SIP) { in target()
39 memcpy(arpptr, &mangle->u_s.src_ip, pln); in target()
42 if (mangle->flags & ARPT_MANGLE_TDEV) { in target()
46 memcpy(arpptr, mangle->tgt_devaddr, hln); in target()
49 if (mangle->flags & ARPT_MANGLE_TIP) { in target()
53 memcpy(arpptr, &mangle->u_t.tgt_ip, pln); in target()
55 return mangle->target; in target()
[all …]
DKconfig253 # mangle + specific targets
258 This option adds a `mangle' table to iptables: see the man page for
283 This option adds a `ECN' target, which can be used in the iptables mangle
/kernel/linux/linux-5.10/scripts/
Dheaderdep.pl164 sub mangle { subroutine
179 mangle($header), $header;
188 mangle($header), mangle($dep->[1]);
/kernel/linux/linux-5.10/fs/
Dproc_namespace.c84 static inline void mangle(struct seq_file *m, const char *s) in mangle() function
91 mangle(m, sb->s_type->name); in show_type()
94 mangle(m, sb->s_subtype); in show_type()
111 mangle(m, r->mnt_devname ? r->mnt_devname : "none"); in show_vfsmnt()
181 mangle(m, r->mnt_devname ? r->mnt_devname : "none"); in show_mountinfo()
211 mangle(m, r->mnt_devname); in show_vfsstat()
/kernel/linux/linux-5.10/Documentation/networking/
Dtproxy.rst19 # iptables -t mangle -N DIVERT
20 # iptables -t mangle -A PREROUTING -p tcp -m socket -j DIVERT
21 # iptables -t mangle -A DIVERT -j MARK --set-mark 1
22 # iptables -t mangle -A DIVERT -j ACCEPT
69 # iptables -t mangle -A PREROUTING -p tcp --dport 80 -j TPROXY \
Dnetdev-FAQ.rst227 get things done. Don't mangle whitespace, and as is common, don't
230 unpatched tree to confirm infrastructure didn't mangle it.
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/
Daction.c527 mask = ~act->mangle.mask; in nfp_fl_set_eth()
528 exact = act->mangle.val; in nfp_fl_set_eth()
564 mask = (__force __be32)~act->mangle.mask; in nfp_fl_set_ip4()
565 exact = (__force __be32)act->mangle.val; in nfp_fl_set_ip4()
705 mask = (__force __be32)~act->mangle.mask; in nfp_fl_set_ip6()
706 exact = (__force __be32)act->mangle.val; in nfp_fl_set_ip6()
745 mask = ~act->mangle.mask; in nfp_fl_set_tport()
746 exact = act->mangle.val; in nfp_fl_set_tport()
900 htype = act->mangle.htype; in nfp_fl_pedit()
901 offset = act->mangle.offset; in nfp_fl_pedit()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_flower.c543 htype = act->mangle.htype; in cxgb4_process_flow_actions()
544 mask = act->mangle.mask; in cxgb4_process_flow_actions()
545 val = act->mangle.val; in cxgb4_process_flow_actions()
546 offset = act->mangle.offset; in cxgb4_process_flow_actions()
586 htype = act->mangle.htype; in valid_pedit_action()
587 mask = act->mangle.mask; in valid_pedit_action()
588 offset = act->mangle.offset; in valid_pedit_action()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_flower.c171 enum flow_action_mangle_base htype = act->mangle.htype; in mlxsw_sp_flower_parse_actions()
172 __be32 be_mask = (__force __be32) act->mangle.mask; in mlxsw_sp_flower_parse_actions()
173 __be32 be_val = (__force __be32) act->mangle.val; in mlxsw_sp_flower_parse_actions()
174 u32 offset = act->mangle.offset; in mlxsw_sp_flower_parse_actions()
/kernel/linux/linux-5.10/net/netfilter/
Dnf_flow_table_offload.c159 entry->mangle.htype = htype; in flow_offload_mangle()
160 entry->mangle.offset = offset; in flow_offload_mangle()
161 memcpy(&entry->mangle.mask, mask, sizeof(u32)); in flow_offload_mangle()
162 memcpy(&entry->mangle.val, value, sizeof(u32)); in flow_offload_mangle()
DKconfig725 The target allows you to create rules in the "mangle" table which alter
774 This option adds a `CHECKSUM' target, which can be used in the iptables mangle
842 the "mangle" table which alter the Type Of Service field of an IPv4
869 The target allows you to create rules in the "raw" and "mangle" tables
1041 REDIRECT. It can only be used in the mangle table and is useful
/kernel/linux/linux-5.10/tools/testing/selftests/netfilter/
Dconntrack_vrf.sh170 type filter hook postrouting priority mangle;
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c3062 htype = act->mangle.htype; in parse_pedit_to_modify_hdr()
3076 mask = act->mangle.mask; in parse_pedit_to_modify_hdr()
3077 val = act->mangle.val; in parse_pedit_to_modify_hdr()
3078 offset = act->mangle.offset; in parse_pedit_to_modify_hdr()
3103 if (act->mangle.htype != FLOW_ACT_MANGLE_HDR_TYPE_ETH) { in parse_pedit_to_reformat()
3108 mask = ~act->mangle.mask; in parse_pedit_to_reformat()
3109 val = act->mangle.val; in parse_pedit_to_reformat()
3110 offset = act->mangle.offset; in parse_pedit_to_reformat()
3215 htype = act->mangle.htype; in is_action_keys_supported()
3216 offset = act->mangle.offset; in is_action_keys_supported()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.c271 offset = act->mangle.offset; in mlx5_tc_ct_rule_to_tuple_nat()
272 val = act->mangle.val; in mlx5_tc_ct_rule_to_tuple_nat()
273 switch (act->mangle.htype) { in mlx5_tc_ct_rule_to_tuple_nat()
536 u32 offset = act->mangle.offset, field; in mlx5_tc_ct_parse_mangle_to_mod_act()
538 switch (act->mangle.htype) { in mlx5_tc_ct_parse_mangle_to_mod_act()
598 MLX5_SET(set_action_in, modact, data, act->mangle.val); in mlx5_tc_ct_parse_mangle_to_mod_act()
/kernel/linux/linux-5.10/net/sched/
Dact_ct.c77 entry->mangle.htype = htype; in tcf_ct_add_mangle_action()
78 entry->mangle.mask = ~mask; in tcf_ct_add_mangle_action()
79 entry->mangle.offset = offset; in tcf_ct_add_mangle_action()
80 entry->mangle.val = val; in tcf_ct_add_mangle_action()
Dcls_api.c3657 entry->mangle.htype = tcf_pedit_htype(act, k); in tc_setup_flow_action()
3658 entry->mangle.mask = tcf_pedit_mask(act, k); in tc_setup_flow_action()
3659 entry->mangle.val = tcf_pedit_val(act, k); in tc_setup_flow_action()
3660 entry->mangle.offset = tcf_pedit_offset(act, k); in tc_setup_flow_action()
DKconfig827 Say Y here if you want to mangle the content of packets.
/kernel/linux/linux-5.10/include/net/
Dflow_offload.h216 } mangle; member
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.c191 offset = act->mangle.offset; in bnxt_tc_parse_pedit()
192 htype = act->mangle.htype; in bnxt_tc_parse_pedit()
193 mask = ~act->mangle.mask; in bnxt_tc_parse_pedit()
194 val = act->mangle.val; in bnxt_tc_parse_pedit()
/kernel/linux/linux-5.10/tools/testing/selftests/wireguard/
Dnetns.sh339 n1 iptables -t mangle -I OUTPUT -j MARK --set-xmark 1
342 n1 iptables -t mangle -D OUTPUT -j MARK --set-xmark 1
/kernel/linux/linux-5.10/net/ipv6/netfilter/
DKconfig230 This option adds a `mangle' table to iptables: see the man page for
/kernel/linux/linux-5.10/Documentation/vm/
Dtranshuge.rst44 if any driver is going to mangle over the page structure of the tail
/kernel/linux/linux-5.10/Documentation/process/
Demail-clients.rst277 Thunderbird is an Outlook clone that likes to mangle text, but there are ways
Dhowto.rst422 use a mail program that does not mangle spaces and tab characters. A
/kernel/linux/linux-5.10/Documentation/kernel-hacking/
Dhacking.rst733 you create or mangle significantly. This is the first place people

12