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/