• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/iptables/include/linux/netfilter_ipv4/
1#ifndef _IPT_CONNMARK_H_target
2#define _IPT_CONNMARK_H_target
3
4/* Copyright (C) 2002,2004 MARA Systems AB <http://www.marasystems.com>
5 * by Henrik Nordstrom <hno@marasystems.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 */
12
13enum {
14	IPT_CONNMARK_SET = 0,
15	IPT_CONNMARK_SAVE,
16	IPT_CONNMARK_RESTORE,
17	IPT_CONNMARK_SET_RETURN
18};
19
20struct ipt_connmark_target_info {
21#ifdef KERNEL_64_USERSPACE_32
22	unsigned long long mark;
23	unsigned long long mask;
24#else
25	unsigned long mark;
26	unsigned long mask;
27#endif
28	u_int8_t mode;
29};
30
31#endif /*_IPT_CONNMARK_H_target*/
32