Andrey V. Elsukov 4e0e8f3107 Add large replay widow support to setkey(8) and libipsec.
When the replay window size is large than UINT8_MAX, add to the request
the SADB_X_EXT_SA_REPLAY extension header that was added in r309144.

Also add support of SADB_X_EXT_NAT_T_TYPE, SADB_X_EXT_NAT_T_SPORT,
SADB_X_EXT_NAT_T_DPORT, SADB_X_EXT_NAT_T_OAI, SADB_X_EXT_NAT_T_OAR,
SADB_X_EXT_SA_REPLAY, SADB_X_EXT_NEW_ADDRESS_SRC, SADB_X_EXT_NEW_ADDRESS_DST
extension headers to the key_debug that is used by `setkey -x`.

Modify kdebug_sockaddr() to use inet_ntop() for IP addresses formatting.
And modify kdebug_sadb_x_policy() to show policy scope and priority.

Reviewed by:	gnn, Emeric Poupon
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D10375
2017-04-13 14:44:17 +00:00
..
2017-03-28 10:39:17 +00:00
2017-02-28 23:42:47 +00:00
MFH
2016-04-04 23:55:32 +00:00
MFH
2016-03-02 16:14:46 +00:00
2017-01-30 23:00:51 +00:00
MFH
2016-03-02 16:14:46 +00:00
2016-11-11 23:28:07 +00:00
2017-02-28 23:42:47 +00:00
2016-11-20 06:10:12 +00:00
2017-03-11 00:08:11 +00:00
MFH
2016-03-02 16:14:46 +00:00
2017-04-07 06:06:55 +00:00
2017-02-27 00:10:00 +00:00
2017-03-19 00:51:12 +00:00
MFH
2016-04-13 16:19:50 +00:00
2017-02-14 13:35:59 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-01-28 23:51:03 +00:00