Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
iproute2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
iproute2
Commits
b6d5f02e
Commit
b6d5f02e
authored
Mar 30, 2005
by
osdl.net!shemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Logical change 1.181)
parent
00b58314
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
0 deletions
+23
-0
include/iptables.h
include/iptables.h
+22
-0
include/iptables_common.h
include/iptables_common.h
+1
-0
No files found.
include/iptables.h
View file @
b6d5f02e
...
...
@@ -4,10 +4,26 @@
#include "iptables_common.h"
#include "libiptc/libiptc.h"
#ifndef IPT_LIB_DIR
#define IPT_LIB_DIR "/usr/local/lib/iptables"
#endif
#ifndef IPPROTO_SCTP
#define IPPROTO_SCTP 132
#endif
#ifndef IPT_SO_GET_REVISION_MATCH
/* Old kernel source. */
#define IPT_SO_GET_REVISION_MATCH (IPT_BASE_CTL + 2)
#define IPT_SO_GET_REVISION_TARGET (IPT_BASE_CTL + 3)
struct
ipt_get_revision
{
char
name
[
IPT_FUNCTION_MAXNAMELEN
-
1
];
u_int8_t
revision
;
};
#endif
/* IPT_SO_GET_REVISION_MATCH Old kernel source */
struct
iptables_rule_match
{
struct
iptables_rule_match
*
next
;
...
...
@@ -22,6 +38,9 @@ struct iptables_match
ipt_chainlabel
name
;
/* Revision of match (0 by default). */
u_int8_t
revision
;
const
char
*
version
;
/* Size of match data. */
...
...
@@ -72,6 +91,9 @@ struct iptables_target
ipt_chainlabel
name
;
/* Revision of target (0 by default). */
u_int8_t
revision
;
const
char
*
version
;
/* Size of target data. */
...
...
include/iptables_common.h
View file @
b6d5f02e
...
...
@@ -26,6 +26,7 @@ extern int iptables_insmod(const char *modname, const char *modprobe);
void
exit_error
(
enum
exittype
,
char
*
,
...)
__attribute__
((
noreturn
,
format
(
printf
,
2
,
3
)));
extern
const
char
*
program_name
,
*
program_version
;
extern
char
*
lib_dir
;
#ifdef NO_SHARED_LIBS
# ifdef _INIT
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment