diff options
| author | Luis Henriques <[email protected]> | 2016-02-08 22:27:06 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2016-03-01 19:27:20 +1100 |
| commit | 0336c8cd4d61231a6745a99f74929b2f09519d87 (patch) | |
| tree | ed87a9ca019d6ae5167a81b11c4ade11faa8499e /tools/perf/scripts/python | |
| parent | e9aaa6d1abcffcf7b8060072e71c0773fb40015d (diff) | |
powerpc/ps3: gelic_udbg: use struct iphdr from <linux/ip.h>
Instead of defining a local version of struct iphdr use the standard
definition from <linux/ip.h>.
Several fields in the <linux/ip.h> definition have different names:
- proto -> protocol
- src -> saddr
- dest -> daddr
- total_length -> tot_len
- checksum -> check
Also, 'ver_len' is composed by 'version' and 'ihl' in <linux/ip.h>.
Signed-off-by: Luis Henriques <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions