From mboxrd@z Thu Jan 1 00:00:00 1970 From: Emmanuel Guiton Subject: Re: Changing the content of tcp timeouts in ip_conntrack_proto_tcp.c Date: Wed, 14 Jan 2004 15:23:09 +0200 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <400542BD.6050706@netlab.hut.fi> References: <40053873.6000806@netlab.hut.fi> <1074084643.15865.6.camel@nienna.balabit> Reply-To: emmanuel@netlab.hut.fi Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: netfilter-devel Return-path: Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org KOVACS Krisztian wrote: > Hi, > >On Wed, 2004-01-14 at 13:39, Emmanuel Guiton wrote: > > >>>Looks like you have not exported this function from ip_conntrack. To use a >>>function from another module than it is defined in the function must first >>>be exported from the module where it is defined. >>> >>> >>Well, I think I did. I defined my function in the >>ip_conntrack_proto_tcp.c and I exported its prototype in ip_conntrack.h. >>Then I call it in my target module which also uses ip_conntrack.h. >> >> > > You have to explicitly export it using the EXPORT_SYMBOL() (or >EXPORT_SYMBOL_GPL) macro in ip_conntrack_standalone.c. It has a lot of >other exported symbols, just add another one. > > > Right, it's working now. Thanks! Emmanuel