1#ifndef _LIBNETFILTER_CONNTRACK_UDP_H_
2#define _LIBNETFILTER_CONNTRACK_UDP_H_
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8/* WARNING: do not use these flags in your new applications, they are obsolete
9 * and we keep them here to avoid breaking backward compatibility. */
10enum udp_flags {
11	UDP_ORIG_SPORT_BIT = 0,
12	UDP_ORIG_SPORT = (1 << UDP_ORIG_SPORT_BIT),
13
14	UDP_ORIG_DPORT_BIT = 1,
15	UDP_ORIG_DPORT = (1 << UDP_ORIG_DPORT_BIT),
16
17	UDP_REPL_SPORT_BIT = 2,
18	UDP_REPL_SPORT = (1 << UDP_REPL_SPORT_BIT),
19
20	UDP_REPL_DPORT_BIT = 3,
21	UDP_REPL_DPORT = (1 << UDP_REPL_DPORT_BIT),
22
23	UDP_MASK_SPORT_BIT = 4,
24	UDP_MASK_SPORT = (1 << UDP_MASK_SPORT_BIT),
25
26	UDP_MASK_DPORT_BIT = 5,
27	UDP_MASK_DPORT = (1 << UDP_MASK_DPORT_BIT),
28
29	UDP_EXPTUPLE_SPORT_BIT = 6,
30	UDP_EXPTUPLE_SPORT = (1 << UDP_EXPTUPLE_SPORT_BIT),
31
32	UDP_EXPTUPLE_DPORT_BIT = 7,
33	UDP_EXPTUPLE_DPORT = (1 << UDP_EXPTUPLE_DPORT_BIT)
34};
35
36#ifdef __cplusplus
37}
38#endif
39
40#endif
41