Loading...
1#ifndef __NET_TC_DEF_H
2#define __NET_TC_DEF_H
3
4#include <net/act_api.h>
5
6struct tcf_defact {
7 struct tcf_common common;
8 u32 tcfd_datalen;
9 void *tcfd_defdata;
10};
11#define to_defact(pc) \
12 container_of(pc, struct tcf_defact, common)
13
14#endif /* __NET_TC_DEF_H */
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __NET_TC_DEF_H
3#define __NET_TC_DEF_H
4
5#include <net/act_api.h>
6
7struct tcf_defact {
8 struct tc_action common;
9 u32 tcfd_datalen;
10 void *tcfd_defdata;
11};
12#define to_defact(a) ((struct tcf_defact *)a)
13
14#endif /* __NET_TC_DEF_H */