freebsd-skq/sbin/routed
pkelsey f3f1c24017 Fix userland tools that don't check the format of routing socket
messages before accessing message fields that may not be present,
removing dead/duplicate/misleading code along the way.

Document the message format for each routing socket message in
route.h.

Fix a bug in usr.bin/netstat introduced in r287351 that resulted in
pointer computation with essentially random 16-bit offsets and
dereferencing of the results.

Reviewed by:	ae
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D10330
2017-04-16 19:17:10 +00:00
..
rtquery
defs.h
if.c
input.c
main.c
Makefile
Makefile.depend
Makefile.inc
output.c
parms.c
pathnames.h
radix.c
radix.h
rdisc.c
routed.8
table.c
trace.c