summaryrefslogtreecommitdiff
path: root/print-lisp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-10-07 00:14:20 -0700
committerGuy Harris <guy@alum.mit.edu>2015-10-07 00:14:20 -0700
commitbfe9582ec625704c427b441dfa3a57d7a99604b8 (patch)
tree8eeb76ef1e57f5f8b8d645388a8c85cef1cf0b12 /print-lisp.c
parent6f1c171a6aac53ad3db8f6f8b74a98a6a76580a1 (diff)
downloadtcpdump-bfe9582ec625704c427b441dfa3a57d7a99604b8.tar.gz
Use the nd_uintN_t types more.
Define them in netdissect.h. Use them in ip.h, and *don't* mark the structures as UNALIGNED; that should no longer be necessary. Add a new nd_ipv4 type to use as an IPv4 address; it represents the 4 bytes of IPv4 address as an array of unsigned chars, so that its natural alignment is only on a byte boundary. Those changes found some places where we weren't using UNALIGNED_MEMCPY() to extract IPv4 addresses from packets; use it.
Diffstat (limited to 'print-lisp.c')
0 files changed, 0 insertions, 0 deletions