Home
last modified time | relevance | path

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

/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
/net/ipv6/netfilter/
DKconfig230 This option adds a `mangle' table to iptables: see the man page for
/net/netfilter/
DKconfig733 The target allows you to create rules in the "mangle" table which alter
782 This option adds a `CHECKSUM' target, which can be used in the iptables mangle
850 the "mangle" table which alter the Type Of Service field of an IPv4
877 The target allows you to create rules in the "raw" and "mangle" tables
1049 REDIRECT. It can only be used in the mangle table and is useful
/net/sched/
Dcls_api.c3522 entry->mangle.htype = tcf_pedit_htype(act, k); in tc_setup_flow_action()
3523 entry->mangle.mask = tcf_pedit_mask(act, k); in tc_setup_flow_action()
3524 entry->mangle.val = tcf_pedit_val(act, k); in tc_setup_flow_action()
3525 entry->mangle.offset = tcf_pedit_offset(act, k); in tc_setup_flow_action()
DKconfig723 Say Y here if you want to mangle the content of packets.