diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-11-21 12:33:41 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-11-21 12:33:55 -0800 |
commit | fe1c2f0d7fb9221936b0d54a670b9f2eea2b72c4 (patch) | |
tree | ace18c75835593017d1ffe7eed92a59c04c30c8b /print-vtp.c | |
parent | a7a76012a129ffefb64f102948db63fbc715e45e (diff) | |
download | tcpdump-fe1c2f0d7fb9221936b0d54a670b9f2eea2b72c4.tar.gz |
Clean up RX dissector.
Use uintN_t and intN_t types rather than u_short and u_int.
Use uint32_t rather than unsigned long, as that's what's intended.
Most fields in RX are unsigned, according to the OpenAFS source; make it
so. Use EXTRACT_BE_INT32() to extract the one field that isn't.
The length and port numbers passed in from the UDP dissector are
unsigned; make the arguments unsigned.
Use ND_TTEST2 rather than a hand-rolled test.
Use ND_TCHECK_nBITS() rather than ND_TCHECK2() in some cases.
Diffstat (limited to 'print-vtp.c')
0 files changed, 0 insertions, 0 deletions