From: Philippe Proulx Date: Fri, 14 Nov 2014 22:18:50 +0000 (-0500) Subject: README.md: add IPv4 header complex structure notes X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=503819da0a0eee7b9fcba4d646d87c5d1bf6edc6;p=deliverable%2Fbarectf.git README.md: add IPv4 header complex structure notes --- 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