tc_pedit.h 311 B

123456789101112131415
  1. #ifndef __NET_TC_PED_H
  2. #define __NET_TC_PED_H
  3. #include <net/act_api.h>
  4. struct tcf_pedit {
  5. struct tcf_common common;
  6. unsigned char tcfp_nkeys;
  7. unsigned char tcfp_flags;
  8. struct tc_pedit_key *tcfp_keys;
  9. };
  10. #define to_pedit(a) \
  11. container_of(a->priv, struct tcf_pedit, common)
  12. #endif /* __NET_TC_PED_H */