~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/uapi/linux/netfilter_bridge/ebt_ip.h

Version: ~ [ linux-5.12-rc1 ] ~ [ linux-5.11.2 ] ~ [ linux-5.10.19 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.101 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.177 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.222 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.258 ] ~ [ linux-4.8.17 ] ~ [ linux-4.7.10 ] ~ [ linux-4.6.7 ] ~ [ linux-4.5.7 ] ~ [ linux-4.4.258 ] ~ [ linux-4.3.6 ] ~ [ linux-4.2.8 ] ~ [ linux-4.1.52 ] ~ [ linux-4.0.9 ] ~ [ linux-3.18.140 ] ~ [ linux-3.16.85 ] ~ [ linux-3.14.79 ] ~ [ linux-3.12.74 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.5 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /*
  2  *  ebt_ip
  3  *
  4  *      Authors:
  5  *      Bart De Schuymer <bart.de.schuymer@pandora.be>
  6  *
  7  *  April, 2002
  8  *
  9  *  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 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | Wiki (Japanese) | Wiki (English) | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

osdn.jp