• Main Page
  • Modules
  • Data Structures
  • Files
  • File List

libnetfilter_conntrack_udp.h

00001 /*
00002  * (C) 2005 by Pablo Neira Ayuso <pablo@netfilter.org>
00003  *
00004  * This software may be used and distributed according to the terms
00005  * of the GNU General Public License, incorporated herein by reference.
00006  */
00007 
00008 #ifndef _LIBNETFILTER_CONNTRACK_UDP_H_
00009 #define _LIBNETFILTER_CONNTRACK_UDP_H_
00010 
00011 #ifdef __cplusplus
00012 extern "C" {
00013 #endif
00014 
00015 /* WARNING: do not use these flags in your new applications, they are obsolete
00016  * and we keep them here to avoid breaking backward compatibility. */
00017 enum udp_flags {
00018         UDP_ORIG_SPORT_BIT = 0,
00019         UDP_ORIG_SPORT = (1 << UDP_ORIG_SPORT_BIT),
00020 
00021         UDP_ORIG_DPORT_BIT = 1,
00022         UDP_ORIG_DPORT = (1 << UDP_ORIG_DPORT_BIT),
00023 
00024         UDP_REPL_SPORT_BIT = 2,
00025         UDP_REPL_SPORT = (1 << UDP_REPL_SPORT_BIT),
00026 
00027         UDP_REPL_DPORT_BIT = 3,
00028         UDP_REPL_DPORT = (1 << UDP_REPL_DPORT_BIT),
00029 
00030         UDP_MASK_SPORT_BIT = 4,
00031         UDP_MASK_SPORT = (1 << UDP_MASK_SPORT_BIT),
00032 
00033         UDP_MASK_DPORT_BIT = 5,
00034         UDP_MASK_DPORT = (1 << UDP_MASK_DPORT_BIT),
00035 
00036         UDP_EXPTUPLE_SPORT_BIT = 6,
00037         UDP_EXPTUPLE_SPORT = (1 << UDP_EXPTUPLE_SPORT_BIT),
00038 
00039         UDP_EXPTUPLE_DPORT_BIT = 7,
00040         UDP_EXPTUPLE_DPORT = (1 << UDP_EXPTUPLE_DPORT_BIT)
00041 };
00042 
00043 #ifdef __cplusplus
00044 }
00045 #endif
00046 
00047 #endif

Generated on Wed Jan 26 2011 23:11:37 for libnetfilter_conntrack by  doxygen 1.7.1