tc_pedit.h 307 B

12345678910111213141516
  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(pc) \
  11. container_of(pc, struct tcf_pedit, common)
  12. #endif /* __NET_TC_PED_H */