mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 10:29:37 +00:00
![Jan Engelhardt](/assets/img/avatar_default.png)
Introduces the xt_connmark match revision 1. It uses fixed types, eventually obsoleting revision 0 some day (uses nonfixed types). (Unfixed types like "unsigned long" do not play well with mixed user-/kernelspace "bitness", e.g. 32/64, as is common on SPARC64, and need extra compat code.) Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
23 lines
599 B
C
23 lines
599 B
C
#ifndef _XT_CONNMARK_H
|
|
#define _XT_CONNMARK_H
|
|
|
|
/* Copyright (C) 2002,2004 MARA Systems AB <http://www.marasystems.com>
|
|
* by Henrik Nordstrom <hno@marasystems.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*/
|
|
|
|
struct xt_connmark_info {
|
|
unsigned long mark, mask;
|
|
u_int8_t invert;
|
|
};
|
|
|
|
struct xt_connmark_mtinfo1 {
|
|
u_int32_t mark, mask;
|
|
u_int8_t invert;
|
|
};
|
|
|
|
#endif /*_XT_CONNMARK_H*/
|