summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <luiz@netgate.com>2015-09-15 16:06:07 -0500
committerLuiz Otavio O Souza <luiz@netgate.com>2015-10-20 12:05:21 -0500
commitc96ae7addda2a4dfd00f483eae980e91c8731da9 (patch)
tree0289eef464704570c5f11102fe19bad3d4f5afea /usr.bin/netstat
parent403a3f33c237726c495f6776033f4f5d21325f81 (diff)
downloadFreeBSD-src-c96ae7addda2a4dfd00f483eae980e91c8731da9.zip
FreeBSD-src-c96ae7addda2a4dfd00f483eae980e91c8731da9.tar.gz
MFC r285108:
New AES modes for IPSec, user space components. Update setkey and libipsec to understand aes-gcm-16 as an encryption method. A partial commit of the work in review D2936. Submitted by: eri Reviewed by: jmg MFC after: 2 weeks Sponsored by: Rubicon Communications (Netgate) TAG: IPSEC-HEAD Issue: #4841
Diffstat (limited to 'usr.bin/netstat')
-rw-r--r--usr.bin/netstat/ipsec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/netstat/ipsec.c b/usr.bin/netstat/ipsec.c
index b4014ad..af1b234 100644
--- a/usr.bin/netstat/ipsec.c
+++ b/usr.bin/netstat/ipsec.c
@@ -155,6 +155,9 @@ static struct val2str ipsec_espnames[] = {
#ifdef SADB_X_EALG_AESCTR
{ SADB_X_EALG_AESCTR, "aes-ctr", },
#endif
+#ifdef SADB_X_EALG_AESGCM16
+ { SADB_X_EALG_AESGCM16, "aes-gcm-16", },
+#endif
{ -1, NULL },
};
OpenPOWER on IntegriCloud