diff options
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/netfilter/xt_bpf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/linux/netfilter/xt_bpf.h b/include/uapi/linux/netfilter/xt_bpf.h index 2ec9fbcd06f9..1fad2c27ac32 100644 --- a/include/uapi/linux/netfilter/xt_bpf.h +++ b/include/uapi/linux/netfilter/xt_bpf.h | |||
| @@ -6,14 +6,14 @@ | |||
| 6 | 6 | ||
| 7 | #define XT_BPF_MAX_NUM_INSTR 64 | 7 | #define XT_BPF_MAX_NUM_INSTR 64 |
| 8 | 8 | ||
| 9 | struct sk_filter; | 9 | struct bpf_prog; |
| 10 | 10 | ||
| 11 | struct xt_bpf_info { | 11 | struct xt_bpf_info { |
| 12 | __u16 bpf_program_num_elem; | 12 | __u16 bpf_program_num_elem; |
| 13 | struct sock_filter bpf_program[XT_BPF_MAX_NUM_INSTR]; | 13 | struct sock_filter bpf_program[XT_BPF_MAX_NUM_INSTR]; |
| 14 | 14 | ||
| 15 | /* only used in the kernel */ | 15 | /* only used in the kernel */ |
| 16 | struct sk_filter *filter __attribute__((aligned(8))); | 16 | struct bpf_prog *filter __attribute__((aligned(8))); |
| 17 | }; | 17 | }; |
| 18 | 18 | ||
| 19 | #endif /*_XT_BPF_H */ | 19 | #endif /*_XT_BPF_H */ |
