Home
last modified time | relevance | path

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

/net/ipv4/netfilter/
A Darpt_mangle.c28 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()
49 if (mangle->flags & ARPT_MANGLE_TIP) { in target()
55 return mangle->target; in target()
62 if (mangle->flags & ~ARPT_MANGLE_MASK || in checkentry()
63 !(mangle->flags & ARPT_MANGLE_MASK)) in checkentry()
66 if (mangle->target != NF_DROP && mangle->target != NF_ACCEPT && in checkentry()
[all …]
A DKconfig264 # mangle + specific targets
270 This option adds a `mangle' table to iptables: see the man page for
281 This option adds a `ECN' target, which can be used in the iptables mangle
/net/sched/
A Dact_pedit.c575 entry->mangle.htype = tcf_pedit_htype(act, k); in tcf_pedit_offload_act_setup()
576 entry->mangle.mask = tcf_pedit_mask(act, k); in tcf_pedit_offload_act_setup()
577 entry->mangle.val = tcf_pedit_val(act, k); in tcf_pedit_offload_act_setup()
578 entry->mangle.offset = tcf_pedit_offset(act, k); in tcf_pedit_offload_act_setup()
A Dact_ct.c85 entry->mangle.htype = htype; in tcf_ct_add_mangle_action()
86 entry->mangle.mask = ~mask; in tcf_ct_add_mangle_action()
87 entry->mangle.offset = offset; in tcf_ct_add_mangle_action()
88 entry->mangle.val = val; in tcf_ct_add_mangle_action()
A DKconfig778 Say Y here if you want to mangle the content of packets.
/net/netfilter/
A Dnf_flow_table_offload.c209 entry->mangle.htype = htype; in flow_offload_mangle()
210 entry->mangle.offset = offset; in flow_offload_mangle()
211 memcpy(&entry->mangle.mask, mask, sizeof(u32)); in flow_offload_mangle()
212 memcpy(&entry->mangle.val, value, sizeof(u32)); in flow_offload_mangle()
A DKconfig781 The target allows you to create rules in the "mangle" table which alter
830 This option adds a `CHECKSUM' target, which can be used in the iptables mangle
898 the "mangle" table which alter the Type Of Service field of an IPv4
925 The target allows you to create rules in the "raw" and "mangle" tables
1096 REDIRECT. It can only be used in the mangle table and is useful
/net/ipv6/netfilter/
A DKconfig239 This option adds a `mangle' table to iptables: see the man page for

Completed in 28 milliseconds