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