diff options
author | Peter P. Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> | 2007-04-21 01:05:39 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 07:29:14 +0200 |
commit | 80feaacb8a6400a9540a961b6743c69a5896b937 (patch) | |
tree | a4f07e635de521f5e283e0f4081923a98c0256d5 /net/ax25 | |
parent | [IPV6] SNMP: Export statistics via netlink without CONFIG_PROC_FS. (diff) | |
download | linux-80feaacb8a6400a9540a961b6743c69a5896b937.tar.xz linux-80feaacb8a6400a9540a961b6743c69a5896b937.zip |
[AF_PACKET]: Add option to return orig_dev to userspace.
Add a packet socket option to allow the orig_dev index to be returned
to userspace when passing traffic through a decapsulated device, such
as the bonding driver.
This is very useful for layer 2 traffic being able to report which
physical device actually received the traffic, instead of having the
encapsulating device hide that information.
The new option is called PACKET_ORIGDEV.
Signed-off-by: Peter P. Waskiewicz Jr. <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ax25')
0 files changed, 0 insertions, 0 deletions