All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pierre Rondou <prondou@gmail.com>
To: netfilter-devel@vger.kernel.org
Cc: evyncke@cisco.com, guy.leduc@ulg.ac.be,
	Cyril Soldani <cyril.soldani@ulg.ac.be>
Subject: EXPORT_SYMBOL missing in the kernel?
Date: Tue, 24 May 2011 15:03:34 +0200	[thread overview]
Message-ID: <4DDBACA6.2060501@gmail.com> (raw)

Hello,

I'm a student at the University of Liege, currently developing a NAT64 
(see RFC 6146) module for Netfilter.

In order to develop this module, I had to use some in-kernel function, 
such as icmp_send, ip6_output, ip_finish_output, ... and many more.

But many of those functions didn't have an "EXPORT_SYMBOL" allowing them 
to be reachable from outside the kernel.

So, to be able to use them, I had to copy paste about 1500 lines of 
kernel source code (those functions + related functions). This makes the 
module hardly updatable as all those functions are likely to be updated.

Is there a reason why those functions are not associated with an 
"EXPORT_SYMBOL"?

Regards,

Pierre Rondou

             reply	other threads:[~2011-05-24 13:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-24 13:03 Pierre Rondou [this message]
2011-05-24 13:40 ` EXPORT_SYMBOL missing in the kernel? Eric Dumazet
2011-05-24 13:48   ` Pierre Rondou
2011-05-24 14:41     ` Jan Engelhardt
2011-05-24 15:42       ` Pierre Rondou
2011-05-24 21:32         ` Jan Engelhardt
2011-05-25 13:05           ` Pierre Rondou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DDBACA6.2060501@gmail.com \
    --to=prondou@gmail.com \
    --cc=cyril.soldani@ulg.ac.be \
    --cc=evyncke@cisco.com \
    --cc=guy.leduc@ulg.ac.be \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.