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