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] - Rev 13

Compare with Previous | Blame | View Log

#ifndef _XT_BPF_H
#define _XT_BPF_H
 
#include <linux/filter.h>
#include <linux/types.h>
 
#define XT_BPF_MAX_NUM_INSTR	64
 
struct sk_filter;
 
struct xt_bpf_info {
	__u16 bpf_program_num_elem;
	struct sock_filter bpf_program[XT_BPF_MAX_NUM_INSTR];
 
	/* only used in the kernel */
	struct sk_filter *filter __attribute__((aligned(8)));
};
 
#endif /*_XT_BPF_H */
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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