aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorNicolas Dichtel <nicolas.dichtel@6wind.com>2012-11-14 00:14:06 -0500
committerDavid S. Miller <davem@davemloft.net>2012-11-14 22:02:38 -0500
commite4c94a9cdc5041cddaf1218397e4576a2d534f0f (patch)
treeab02f68019c65fe56539c8cbca078541f971ee46 /net/ipv6
parenta12c9a85813e927e1143989876d70697eb85aac9 (diff)
sit: rename rtnl functions for consistency
Functions in this file start with ipip6_. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/sit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c
index 69e5e7340743..17442dec06de 100644
--- a/net/ipv6/sit.c
+++ b/net/ipv6/sit.c
@@ -1197,7 +1197,7 @@ static int __net_init ipip6_fb_tunnel_init(struct net_device *dev)
1197 return 0; 1197 return 0;
1198} 1198}
1199 1199
1200static size_t sit_get_size(const struct net_device *dev) 1200static size_t ipip6_get_size(const struct net_device *dev)
1201{ 1201{
1202 return 1202 return
1203 /* IFLA_IPTUN_LINK */ 1203 /* IFLA_IPTUN_LINK */
@@ -1217,7 +1217,7 @@ static size_t sit_get_size(const struct net_device *dev)
1217 0; 1217 0;
1218} 1218}
1219 1219
1220static int sit_fill_info(struct sk_buff *skb, const struct net_device *dev) 1220static int ipip6_fill_info(struct sk_buff *skb, const struct net_device *dev)
1221{ 1221{
1222 struct ip_tunnel *tunnel = netdev_priv(dev); 1222 struct ip_tunnel *tunnel = netdev_priv(dev);
1223 struct ip_tunnel_parm *parm = &tunnel->parms; 1223 struct ip_tunnel_parm *parm = &tunnel->parms;
@@ -1241,8 +1241,8 @@ static struct rtnl_link_ops sit_link_ops __read_mostly = {
1241 .kind = "sit", 1241 .kind = "sit",
1242 .maxtype = IFLA_IPTUN_MAX, 1242 .maxtype = IFLA_IPTUN_MAX,
1243 .priv_size = sizeof(struct ip_tunnel), 1243 .priv_size = sizeof(struct ip_tunnel),
1244 .get_size = sit_get_size, 1244 .get_size = ipip6_get_size,
1245 .fill_info = sit_fill_info, 1245 .fill_info = ipip6_fill_info,
1246}; 1246};
1247 1247
1248static struct xfrm_tunnel sit_handler __read_mostly = { 1248static struct xfrm_tunnel sit_handler __read_mostly = {