Home | History | Annotate | Download | only in netfilter
      1 #ifndef _XT_CONNMARK_H
      2 #define _XT_CONNMARK_H
      3 
      4 #include <linux/types.h>
      5 
      6 /* Copyright (C) 2002,2004 MARA Systems AB <http://www.marasystems.com>
      7  * by Henrik Nordstrom <hno (at) marasystems.com>
      8  *
      9  * This program is free software; you can redistribute it and/or modify
     10  * it under the terms of the GNU General Public License as published by
     11  * the Free Software Foundation; either version 2 of the License, or
     12  * (at your option) any later version.
     13  */
     14 
     15 enum {
     16 	XT_CONNMARK_SET = 0,
     17 	XT_CONNMARK_SAVE,
     18 	XT_CONNMARK_RESTORE
     19 };
     20 
     21 struct xt_connmark_tginfo1 {
     22 	__u32 ctmark, ctmask, nfmask;
     23 	__u8 mode;
     24 };
     25 
     26 struct xt_connmark_mtinfo1 {
     27 	__u32 mark, mask;
     28 	__u8 invert;
     29 };
     30 
     31 #endif /*_XT_CONNMARK_H*/
     32