Dr Andrew Scott G7VAV

My photo
 
June 2025
Mo Tu We Th Fr Sa Su
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 1 2 3 4 5 6


xt_iprange.h
01: #ifndef _LINUX_NETFILTER_XT_IPRANGE_H
02: #define _LINUX_NETFILTER_XT_IPRANGE_H 1
03: 
04: #include <linux/types.h>
05: #include <linux/netfilter.h>
06: 
07: enum {
08:         IPRANGE_SRC     = 1 << 0,       /* match source IP address */
09:         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 */
21: 


for client (none)
© Andrew Scott 2006 - 2025,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/