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
5c52f39b
Commit
5c52f39b
authored
Apr 13, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPV4]: xfrm4_tunnel and ipip need to privateize some symbols.
parent
5f8bbb8f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
net/ipv4/ipip.c
net/ipv4/ipip.c
+4
-4
net/ipv4/xfrm4_tunnel.c
net/ipv4/xfrm4_tunnel.c
+1
-1
No files found.
net/ipv4/ipip.c
View file @
5c52f39b
...
@@ -208,7 +208,7 @@ static void ipip_tunnel_link(struct ip_tunnel *t)
...
@@ -208,7 +208,7 @@ static void ipip_tunnel_link(struct ip_tunnel *t)
write_unlock_bh
(
&
ipip_lock
);
write_unlock_bh
(
&
ipip_lock
);
}
}
struct
ip_tunnel
*
ipip_tunnel_locate
(
struct
ip_tunnel_parm
*
parms
,
int
create
)
st
atic
st
ruct
ip_tunnel
*
ipip_tunnel_locate
(
struct
ip_tunnel_parm
*
parms
,
int
create
)
{
{
u32
remote
=
parms
->
iph
.
daddr
;
u32
remote
=
parms
->
iph
.
daddr
;
u32
local
=
parms
->
iph
.
saddr
;
u32
local
=
parms
->
iph
.
saddr
;
...
@@ -286,7 +286,7 @@ static void ipip_tunnel_uninit(struct net_device *dev)
...
@@ -286,7 +286,7 @@ static void ipip_tunnel_uninit(struct net_device *dev)
dev_put
(
dev
);
dev_put
(
dev
);
}
}
void
ipip_err
(
struct
sk_buff
*
skb
,
void
*
__unused
)
static
void
ipip_err
(
struct
sk_buff
*
skb
,
void
*
__unused
)
{
{
#ifndef I_WISH_WORLD_WERE_PERFECT
#ifndef I_WISH_WORLD_WERE_PERFECT
...
@@ -478,7 +478,7 @@ static inline void ipip_ecn_decapsulate(struct iphdr *outer_iph, struct sk_buff
...
@@ -478,7 +478,7 @@ static inline void ipip_ecn_decapsulate(struct iphdr *outer_iph, struct sk_buff
IP_ECN_set_ce
(
inner_iph
);
IP_ECN_set_ce
(
inner_iph
);
}
}
int
ipip_rcv
(
struct
sk_buff
*
skb
)
static
int
ipip_rcv
(
struct
sk_buff
*
skb
)
{
{
struct
iphdr
*
iph
;
struct
iphdr
*
iph
;
struct
ip_tunnel
*
tunnel
;
struct
ip_tunnel
*
tunnel
;
...
@@ -852,7 +852,7 @@ static int ipip_tunnel_init(struct net_device *dev)
...
@@ -852,7 +852,7 @@ static int ipip_tunnel_init(struct net_device *dev)
return
0
;
return
0
;
}
}
int
__init
ipip_fb_tunnel_init
(
struct
net_device
*
dev
)
static
int
__init
ipip_fb_tunnel_init
(
struct
net_device
*
dev
)
{
{
struct
iphdr
*
iph
;
struct
iphdr
*
iph
;
...
...
net/ipv4/xfrm4_tunnel.c
View file @
5c52f39b
...
@@ -163,7 +163,7 @@ static int ipip_rcv(struct sk_buff *skb)
...
@@ -163,7 +163,7 @@ static int ipip_rcv(struct sk_buff *skb)
return
0
;
return
0
;
}
}
void
ipip_err
(
struct
sk_buff
*
skb
,
u32
info
)
static
void
ipip_err
(
struct
sk_buff
*
skb
,
u32
info
)
{
{
struct
xfrm_tunnel
*
handler
=
ipip_handler
;
struct
xfrm_tunnel
*
handler
=
ipip_handler
;
u32
arg
=
info
;
u32
arg
=
info
;
...
...
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