tc_mirred.h 314 B

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