blob: cfe2943690ff298cd3e938ecef2ddb8d49dfc229 [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;
stephen hemminger3b879562010-07-22 18:45:04 +000012 struct list_head tcfm_list;
Linus Torvalds1da177e2005-04-16 15:20:36 -070013};
David S. Millere9ce1cd2006-08-21 23:54:55 -070014#define to_mirred(pc) \
15 container_of(pc, struct tcf_mirred, common)
Linus Torvalds1da177e2005-04-16 15:20:36 -070016
David S. Millere9ce1cd2006-08-21 23:54:55 -070017#endif /* __NET_TC_MIR_H */