blob: d7ba0402a7325ed08186d03c26a5df78ecac74ed [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Jamal Hadi Salimdb753072005-04-24 20:10:16 -07002#ifndef __NET_TC_DEF_H
3#define __NET_TC_DEF_H
4
5#include <net/act_api.h>
6
David S. Millere9ce1cd2006-08-21 23:54:55 -07007struct tcf_defact {
WANG Congec0595c2016-07-25 16:09:42 -07008 struct tc_action common;
Jamal Hadi Salim0b0f43f2016-06-05 10:41:32 -04009 u32 tcfd_datalen;
10 void *tcfd_defdata;
Jamal Hadi Salimdb753072005-04-24 20:10:16 -070011};
WANG Conga85a9702016-07-25 16:09:41 -070012#define to_defact(a) ((struct tcf_defact *)a)
Jamal Hadi Salimdb753072005-04-24 20:10:16 -070013
David S. Millere9ce1cd2006-08-21 23:54:55 -070014#endif /* __NET_TC_DEF_H */