netdev
[Top] [All Lists]

net_device structure help

To: net dev <netdev@xxxxxxxxxxx>
Subject: net_device structure help
From: cranium2003 <cranium2003@xxxxxxxxx>
Date: Tue, 17 May 2005 02:55:31 -0700 (PDT)
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=nB0IGzIaJ4ZiiKCsD4RiZvFp8rjIvQTT6SQdcH1sYBNAmpMiNNGoSCdL5x/sgcOsp3ZM1K1iCY5iuRIyxrqpiiGumse6PslJMdJOC1bJdzmk1v2DAJ5iWQwteeZrM0fmBFumuHZhQyxb85J1kMdouuRbOyvTZRDGQG6ki3W5O3k= ;
Sender: netdev-bounce@xxxxxxxxxxx
hello,
        Is there any way in linux kernel network stack
at IP layer before adding IP header to know that
packet is transmitted to eth1 or forwarded to eth1 if
linux machine has 2 NIC's eth0 and eth1?
       I check net_device structre and found that
ifindex is the field that gives proper incoming packet
network interface at IP layer but same for packet
trasmission not works.
regards,
cranium



                
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html


<Prev in Thread] Current Thread [Next in Thread>
  • net_device structure help, cranium2003 <=