* Two comments on the H.323 conntrack/NAT helper
@ 2006-03-24 0:13 Adrian Bunk
2006-03-24 2:02 ` Patrick McHardy
2006-03-24 2:34 ` Jing Min Zhao
0 siblings, 2 replies; 5+ messages in thread
From: Adrian Bunk @ 2006-03-24 0:13 UTC (permalink / raw)
To: Jing Min Zhao; +Cc: netdev, netfilter-devel, linux-kernel
Two comments on the H.323 conntrack/NAT helper:
- the function prototypes in ip_nat_helper_h323.c are _ugly_,
please move them to a header file
- is there a reason for not using EXPORT_SYMBOL_GPL?
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Two comments on the H.323 conntrack/NAT helper
2006-03-24 0:13 Two comments on the H.323 conntrack/NAT helper Adrian Bunk
@ 2006-03-24 2:02 ` Patrick McHardy
2006-03-24 2:40 ` Jing Min Zhao
2006-03-24 19:02 ` Jing Min Zhao
2006-03-24 2:34 ` Jing Min Zhao
1 sibling, 2 replies; 5+ messages in thread
From: Patrick McHardy @ 2006-03-24 2:02 UTC (permalink / raw)
To: Adrian Bunk
Cc: netdev, zhaojingmin, netfilter-devel, Jing Min Zhao, linux-kernel
[The hotmail address of the author doesn't work, CCed sourceforge-address]
Adrian Bunk wrote:
> Two comments on the H.323 conntrack/NAT helper:
> - the function prototypes in ip_nat_helper_h323.c are _ugly_,
> please move them to a header file
Their ugliness is because of the current API, which cleaned up
quite a lot of the surrounding code, but requires this ugliness
from each helper. I would like to keep them visible as a reminder
that a cleaner solution is wanted, but moving them to header
files certainly sound like a good idea to eliminate the risk
of prototype conflicts. But please do this for all helpers
at once.
> - is there a reason for not using EXPORT_SYMBOL_GPL?
I would prefer that too.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Two comments on the H.323 conntrack/NAT helper
2006-03-24 2:02 ` Patrick McHardy
@ 2006-03-24 2:40 ` Jing Min Zhao
2006-03-24 19:02 ` Jing Min Zhao
1 sibling, 0 replies; 5+ messages in thread
From: Jing Min Zhao @ 2006-03-24 2:40 UTC (permalink / raw)
To: Patrick McHardy, Adrian Bunk
Cc: netdev, netfilter-devel, zhaojingmin, linux-kernel, Jing Min Zhao
----- Original Message -----
From: "Patrick McHardy" <kaber@trash.net>
To: "Adrian Bunk" <bunk@stusta.de>
Cc: <netdev@vger.kernel.org>; <zhaojingmin@users.sourceforge.net>;
<netfilter-devel@lists.netfilter.org>; "Jing Min Zhao"
<zhaojignmin@hotmail.com>; <linux-kernel@vger.kernel.org>
Sent: Thursday, March 23, 2006 9:02 PM
Subject: Re: Two comments on the H.323 conntrack/NAT helper
> [The hotmail address of the author doesn't work, CCed sourceforge-address]
>
> Adrian Bunk wrote:
>> Two comments on the H.323 conntrack/NAT helper:
>> - the function prototypes in ip_nat_helper_h323.c are _ugly_,
>> please move them to a header file
>
> Their ugliness is because of the current API, which cleaned up
> quite a lot of the surrounding code, but requires this ugliness
> from each helper. I would like to keep them visible as a reminder
> that a cleaner solution is wanted, but moving them to header
> files certainly sound like a good idea to eliminate the risk
> of prototype conflicts. But please do this for all helpers
> at once.
>
>> - is there a reason for not using EXPORT_SYMBOL_GPL?
>
> I would prefer that too.
>
>
Sure, I'll do that.
Thanks
Jing Min Zhao
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Two comments on the H.323 conntrack/NAT helper
2006-03-24 2:02 ` Patrick McHardy
2006-03-24 2:40 ` Jing Min Zhao
@ 2006-03-24 19:02 ` Jing Min Zhao
1 sibling, 0 replies; 5+ messages in thread
From: Jing Min Zhao @ 2006-03-24 19:02 UTC (permalink / raw)
To: Patrick McHardy, Adrian Bunk
Cc: netdev, netfilter-devel, zhaojingmin, linux-kernel
----- Original Message -----
From: "Patrick McHardy" <kaber@trash.net>
To: "Adrian Bunk" <bunk@stusta.de>
Cc: <netdev@vger.kernel.org>; <zhaojingmin@users.sourceforge.net>; <netfilter-devel@lists.netfilter.org>; "Jing Min Zhao"
<zhaojignmin@hotmail.com>; <linux-kernel@vger.kernel.org>
Sent: Thursday, March 23, 2006 9:02 PM
Subject: Re: Two comments on the H.323 conntrack/NAT helper
> [The hotmail address of the author doesn't work, CCed sourceforge-address]
>
> Adrian Bunk wrote:
>> Two comments on the H.323 conntrack/NAT helper:
>> - the function prototypes in ip_nat_helper_h323.c are _ugly_,
>> please move them to a header file
>
> Their ugliness is because of the current API, which cleaned up
> quite a lot of the surrounding code, but requires this ugliness
> from each helper. I would like to keep them visible as a reminder
> that a cleaner solution is wanted, but moving them to header
> files certainly sound like a good idea to eliminate the risk
> of prototype conflicts. But please do this for all helpers
> at once.
>
>> - is there a reason for not using EXPORT_SYMBOL_GPL?
>
> I would prefer that too.
>
>
I've moved those prototypes. But the move involves moving of two header files:
ip_conntrack_helper_h323_asn1.h and ip_conntrack_helper_h323_types.h.
This is because ip_conntrack_h323.h now has to include
ip_conntrack_helper_h323_asn1.h and thus ip_conntrack_helper_h323_types.h,
so they are moved from net/ipv4/netfilter/ to include/linux/netfilter_ipv4/ to
make sure other header files like ip_conntrack_h323.h and ip_conntrack.h
be able to find them.
Is this ok or you have a better idea?
Thanks a lot!
Jing Min Zhao
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Two comments on the H.323 conntrack/NAT helper
2006-03-24 0:13 Two comments on the H.323 conntrack/NAT helper Adrian Bunk
2006-03-24 2:02 ` Patrick McHardy
@ 2006-03-24 2:34 ` Jing Min Zhao
1 sibling, 0 replies; 5+ messages in thread
From: Jing Min Zhao @ 2006-03-24 2:34 UTC (permalink / raw)
To: Adrian Bunk, Jing Min Zhao; +Cc: netdev, netfilter-devel, linux-kernel
----- Original Message -----
From: "Adrian Bunk" <bunk@stusta.de>
To: "Jing Min Zhao" <zhaojignmin@hotmail.com>
Cc: <netdev@vger.kernel.org>; <netfilter-devel@lists.netfilter.org>;
<linux-kernel@vger.kernel.org>
Sent: Thursday, March 23, 2006 7:13 PM
Subject: Two comments on the H.323 conntrack/NAT helper
> Two comments on the H.323 conntrack/NAT helper:
Thank you for your advice.
> - the function prototypes in ip_nat_helper_h323.c are _ugly_,
> please move them to a header file
Correct, I'll do that.
> - is there a reason for not using EXPORT_SYMBOL_GPL?
>
No, I just forgot it. I'll change this too.
> cu
Hope I can get more advice from you.
> Adrian
>
> --
>
> "Is there not promise of rain?" Ling Tan asked suddenly out
> of the darkness. There had been need of rain for many days.
> "Only a promise," Lao Er said.
> Pearl S. Buck - Dragon Seed
>
That's Hepburn :-)
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-03-24 19:02 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-24 0:13 Two comments on the H.323 conntrack/NAT helper Adrian Bunk
2006-03-24 2:02 ` Patrick McHardy
2006-03-24 2:40 ` Jing Min Zhao
2006-03-24 19:02 ` Jing Min Zhao
2006-03-24 2:34 ` Jing Min Zhao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).