Patrick Kelsey 2f8c6c0a58 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
..
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-03-08 23:58:10 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-04-05 18:31:26 +00:00
2017-04-03 03:07:48 +00:00
2016-04-19 04:52:13 +00:00
2017-03-10 19:13:38 +00:00
2017-03-02 14:50:01 +00:00
2017-02-28 23:42:47 +00:00
2017-04-07 15:39:41 +00:00
2016-10-05 20:42:35 +00:00
2017-02-28 23:42:47 +00:00
2016-10-05 20:45:21 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2016-10-03 00:40:20 +00:00
2017-02-28 23:42:47 +00:00
2015-06-13 19:20:56 +00:00
2017-03-14 12:39:19 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00