blob: ceac661cdfd5fdddb29314389f1e3e4bbca320ba [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef __NET_TC_MIR_H
2#define __NET_TC_MIR_H
3
4#include <net/act_api.h>
5
David S. Millere9ce1cd2006-08-21 23:54:55 -07006struct tcf_mirred {
7 struct tcf_common common;
8 int tcfm_eaction;
9 int tcfm_ifindex;
10 int tcfm_ok_push;
11 struct net_device *tcfm_dev;
Linus Torvalds1da177e2005-04-16 15:20:36 -070012};
David S. Millere9ce1cd2006-08-21 23:54:55 -070013#define to_mirred(pc) \
14 container_of(pc, struct tcf_mirred, common)
Linus Torvalds1da177e2005-04-16 15:20:36 -070015
David S. Millere9ce1cd2006-08-21 23:54:55 -070016#endif /* __NET_TC_MIR_H */