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