1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
6 * Bart De Schuymer <bart.de.schuymer@pandora.be>
11 * added ip-sport and ip-dport
12 * Innominate Security Technologies AG <mhopf@innominate.com>
16 #ifndef __LINUX_BRIDGE_EBT_IP_H
17 #define __LINUX_BRIDGE_EBT_IP_H
19 #include <linux/types.h>
21 #define EBT_IP_SOURCE 0x01
22 #define EBT_IP_DEST 0x02
23 #define EBT_IP_TOS 0x04
24 #define EBT_IP_PROTO 0x08
25 #define EBT_IP_SPORT 0x10
26 #define EBT_IP_DPORT 0x20
27 #define EBT_IP_ICMP 0x40
28 #define EBT_IP_IGMP 0x80
29 #define EBT_IP_MASK (EBT_IP_SOURCE | EBT_IP_DEST | EBT_IP_TOS | EBT_IP_PROTO |\
30 EBT_IP_SPORT | EBT_IP_DPORT | EBT_IP_ICMP | EBT_IP_IGMP)
31 #define EBT_IP_MATCH "ip"
33 /* the same values are used for the invflags */