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
nexedi
linux
Commits
024f5b8e
Commit
024f5b8e
authored
Nov 02, 2004
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://kernel.bkbits.net/acme/net-headers-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6
parents
c2e3ddf0
0982d217
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
0 deletions
+18
-0
include/linux/divert.h
include/linux/divert.h
+2
-0
include/linux/filter.h
include/linux/filter.h
+6
-0
include/linux/icmp.h
include/linux/icmp.h
+2
-0
include/linux/inet.h
include/linux/inet.h
+2
-0
include/linux/inetdevice.h
include/linux/inetdevice.h
+3
-0
include/net/iw_handler.h
include/net/iw_handler.h
+3
-0
No files found.
include/linux/divert.h
View file @
024f5b8e
...
@@ -109,6 +109,8 @@ struct divert_cf
...
@@ -109,6 +109,8 @@ struct divert_cf
#include <linux/skbuff.h>
#include <linux/skbuff.h>
#ifdef CONFIG_NET_DIVERT
#ifdef CONFIG_NET_DIVERT
#include <linux/netdevice.h>
int
alloc_divert_blk
(
struct
net_device
*
);
int
alloc_divert_blk
(
struct
net_device
*
);
void
free_divert_blk
(
struct
net_device
*
);
void
free_divert_blk
(
struct
net_device
*
);
int
divert_ioctl
(
unsigned
int
cmd
,
struct
divert_cf
__user
*
arg
);
int
divert_ioctl
(
unsigned
int
cmd
,
struct
divert_cf
__user
*
arg
);
...
...
include/linux/filter.h
View file @
024f5b8e
...
@@ -6,6 +6,9 @@
...
@@ -6,6 +6,9 @@
#define __LINUX_FILTER_H__
#define __LINUX_FILTER_H__
#include <linux/compiler.h>
#include <linux/compiler.h>
#include <linux/types.h>
#include <asm/atomic.h>
/*
/*
* Current version of the filter code architecture.
* Current version of the filter code architecture.
...
@@ -135,6 +138,9 @@ static inline unsigned int sk_filter_len(struct sk_filter *fp)
...
@@ -135,6 +138,9 @@ static inline unsigned int sk_filter_len(struct sk_filter *fp)
#define SKF_LL_OFF (-0x200000)
#define SKF_LL_OFF (-0x200000)
#ifdef __KERNEL__
#ifdef __KERNEL__
struct
sk_buff
;
struct
sock
;
extern
int
sk_run_filter
(
struct
sk_buff
*
skb
,
struct
sock_filter
*
filter
,
int
flen
);
extern
int
sk_run_filter
(
struct
sk_buff
*
skb
,
struct
sock_filter
*
filter
,
int
flen
);
extern
int
sk_attach_filter
(
struct
sock_fprog
*
fprog
,
struct
sock
*
sk
);
extern
int
sk_attach_filter
(
struct
sock_fprog
*
fprog
,
struct
sock
*
sk
);
extern
int
sk_chk_filter
(
struct
sock_filter
*
filter
,
int
flen
);
extern
int
sk_chk_filter
(
struct
sock_filter
*
filter
,
int
flen
);
...
...
include/linux/icmp.h
View file @
024f5b8e
...
@@ -17,6 +17,8 @@
...
@@ -17,6 +17,8 @@
#ifndef _LINUX_ICMP_H
#ifndef _LINUX_ICMP_H
#define _LINUX_ICMP_H
#define _LINUX_ICMP_H
#include <linux/types.h>
#define ICMP_ECHOREPLY 0
/* Echo Reply */
#define ICMP_ECHOREPLY 0
/* Echo Reply */
#define ICMP_DEST_UNREACH 3
/* Destination Unreachable */
#define ICMP_DEST_UNREACH 3
/* Destination Unreachable */
#define ICMP_SOURCE_QUENCH 4
/* Source Quench */
#define ICMP_SOURCE_QUENCH 4
/* Source Quench */
...
...
include/linux/inet.h
View file @
024f5b8e
...
@@ -43,6 +43,8 @@
...
@@ -43,6 +43,8 @@
#define _LINUX_INET_H
#define _LINUX_INET_H
#ifdef __KERNEL__
#ifdef __KERNEL__
#include <linux/types.h>
extern
__u32
in_aton
(
const
char
*
str
);
extern
__u32
in_aton
(
const
char
*
str
);
#endif
#endif
#endif
/* _LINUX_INET_H */
#endif
/* _LINUX_INET_H */
include/linux/inetdevice.h
View file @
024f5b8e
...
@@ -3,7 +3,10 @@
...
@@ -3,7 +3,10 @@
#ifdef __KERNEL__
#ifdef __KERNEL__
#include <linux/if.h>
#include <linux/netdevice.h>
#include <linux/rcupdate.h>
#include <linux/rcupdate.h>
#include <linux/timer.h>
struct
ipv4_devconf
struct
ipv4_devconf
{
{
...
...
include/net/iw_handler.h
View file @
024f5b8e
...
@@ -198,6 +198,7 @@
...
@@ -198,6 +198,7 @@
/***************************** INCLUDES *****************************/
/***************************** INCLUDES *****************************/
#include <linux/wireless.h>
/* IOCTL user space API */
#include <linux/wireless.h>
/* IOCTL user space API */
#include <linux/if_ether.h>
/***************************** VERSION *****************************/
/***************************** VERSION *****************************/
/*
/*
...
@@ -294,6 +295,8 @@ struct iw_request_info
...
@@ -294,6 +295,8 @@ struct iw_request_info
__u16
flags
;
/* More to come ;-) */
__u16
flags
;
/* More to come ;-) */
};
};
struct
net_device
;
/*
/*
* This is how a function handling a Wireless Extension should look
* This is how a function handling a Wireless Extension should look
* like (both get and set, standard and private).
* like (both get and set, standard and private).
...
...
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