2005-04-17 06:20:36 +08:00
|
|
|
#ifndef __NET_TC_PED_H
|
|
|
|
#define __NET_TC_PED_H
|
|
|
|
|
|
|
|
#include <net/act_api.h>
|
|
|
|
|
2017-02-07 15:56:07 +08:00
|
|
|
struct tcf_pedit_key_ex {
|
|
|
|
enum pedit_header_type htype;
|
2017-02-07 15:56:08 +08:00
|
|
|
enum pedit_cmd cmd;
|
2017-02-07 15:56:07 +08:00
|
|
|
};
|
|
|
|
|
2006-08-22 14:54:55 +08:00
|
|
|
struct tcf_pedit {
|
2016-07-26 07:09:42 +08:00
|
|
|
struct tc_action common;
|
2006-08-22 14:54:55 +08:00
|
|
|
unsigned char tcfp_nkeys;
|
|
|
|
unsigned char tcfp_flags;
|
|
|
|
struct tc_pedit_key *tcfp_keys;
|
2017-02-07 15:56:07 +08:00
|
|
|
struct tcf_pedit_key_ex *tcfp_keys_ex;
|
2005-04-17 06:20:36 +08:00
|
|
|
};
|
2016-07-26 07:09:41 +08:00
|
|
|
#define to_pedit(a) ((struct tcf_pedit *)a)
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2006-08-22 14:54:55 +08:00
|
|
|
#endif /* __NET_TC_PED_H */
|