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


ebt_ip.h
01: /*
02:  *  ebt_ip
03:  *
04:  *      Authors:
05:  *      Bart De Schuymer <bart.de.schuymer@pandora.be>
06:  *
07:  *  April, 2002
08:  *
09:  *  Changes:
10:  *    added ip-sport and ip-dport
11:  *    Innominate Security Technologies AG <mhopf@innominate.com>
12:  *    September, 2002
13:  */
14: 
15: #ifndef __LINUX_BRIDGE_EBT_IP_H
16: #define __LINUX_BRIDGE_EBT_IP_H
17: 
18: #include <linux/types.h>
19: 
20: #define EBT_IP_SOURCE 0x01
21: #define EBT_IP_DEST 0x02
22: #define EBT_IP_TOS 0x04
23: #define EBT_IP_PROTO 0x08
24: #define EBT_IP_SPORT 0x10
25: #define EBT_IP_DPORT 0x20
26: #define EBT_IP_MASK (EBT_IP_SOURCE | EBT_IP_DEST | EBT_IP_TOS | EBT_IP_PROTO |\
27:  EBT_IP_SPORT | EBT_IP_DPORT )
28: #define EBT_IP_MATCH "ip"
29: 
30: /* the same values are used for the invflags */
31: struct ebt_ip_info {
32:         __be32 saddr;
33:         __be32 daddr;
34:         __be32 smsk;
35:         __be32 dmsk;
36:         __u8  tos;
37:         __u8  protocol;
38:         __u8  bitmask;
39:         __u8  invflags;
40:         __u16 sport[2];
41:         __u16 dport[2];
42: };
43: 
44: #endif
45: 


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