Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > The Linux Kernel
Reload this Page Ipsec arcitecture of Linux kernel 2.6.xx
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

The Linux Kernel Compiling, theory, programming or other discussion about the linux kernel

Reply
 
Thread Tools Display Modes
Old 02-27-2008   #1 (permalink)
logicman112
Just Joined!
 
Join Date: Feb 2008
Posts: 1
Cool Ipsec arcitecture of Linux kernel 2.6.xx

I am looking for a flow of the most important function calls when IPsec is active, I am talking about net/ipv4/ip_input.c and net/ipv4/ip_output.c files mainly. I believe that dst_input(skb) and dst_output(skb) functions activate net/ipv4/ah4.c/ah_input() and ah_output functions? is that right?

Besides to the best of my knowledge this flow should be like the following:

OUTput case

ip_queue_xmit---> ip_output &&
ip_route_output_flow(net/ipv4/route.c)--->__xfrm_lookup
ip_output--->ip_finish_output--->dst_output------>dev_queue_xmit(net/core/dev.c)
ip_finish_output--->ip_finish_output2------>dev_queue_xmit(net/core/dev.c)



INput case
net_rx_action(net/core/dev.c)------>ip_rcv--->ip_rcv_finish--->ip_route_input(net/ipv4/route.c) && dst_input------>
ip_local_deliver--->ip_local_deliver_finish--->
xfrm4_policy_check(include/net/xfrm.h) && protocol handler
logicman112 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Destroying ext3 filesystems under files copy between it and NTFS filesystem at@at Redhat / Fedora Linux Help 2 05-16-2008 09:42 AM
Can't mount coolmax HD-360 enclosure ivotron Peripherals / Hardware 1 10-30-2007 04:45 PM
USB HD (enclosure) changing mountpoins Everytime I copy files . . . icedtea Peripherals / Hardware 0 10-11-2007 02:14 PM
speedtouch modem connect problem and tainted kernel superkarimo SuSE Linux Help 0 01-04-2007 05:37 PM
Root mounted on raid0 Kernel Panic uphigh Mandriva Linux Help 1 10-04-2004 04:50 AM




All times are GMT. The time now is 11:44 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0