LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 10-16-2007, 01:47 AM   #1
rajaashok
LQ Newbie
 
Registered: Oct 2007
Posts: 2

Rep: Reputation: 0
Virtual Netdevice


Hi All

we are trying to to integrate our ipsec onto linux 2.6 kernel to do
so we have created a virtual device [struct net_device] with
dev->type = ARPHRD_VOID and configuring the same MAC address and IP
addresses as present on "eth0" interface and when try to send out the data,the packets are seen on the network.But we need all the packets
to be processed in the virtual devices "hard_start_xmit" function and this is never getting called.

Please let me know how to make the kernel call "hard_start_xmit" function ofmy virtual device, so i can process the packets in my "hard_start_xmit" and resend them on to "Eth0" interface
Do I have to set different IP for virtual device or have to do any other configurations.


Thanks in Advance.

--Raj
 
  


Reply



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
LXer: rPath™ Simplifies Certification and Publication of Virtual Appliances for the VMware Virtual Appliance Marketplace LXer Syndicated Linux News 0 06-06-2007 11:31 PM
rc.netdevice missing bato Slackware 4 08-05-2006 09:00 AM
adm8211 unregister netdevice zzpaf Linux - Wireless Networking 6 08-16-2004 07:03 PM
Endless Loop: ppp0 Unregister Netdevice: waiting for ppp0 to be free. oberon-ken-obi Linux - Networking 1 07-20-2004 11:04 PM

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

All times are GMT -5. The time now is 09:45 AM.

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