]> The Tcpdump Group git mirrors - tcpdump/commit
Further cleanups.
authorGuy Harris <[email protected]>
Wed, 12 Nov 2014 03:05:48 +0000 (19:05 -0800)
committerGuy Harris <[email protected]>
Wed, 19 Nov 2014 08:45:50 +0000 (00:45 -0800)
commita90e99737eceb0041b83d95895b6d46eea41124f
treead9a25dee66611c5d50fd50e214e55fb2d8202f7
parentda7dc819899455eb7914c63cd28da06d3eeff9c7
Further cleanups.

Use ND_TCHECK() rather than home-brew bounds checks.  Do simpler length
checks.

Let i be the length of the actual remaining packet data; use ND_TCHECK()
inside loops that iterate over the remaining data.

Let the printers for particular message types cast the raw data pointer
to a pointer of the appropriate type, rather than passing two pointers,
with different types, to the same data.
print-aodv.c