Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
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
linux
Commits
c3b2adbf
Commit
c3b2adbf
authored
Jun 18, 2004
by
Hideaki Yoshifuji
Committed by
David S. Miller
Jun 18, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NET]: Fix some userland header bustage.
parent
2db233d6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
2 deletions
+7
-2
include/linux/netfilter.h
include/linux/netfilter.h
+1
-0
include/linux/netfilter_arp/arp_tables.h
include/linux/netfilter_arp/arp_tables.h
+1
-1
include/linux/netfilter_ipv4/ip_tables.h
include/linux/netfilter_ipv4/ip_tables.h
+2
-1
include/linux/netfilter_ipv6/ip6_tables.h
include/linux/netfilter_ipv6/ip6_tables.h
+3
-0
No files found.
include/linux/netfilter.h
View file @
c3b2adbf
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
#include <linux/wait.h>
#include <linux/wait.h>
#include <linux/list.h>
#include <linux/list.h>
#endif
#endif
#include <linux/compiler.h>
/* Responses from hook functions. */
/* Responses from hook functions. */
#define NF_DROP 0
#define NF_DROP 0
...
...
include/linux/netfilter_arp/arp_tables.h
View file @
c3b2adbf
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#include <linux/if_arp.h>
#include <linux/if_arp.h>
#include <linux/skbuff.h>
#include <linux/skbuff.h>
#endif
#endif
#include <linux/compiler.h>
#include <linux/netfilter_arp.h>
#include <linux/netfilter_arp.h>
#define ARPT_FUNCTION_MAXNAMELEN 30
#define ARPT_FUNCTION_MAXNAMELEN 30
...
...
include/linux/netfilter_ipv4/ip_tables.h
View file @
c3b2adbf
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
#include <linux/ip.h>
#include <linux/ip.h>
#include <linux/skbuff.h>
#include <linux/skbuff.h>
#endif
#endif
#include <linux/compiler.h>
#include <linux/netfilter_ipv4.h>
#include <linux/netfilter_ipv4.h>
#define IPT_FUNCTION_MAXNAMELEN 30
#define IPT_FUNCTION_MAXNAMELEN 30
...
@@ -336,8 +337,8 @@ ipt_get_target(struct ipt_entry *e)
...
@@ -336,8 +337,8 @@ ipt_get_target(struct ipt_entry *e)
/*
/*
* Main firewall chains definitions and global var's definitions.
* Main firewall chains definitions and global var's definitions.
*/
*/
static
DECLARE_MUTEX
(
ipt_mutex
);
#ifdef __KERNEL__
#ifdef __KERNEL__
static
DECLARE_MUTEX
(
ipt_mutex
);
#include <linux/init.h>
#include <linux/init.h>
extern
void
ipt_init
(
void
)
__init
;
extern
void
ipt_init
(
void
)
__init
;
...
...
include/linux/netfilter_ipv6/ip6_tables.h
View file @
c3b2adbf
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
#include <linux/ipv6.h>
#include <linux/ipv6.h>
#include <linux/skbuff.h>
#include <linux/skbuff.h>
#endif
#endif
#include <linux/compiler.h>
#include <linux/netfilter_ipv6.h>
#include <linux/netfilter_ipv6.h>
#define IP6T_FUNCTION_MAXNAMELEN 30
#define IP6T_FUNCTION_MAXNAMELEN 30
...
@@ -106,7 +107,9 @@ struct ip6t_counters
...
@@ -106,7 +107,9 @@ struct ip6t_counters
u_int64_t
pcnt
,
bcnt
;
/* Packet and byte counters */
u_int64_t
pcnt
,
bcnt
;
/* Packet and byte counters */
};
};
#ifdef __KERNEL__
static
DECLARE_MUTEX
(
ip6t_mutex
);
static
DECLARE_MUTEX
(
ip6t_mutex
);
#endif
/* Values for "flag" field in struct ip6t_ip6 (general ip6 structure). */
/* Values for "flag" field in struct ip6t_ip6 (general ip6 structure). */
#define IP6T_F_PROTO 0x01
/* Set if rule cares about upper
#define IP6T_F_PROTO 0x01
/* Set if rule cares about upper
...
...
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