sk_buff real_dev and more questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




I have noticed that the real_dev field was removed from the sk_buff struct in linux-2.6.14 and only dev and input_dev remained.

Am I correct to understand that on an arriving packet
'dev' == 'input_dev' == the device we read the packet on.
An outgoing packet is going to be transmitted on the device 'dev', and
'input_dev' is meaningless (NULL?).


How devices such as 'eth0:1' are considered in the kernel?
Is there a device struct for 'eth0:1' as well, or does it only mean that the kernel answers ARP for one more IP address?
Will I see packets coming from eth0:1?
Can I transmit on eth0:1?

Is this the different between "real devices" and not "real devices"?
(eth0 is real whereas eth0:1 is not?)

If so is this a difference between 2.6.14 and 2.6.13?


I would appreciate any answers to straighten my confusion.
Thanks.


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux