login
Header Space

 
 

[PATCH] [NET] Exporting of some IPv6 symbols for HIP and SHIM6 experimentation

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <netdev@...>
Date: Tuesday, April 29, 2008 - 5:07 pm

Host Identity Protocol (HIP, RFC5201, RFC4423) and Site Multihoming for 
IPv6 (SHIM6, draft-ietf-shim6-proto-10) define new APIs in the URLs below. 
This patch exports some IPv6 symbols to help in initial IETF 
experimentation with external kernel modules for HIP and SHIM6 socket 
handlers. The SHIM6 and HIP socket handlers are built on top of IPv6 
socket handlers.
http://www.ietf.org/internet-drafts/draft-ietf-hip-native-api-04.txt
http://www.ietf.org/internet-drafts/draft-ietf-shim6-multihome-shim-api-05.txt


Signed-off-by: Miika Komu <miika@iki.fi>
--

diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c
index 3c6aafb..ec96224 100644
--- a/net/ipv6/af_inet6.c
+++ b/net/ipv6/af_inet6.c
@@ -239,7 +239,7 @@ out_rcu_unlock:
  	rcu_read_unlock();
  	goto out;
  }
-
+EXPORT_SYMBOL(inet6_create);

  /* bind for INET6 API */
  int inet6_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len)
@@ -498,6 +498,7 @@ const struct proto_ops inet6_stream_ops = {
  	.compat_getsockopt = compat_sock_common_getsockopt,
  #endif
  };
+EXPORT_SYMBOL(inet6_stream_ops);

  const struct proto_ops inet6_dgram_ops = {
  	.family		   = PF_INET6,
@@ -523,6 +524,7 @@ const struct proto_ops inet6_dgram_ops = {
  	.compat_getsockopt = compat_sock_common_getsockopt,
  #endif
  };
+EXPORT_SYMBOL(inet6_dgram_ops);

  static struct net_proto_family inet6_family_ops = {
  	.family = PF_INET6,
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] [NET] Exporting of some IPv6 symbols for HIP and SHI..., Miika Komu, (Tue Apr 29, 5:07 pm)
Re: [PATCH] [NET] Exporting of some IPv6 symbols for HIP and..., YOSHIFUJI Hideaki / , (Mon May 5, 2:00 am)
Re: [PATCH] [NET] Exporting of some IPv6 symbols for HIP and..., YOSHIFUJI Hideaki / , (Tue May 6, 6:18 am)
speck-geostationary