Commit 5c52f39b authored by David S. Miller's avatar David S. Miller

[IPV4]: xfrm4_tunnel and ipip need to privateize some symbols.

parent 5f8bbb8f
...@@ -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) static struct 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;
......
...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment