tc_mirred.h 343 B

123456789101112131415161718
  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 *tcfm_dev;
  10. struct list_head tcfm_list;
  11. };
  12. #define to_mirred(pc) \
  13. container_of(pc, struct tcf_mirred, common)
  14. #endif /* __NET_TC_MIR_H */