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
f6edcf87
Commit
f6edcf87
authored
Apr 02, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://kernel.bkbits.net/acme/net-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5
parents
38fc0000
f9d752e7
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
11 additions
and
44 deletions
+11
-44
include/linux/atm.h
include/linux/atm.h
+0
-11
include/linux/if_pppox.h
include/linux/if_pppox.h
+0
-2
include/linux/inet.h
include/linux/inet.h
+1
-6
include/linux/net.h
include/linux/net.h
+0
-10
include/net/af_unix.h
include/net/af_unix.h
+0
-1
net/atm/common.c
net/atm/common.c
+1
-2
net/atm/pvc.c
net/atm/pvc.c
+3
-4
net/atm/svc.c
net/atm/svc.c
+3
-4
net/ipv4/af_inet.c
net/ipv4/af_inet.c
+1
-1
net/unix/af_unix.c
net/unix/af_unix.c
+2
-3
No files found.
include/linux/atm.h
View file @
f6edcf87
...
...
@@ -236,15 +236,4 @@ struct atmif_sioc {
};
typedef
unsigned
short
atm_backend_t
;
#ifdef __KERNEL__
#include <linux/net.h>
/* struct net_proto */
void
atmpvc_proto_init
(
struct
net_proto
*
pro
);
void
atmsvc_proto_init
(
struct
net_proto
*
pro
);
#endif
/* __KERNEL__ */
#endif
include/linux/if_pppox.h
View file @
f6edcf87
...
...
@@ -158,8 +158,6 @@ enum {
extern
struct
ppp_channel_ops
pppoe_chan_ops
;
extern
int
pppox_proto_init
(
struct
net_proto
*
np
);
#endif
/* __KERNEL__ */
#endif
/* !(__LINUX_IF_PPPOX_H) */
include/linux/inet.h
View file @
f6edcf87
...
...
@@ -43,11 +43,6 @@
#define _LINUX_INET_H
#ifdef __KERNEL__
#include <linux/net.h>
extern
void
inet_proto_init
(
struct
net_proto
*
pro
);
extern
__u32
in_aton
(
const
char
*
str
);
extern
__u32
in_aton
(
const
char
*
str
);
#endif
#endif
/* _LINUX_INET_H */
include/linux/net.h
View file @
f6edcf87
...
...
@@ -136,16 +136,6 @@ struct net_proto_family {
short
encrypt_net
;
};
/**
* struct socket - network interface with the file system
* @name - Protocol name
* @init_func - Bootstrap
*/
struct
net_proto
{
const
char
*
name
;
void
(
*
init_func
)(
struct
net_proto
*
pro
);
};
extern
int
sock_wake_async
(
struct
socket
*
sk
,
int
how
,
int
band
);
extern
int
sock_register
(
struct
net_proto_family
*
fam
);
extern
int
sock_unregister
(
int
family
);
...
...
include/net/af_unix.h
View file @
f6edcf87
#ifndef __LINUX_NET_AFUNIX_H
#define __LINUX_NET_AFUNIX_H
extern
void
unix_proto_init
(
struct
net_proto
*
pro
);
extern
void
unix_inflight
(
struct
file
*
fp
);
extern
void
unix_notinflight
(
struct
file
*
fp
);
typedef
struct
sock
unix_socket
;
...
...
net/atm/common.c
View file @
f6edcf87
...
...
@@ -6,8 +6,7 @@
#include <linux/config.h>
#include <linux/module.h>
#include <linux/kmod.h>
#include <linux/net.h>
/* struct socket, struct net_proto, struct
proto_ops */
#include <linux/net.h>
/* struct socket, struct proto_ops */
#include <linux/atm.h>
/* ATM stuff */
#include <linux/atmdev.h>
#include <linux/atmclip.h>
/* CLIP_*ENCAP */
...
...
net/atm/pvc.c
View file @
f6edcf87
...
...
@@ -4,8 +4,7 @@
#include <linux/config.h>
#include <linux/net.h>
/* struct socket, struct net_proto,
struct proto_ops */
#include <linux/net.h>
/* struct socket, struct proto_ops */
#include <linux/atm.h>
/* ATM stuff */
#include <linux/atmdev.h>
/* ATM devices */
#include <linux/atmclip.h>
/* Classical IP over ATM */
...
...
@@ -111,8 +110,8 @@ static int pvc_create(struct socket *sock,int protocol)
static
struct
net_proto_family
pvc_family_ops
=
{
.
family
=
PF_ATMPVC
,
.
create
=
pvc_create
,
.
family
=
PF_ATMPVC
,
.
create
=
pvc_create
,
};
...
...
net/atm/svc.c
View file @
f6edcf87
...
...
@@ -4,8 +4,7 @@
#include <linux/string.h>
#include <linux/net.h>
/* struct socket, struct net_proto,
struct proto_ops */
#include <linux/net.h>
/* struct socket, struct proto_ops */
#include <linux/errno.h>
/* error codes */
#include <linux/kernel.h>
/* printk */
#include <linux/skbuff.h>
...
...
@@ -430,8 +429,8 @@ static int svc_create(struct socket *sock,int protocol)
static
struct
net_proto_family
svc_family_ops
=
{
.
family
=
PF_ATMSVC
,
.
create
=
svc_create
,
.
family
=
PF_ATMSVC
,
.
create
=
svc_create
,
};
...
...
net/ipv4/af_inet.c
View file @
f6edcf87
...
...
@@ -1122,7 +1122,7 @@ static int __init inet_init(void)
printk
(
KERN_INFO
"NET4: Linux TCP/IP 1.0 for NET4.0
\n
"
);
if
(
sizeof
(
struct
inet_skb_parm
)
>
sizeof
(
dummy_skb
->
cb
))
{
printk
(
KERN_CRIT
"
inet_proto_init: panic
\n
"
);
printk
(
KERN_CRIT
"
%s: panic
\n
"
,
__FUNCTION__
);
return
-
EINVAL
;
}
...
...
net/unix/af_unix.c
View file @
f6edcf87
...
...
@@ -1945,9 +1945,8 @@ static int __init af_unix_init(void)
struct
sk_buff
*
dummy_skb
;
printk
(
banner
);
if
(
sizeof
(
struct
unix_skb_parms
)
>
sizeof
(
dummy_skb
->
cb
))
{
printk
(
KERN_CRIT
"unix_proto_init: panic
\n
"
);
if
(
sizeof
(
struct
unix_skb_parms
)
>
sizeof
(
dummy_skb
->
cb
))
{
printk
(
KERN_CRIT
"%s: panic
\n
"
,
__FUNCTION__
);
return
-
1
;
}
/* allocate our sock slab cache */
...
...
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