diff options
| author | Luis Henriques <luis.henriques@canonical.com> | 2016-02-08 22:27:05 +0000 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-03-01 19:27:20 +1100 |
| commit | e9aaa6d1abcffcf7b8060072e71c0773fb40015d (patch) | |
| tree | cd5aa6f6199e841b66843e144b82eff1034f103e /scripts/gdb/linux/modules.py | |
| parent | 497abcf6afe2d85f047fbf137388dbb63d2528f9 (diff) | |
powerpc/ps3: gelic_udbg: use struct vlan_hdr from <linux/if_vlan.h>
Instead of defining the local struct vlantag use the standard definition
of vlan_hdr from <linux/if_vlan.h>.
The fields in the <linux/if_vlan.h> definition have different names:
- vlan -> h_vlan_TCI
- subtype -> h_vlan_encapsulated_proto
While there, use also the ETH_P_IP macro instead of an hard-coded 0x0800
value.
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions
