LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 12-28-2006, 06: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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 01:12 PM
pptp-conntrack-nat jobbe314 Linux - Networking 1 07-16-2005 09:37 AM
Help! problem with PPTPD and pptp nat helper radien Linux - Networking 0 12-21-2004 08:27 AM
RH9 - pptp-conntrack-nat.patch mightym Red Hat 1 10-15-2004 07:22 AM
Mandrake 8.2 - NAT, conntrack, & H323 gboutwel Linux - Distributions 15 07-07-2002 01:01 PM


All times are GMT -5. The time now is 02:33 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration