From 503819da0a0eee7b9fcba4d646d87c5d1bf6edc6 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Fri, 14 Nov 2014 17:18:50 -0500 Subject: [PATCH] README.md: add IPv4 header complex structure notes --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index e7a6308..0153e36 100644 --- a/README.md +++ b/README.md @@ -665,6 +665,11 @@ struct ipv4_header { } ``` +Although this complex structure has more than ten independant fields, +the generated C function would only call a 20-byte `memcpy()`, making +it fast to record. Bits will be unpacked properly and values displayed +in a human-readable form by the CTF reader thanks to the CTF metadata. + #### type aliases -- 2.34.1