Skip to content

Instantly share code, notes, and snippets.

@quinn
Created April 16, 2009 20:51
Show Gist options
  • Save quinn/96647 to your computer and use it in GitHub Desktop.
Save quinn/96647 to your computer and use it in GitHub Desktop.
-enum {
- XT_CONNMARK_SET = 0,
- XT_CONNMARK_SAVE,
- XT_CONNMARK_RESTORE
+struct xt_connmark_info {
+ unsigned long mark, mask;
+ u_int8_t invert;
};
-struct xt_connmark_target_info {
- unsigned long mark;
- unsigned long mask;
- u_int8_t mode;
+struct xt_connmark_mtinfo1 {
+ u_int32_t mark, mask;
+ u_int8_t invert;
};
-struct xt_connmark_tginfo1 {
- u_int32_t ctmark, ctmask, nfmask;
- u_int8_t mode;
-};
-
-#endif /*_XT_CONNMARK_H_target*/
+#endif /*_XT_CONNMARK_H*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment