]> The Tcpdump Group git mirrors - tcpdump/commit
Move some code around.
authorGuy Harris <[email protected]>
Thu, 4 Aug 2016 20:19:57 +0000 (13:19 -0700)
committerGuy Harris <[email protected]>
Thu, 4 Aug 2016 20:19:57 +0000 (13:19 -0700)
commit91e08f888d86fc7bc83732ee216c4ea609691d1c
treeea6b6899a341129eb2ae7e19ef88e68bcbbe4b24
parentd04b4e4b88904407b889cbf9207e1e85deff80fb
Move some code around.

Move stuff to initialize and clean up libraries that are used by
netdissect code into nd_init() and nd_cleanup() routines in
libnetdissect; this includes Winsock (which is used on Windows by, for
example, the code to get names for IP addresses) and libsmi.

Call nd_init() when tcpdump starts up, and call nd_cleanup() when it
exits.

Move util.c routines to tcpdump.c, and make them static.

Use ndo->ndo_error to report a failure to open a file in print-esp.c.
Makefile.in
interface.h
netdissect.h
print-esp.c
print.c
tcpdump.c