summaryrefslogtreecommitdiff
path: root/src/user/app/ethdump/proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/app/ethdump/proto.h')
-rw-r--r--src/user/app/ethdump/proto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/user/app/ethdump/proto.h b/src/user/app/ethdump/proto.h
index 9bd6936..af73470 100644
--- a/src/user/app/ethdump/proto.h
+++ b/src/user/app/ethdump/proto.h
@@ -26,8 +26,9 @@ struct ethernet {
struct ipv4 {
struct ethernet e;
uint32_t src, dst;
+ uint16_t id, fraginfo;
uint8_t proto;
- uint8_t *header; size_t hlen;
+ const uint8_t *header; size_t hlen;
};
struct icmp {