]> The Tcpdump Group git mirrors - tcpdump/commit
mobile: Modernize packet parsing
authorFrancois-Xavier Le Bail <[email protected]>
Fri, 12 May 2023 16:29:25 +0000 (18:29 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Fri, 12 May 2023 16:34:04 +0000 (18:34 +0200)
commit57f12d165788e4bc436757102eb83113091ab4be
tree86b821a5d8e031aaa847b14418b2c213d33c9de3
parenta5dc11f9cc4e36dca9aa4f053c8fda4c45fee427
mobile: Modernize packet parsing

Use ND_TCHECK_SIZE() and enable ND_LONGJMP_FROM_TCHECK.
Use ND_ICHECK_U() for length check and add standard "invalid" section.
Use nd_print_protocol().
print-mobile.c