summaryrefslogtreecommitdiff
path: root/src/user/app/ethdump/proto.h
diff options
context:
space:
mode:
authordzwdz2022-08-21 13:44:04 +0200
committerdzwdz2022-08-21 13:44:04 +0200
commitc1133dc8c7a62dc36e2592e112f34f410dfe84f2 (patch)
tree94cf15d249c83f2f2eddac77ae2eea942eeb7d00 /src/user/app/ethdump/proto.h
parent7519e57749e176be60b7185d7bbdc298b1744c3c (diff)
user/ethdump: IPv4 fragment reassembly
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 {