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
665ce2eb
Commit
665ce2eb
authored
Jun 19, 2004
by
Hideaki Yoshifuji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPV6] make several functions static in ip6_tunnel that should be.
parent
adf791bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
net/ipv6/ip6_tunnel.c
net/ipv6/ip6_tunnel.c
+10
-6
No files found.
net/ipv6/ip6_tunnel.c
View file @
665ce2eb
...
...
@@ -123,7 +123,7 @@ static inline void ip6_tnl_dst_store(struct ip6_tnl *t, struct dst_entry *dst)
* else %NULL
**/
struct
ip6_tnl
*
st
atic
st
ruct
ip6_tnl
*
ip6ip6_tnl_lookup
(
struct
in6_addr
*
remote
,
struct
in6_addr
*
local
)
{
unsigned
h0
=
HASH
(
remote
);
...
...
@@ -387,8 +387,9 @@ parse_tlv_tnl_enc_lim(struct sk_buff *skb, __u8 * raw)
* to the specifications in RFC 2473.
**/
void
ip6ip6_err
(
struct
sk_buff
*
skb
,
struct
inet6_skb_parm
*
opt
,
int
type
,
int
code
,
int
offset
,
__u32
info
)
static
void
ip6ip6_err
(
struct
sk_buff
*
skb
,
struct
inet6_skb_parm
*
opt
,
int
type
,
int
code
,
int
offset
,
__u32
info
)
{
struct
ipv6hdr
*
ipv6h
=
(
struct
ipv6hdr
*
)
skb
->
data
;
struct
ip6_tnl
*
t
;
...
...
@@ -496,7 +497,8 @@ void ip6ip6_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
* Return: 0
**/
int
ip6ip6_rcv
(
struct
sk_buff
**
pskb
,
unsigned
int
*
nhoffp
)
static
int
ip6ip6_rcv
(
struct
sk_buff
**
pskb
,
unsigned
int
*
nhoffp
)
{
struct
sk_buff
*
skb
=
*
pskb
;
struct
ipv6hdr
*
ipv6h
;
...
...
@@ -598,7 +600,8 @@ ip6ip6_tnl_addr_conflict(struct ip6_tnl *t, struct ipv6hdr *hdr)
* 0
**/
int
ip6ip6_tnl_xmit
(
struct
sk_buff
*
skb
,
struct
net_device
*
dev
)
static
int
ip6ip6_tnl_xmit
(
struct
sk_buff
*
skb
,
struct
net_device
*
dev
)
{
struct
ip6_tnl
*
t
=
(
struct
ip6_tnl
*
)
dev
->
priv
;
struct
net_device_stats
*
stats
=
&
t
->
stat
;
...
...
@@ -1079,7 +1082,8 @@ ip6ip6_tnl_dev_init(struct net_device *dev)
* Return: 0
**/
int
ip6ip6_fb_tnl_dev_init
(
struct
net_device
*
dev
)
static
int
ip6ip6_fb_tnl_dev_init
(
struct
net_device
*
dev
)
{
struct
ip6_tnl
*
t
=
dev
->
priv
;
ip6ip6_tnl_dev_init_gen
(
dev
);
...
...
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