| /kernel/linux/linux-5.10/net/ipv4/netfilter/ |
| D | arpt_mangle.c | 15 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 …]
|
| D | Kconfig | 253 # 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/ |
| D | headerdep.pl | 164 sub mangle { subroutine 179 mangle($header), $header; 188 mangle($header), mangle($dep->[1]);
|
| /kernel/linux/linux-5.10/fs/ |
| D | proc_namespace.c | 84 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/ |
| D | tproxy.rst | 19 # 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 \
|
| D | netdev-FAQ.rst | 227 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/ |
| D | action.c | 527 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/ |
| D | cxgb4_tc_flower.c | 543 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/ |
| D | spectrum_flower.c | 171 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/ |
| D | nf_flow_table_offload.c | 159 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()
|
| D | Kconfig | 725 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/ |
| D | conntrack_vrf.sh | 170 type filter hook postrouting priority mangle;
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en_tc.c | 3062 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/ |
| D | tc_ct.c | 271 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/ |
| D | act_ct.c | 77 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()
|
| D | cls_api.c | 3657 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()
|
| D | Kconfig | 827 Say Y here if you want to mangle the content of packets.
|
| /kernel/linux/linux-5.10/include/net/ |
| D | flow_offload.h | 216 } mangle; member
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
| D | bnxt_tc.c | 191 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/ |
| D | netns.sh | 339 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/ |
| D | Kconfig | 230 This option adds a `mangle' table to iptables: see the man page for
|
| /kernel/linux/linux-5.10/Documentation/vm/ |
| D | transhuge.rst | 44 if any driver is going to mangle over the page structure of the tail
|
| /kernel/linux/linux-5.10/Documentation/process/ |
| D | email-clients.rst | 277 Thunderbird is an Outlook clone that likes to mangle text, but there are ways
|
| D | howto.rst | 422 use a mail program that does not mangle spaces and tab characters. A
|
| /kernel/linux/linux-5.10/Documentation/kernel-hacking/ |
| D | hacking.rst | 733 you create or mangle significantly. This is the first place people
|