OpenCores
URL https://opencores.org/ocsvn/hf-risc/hf-risc/trunk

Subversion Repositories hf-risc

[/] [hf-risc/] [trunk/] [tools/] [riscv-gnu-toolchain-master/] [linux-headers/] [include/] [linux/] [netfilter/] [xt_bpf.h] - Blame information for rev 13

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 13 serginhofr
#ifndef _XT_BPF_H
2
#define _XT_BPF_H
3
 
4
#include <linux/filter.h>
5
#include <linux/types.h>
6
 
7
#define XT_BPF_MAX_NUM_INSTR    64
8
 
9
struct sk_filter;
10
 
11
struct xt_bpf_info {
12
        __u16 bpf_program_num_elem;
13
        struct sock_filter bpf_program[XT_BPF_MAX_NUM_INSTR];
14
 
15
        /* only used in the kernel */
16
        struct sk_filter *filter __attribute__((aligned(8)));
17
};
18
 
19
#endif /*_XT_BPF_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.