Linux Audio

Check our new training course

Loading...
v3.1
 1#ifndef __NET_TC_MIR_H
 2#define __NET_TC_MIR_H
 3
 4#include <net/act_api.h>
 5
 6struct 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;
12	struct list_head	tcfm_list;
13};
14#define to_mirred(pc) \
15	container_of(pc, struct tcf_mirred, common)
16
17#endif /* __NET_TC_MIR_H */
v3.15
 1#ifndef __NET_TC_MIR_H
 2#define __NET_TC_MIR_H
 3
 4#include <net/act_api.h>
 5
 6struct 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;
12	struct list_head	tcfm_list;
13};
14#define to_mirred(a) \
15	container_of(a->priv, struct tcf_mirred, common)
16
17#endif /* __NET_TC_MIR_H */