2 * Copyright (c) 2015 Jiri Pirko <jiri@resnulli.us>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
10 #ifndef __NET_TC_BPF_H
11 #define __NET_TC_BPF_H
13 #include <linux/filter.h>
14 #include <net/act_api.h>
17 struct tcf_common common
;
18 struct bpf_prog __rcu
*filter
;
23 struct sock_filter
*bpf_ops
;
27 container_of(a->priv, struct tcf_bpf, common)
29 #endif /* __NET_TC_BPF_H */