]> The Tcpdump Group git mirrors - tcpdump/commit
Make nd_uint8_t and nd_int8_t arrays, to catch direct references.
authorGuy Harris <[email protected]>
Mon, 11 Dec 2017 00:23:34 +0000 (16:23 -0800)
committerGuy Harris <[email protected]>
Mon, 11 Dec 2017 00:23:34 +0000 (16:23 -0800)
commit3f3f2505f2a02fcc471f7baba884959ccb2233c9
tree7d3eaab1e2ead51f2b0ead6b42ee0e6e3c031ee8
parentfa2faabe6139e9d4b2596b3989318d965075a197
Make nd_uint8_t and nd_int8_t arrays, to catch direct references.

This catches direct references, so we can change them to use EXTRACT_U_1
or EXTRACT_S_1.

Also, change some structures to use the nd_ types that weren't already
using them.

Then make the appropriate EXTRACT_{U,S}_1() changes.
20 files changed:
ip.h
ipproto.c
ipproto.h
netdissect.h
print-dhcp6.c
print-forces.c
print-icmp.c
print-icmp6.c
print-igmp.c
print-ip.c
print-lisp.c
print-ntp.c
print-pgm.c
print-ppp.c
print-rt6.c
print-rx.c
print-sl.c
print-slow.c
print-tcp.c
print-udp.c