diff options
author | Hao Zheng <[email protected]> | 2010-11-11 13:47:57 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2010-11-12 12:30:57 -0800 |
commit | 0a85df004667c99efc31fab07386823eefce3be5 (patch) | |
tree | 2fe059bc77f52e3cdb6ab665e41dd1eba9d4fc08 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 167c25e4c5501f8b7e37f949d23652975c5a769c (diff) |
vlan: Add function to retrieve EtherType from vlan packets.
Depending on how a packet is vlan tagged (i.e. hardware accelerated or
not), the encapsulated protocol is stored in different locations. This
provides a consistent method of accessing that protocol, which is needed
by drivers, security checks, etc.
Signed-off-by: Hao Zheng <[email protected]>
Signed-off-by: Jesse Gross <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions