tc_mirred.h 353 B

1234567891011121314151617
  1. #ifndef __NET_TC_MIR_H
  2. #define __NET_TC_MIR_H
  3. #include <net/act_api.h>
  4. struct tcf_mirred {
  5. struct tcf_common common;
  6. int tcfm_eaction;
  7. int tcfm_ifindex;
  8. int tcfm_ok_push;
  9. struct net_device __rcu *tcfm_dev;
  10. struct list_head tcfm_list;
  11. };
  12. #define to_mirred(a) \
  13. container_of(a->priv, struct tcf_mirred, common)
  14. #endif /* __NET_TC_MIR_H */