lkml.org 
[lkml]   [2000]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] exporting IPv6 symbols

Enclosed is a patch that exports some IPv6 specific symbols on 2.4 so that
finally IPv6 is accessible from modules. I bet there are bunch of other
functions that needs to be exported as well but this is a start. There
are also various IPv6 functions in 2.2 that should be exported for the
same reasons; I can make a patch for 2.2 if there are no objections. This
patch is against 2.4.0test7.

-----snip-----
diff -uNr ./net/netsyms.c ../linux-2.4-new/net/netsyms.c
--- ./net/netsyms.c Fri Aug 18 20:26:25 2000
+++ ../linux-2.4-new/net/netsyms.c Wed Sep 6 13:02:10 2000
@@ -55,6 +55,7 @@
#include <linux/in6.h>
#include <linux/icmpv6.h>
#include <net/ipv6.h>
+#include <net/ip6_route.h>
#include <net/ndisc.h>
#include <net/transp_v6.h>

@@ -255,6 +256,13 @@
#ifdef CONFIG_IPV6
EXPORT_SYMBOL(ipv6_addr_type);
EXPORT_SYMBOL(icmpv6_send);
+EXPORT_SYMBOL(ip6_route_input);
+EXPORT_SYMBOL(ip6_route_output);
+EXPORT_SYMBOL(rt6_lookup);
+EXPORT_SYMBOL(ipv6_rcv);
+EXPORT_SYMBOL(ip6_input);
+EXPORT_SYMBOL(ip6_output);
+EXPORT_SYMBOL(ip6_forward);
#endif
#if defined (CONFIG_IPV6_MODULE) || defined (CONFIG_KHTTPD) || defined (CONFIG_KHTTPD_MODULE)
/* inet functions common to v4 and v6 */
-----snip-----
Pekka
________________________________________________________________________
Pekka Riikonen | Email: priikone@poseidon.pspt.fi
SSH Communications Security Corp. | http://poseidon.pspt.fi/~priikone
Tel. +358 (0)40 580 6673 | Kasarmikatu 11 A4, SF-70110 Kuopio
PGP KeyID A924ED4F: http://poseidon.pspt.fi/~priikone/pubkey.asc
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:39    [W:0.051 / U:39.808 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site