blob: dae96bae1c19c2d71fa7c0ea65e74d064e3b3757 [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;
Eric Dumazet2ee22a92015-07-06 05:18:09 -070011 struct net_device __rcu *tcfm_dev;
stephen hemminger3b879562010-07-22 18:45:04 +000012 struct list_head tcfm_list;
Linus Torvalds1da177e2005-04-16 15:20:36 -070013};
WANG Cong86062032014-02-11 17:07:31 -080014#define to_mirred(a) \
15 container_of(a->priv, 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 */