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_iprange.h] - Blame information for rev 13

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 13 serginhofr
#ifndef _LINUX_NETFILTER_XT_IPRANGE_H
2
#define _LINUX_NETFILTER_XT_IPRANGE_H 1
3
 
4
#include <linux/types.h>
5
#include <linux/netfilter.h>
6
 
7
enum {
8
        IPRANGE_SRC     = 1 << 0,        /* match source IP address */
9
        IPRANGE_DST     = 1 << 1,       /* match destination IP address */
10
        IPRANGE_SRC_INV = 1 << 4,       /* negate the condition */
11
        IPRANGE_DST_INV = 1 << 5,       /* -"- */
12
};
13
 
14
struct xt_iprange_mtinfo {
15
        union nf_inet_addr src_min, src_max;
16
        union nf_inet_addr dst_min, dst_max;
17
        __u8 flags;
18
};
19
 
20
#endif /* _LINUX_NETFILTER_XT_IPRANGE_H */

powered by: WebSVN 2.1.0

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