netfilter: nf_tables: add packet duplication to the netdev family

You can use this to duplicate packets and inject them at the egress path
of the specified interface. This duplication allows you to inspect
traffic from the dummy or any other interface dedicated to this purpose.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
Pablo Neira Ayuso
2016-01-03 21:02:18 +01:00
szülő c7862a5f0d
commit 502061f81d
5 fájl változott, egészen pontosan 165 új sor hozzáadva és 0 régi sor törölve

Fájl megtekintése

@@ -0,0 +1,6 @@
#ifndef _NF_DUP_NETDEV_H_
#define _NF_DUP_NETDEV_H_
void nf_dup_netdev_egress(const struct nft_pktinfo *pkt, int oif);
#endif