LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-28-2006, 07:13 AM   #1
preddibear
LQ Newbie
 
Registered: Aug 2006
Posts: 6

Rep: Reputation: 0
Talking IP conntrack IP NAT helper? expect?


I have 2 modules that are like IP_conntrack_tftp and IP_NAT_tftp

I want to know if there's a direct relation between them and in there initialization, what does help and expect mean?

ip_nat_tftp.c
tftp[i].help = tftp_nat_help;
tftp[i].expect = tftp_nat_expected

ip_conntrack_tftp.c
tftp[i].max_expected = 1;
tftp[i].help = tftp_help;

from my understanding, IP conntrack and NAT uses the following helpers which means that if they are to be used, the function pointed to by .help (e.g. tftp[i.help] = tftp_nat_help) will be used right?

my question is what are these functions for..
is
1. expected from the list is used to check if the skb is what a specific module expects
2. help is used when the expected condition above is satisfied, the function pointed to by help will be performed?

Please help.
Thanks..
 
  


Reply

Tags
conntrack, expected, helper, ip


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
H.323 NAT Netfilter conntrack 2.6 Kernel core support avtechs Linux - Networking 0 05-24-2006 02:12 PM
pptp-conntrack-nat jobbe314 Linux - Networking 1 07-16-2005 10:37 AM
Help! problem with PPTPD and pptp nat helper radien Linux - Networking 0 12-21-2004 09:27 AM
RH9 - pptp-conntrack-nat.patch mightym Red Hat 1 10-15-2004 08:22 AM
Mandrake 8.2 - NAT, conntrack, & H323 gboutwel Linux - Distributions 15 07-07-2002 02:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration