From: Emmanuel Guiton <emmanuel@netlab.hut.fi>
Cc: "netfilter-devel@lists.netfilter.org"
<netfilter-devel@lists.netfilter.org>
Subject: Re: Changing the content of tcp timeouts in ip_conntrack_proto_tcp.c
Date: Wed, 14 Jan 2004 14:39:15 +0200 [thread overview]
Message-ID: <40053873.6000806@netlab.hut.fi> (raw)
In-Reply-To: Pine.LNX.4.44.0401141203530.29640-100000@filer.marasystems.com
Henrik Nordstrom wrote:
>On Wed, 14 Jan 2004, Emmanuel Guiton wrote:
>
>
>
>>In the target module I'm writing, I need to customize the values
>>ip_ct_tcp_timeout_/somthing/ in the ip_conntrack_proto_tcp.c file. I
>>tried to write an extern function on the model of ip_ct_refresh, but I
>>always got the same problem with depmod:
>>
>>depmod: *** Unresolved symbols in
>>/lib/modules/2.4.23/kernel/net/ipv4/netfilter/ipt_MY_TARGET.o
>>depmod: ip_ct_proto_tcp_set_timeouts
>>
>>Does someone have a good advice on how to proceed correctly?
>>
>>
>
>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.
>
>Regards
>Henrik
>
>
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.
Should I have done otherwise?
Emmanuel
next prev parent reply other threads:[~2004-01-14 12:39 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-14 10:34 Changing the content of tcp timeouts in ip_conntrack_proto_tcp.c Emmanuel Guiton
2004-01-14 11:11 ` Henrik Nordstrom
2004-01-14 12:39 ` Emmanuel Guiton [this message]
2004-01-14 12:50 ` KOVACS Krisztian
2004-01-14 13:23 ` Emmanuel Guiton
2004-01-15 8:26 ` Side effect? - " Emmanuel Guiton
2004-01-15 13:14 ` KOVACS Krisztian
2004-01-15 13:32 ` Userspace msg, hw_addr unused? Scott MacKay
2004-01-15 14:00 ` Scott MacKay
2004-01-15 14:19 ` Side effect? - Re: Changing the content of tcp timeouts in ip_conntrack_proto_tcp.c Emmanuel Guiton
2004-01-15 14:29 ` Last minute erratum: I'm stupid. - Re: Side effect? - Re: Changing the content of tcp timeouts Emmanuel Guiton
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=40053873.6000806@netlab.hut.fi \
--to=emmanuel@netlab.hut.fi \
--cc=netfilter-devel@lists.netfilter.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.