From c1133dc8c7a62dc36e2592e112f34f410dfe84f2 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 21 Aug 2022 13:44:04 +0200 Subject: user/ethdump: IPv4 fragment reassembly --- src/user/app/ethdump/proto.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/user/app/ethdump/proto.h') 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 { -- cgit v1.2.3