X-Git-Url: https://git.saurik.com/apple/network_cmds.git/blobdiff_plain/a3cc5c72831f0e0465ddce1886b29357f9257121..refs/heads/master:/netstat.tproj/ipsec.c?ds=sidebyside diff --git a/netstat.tproj/ipsec.c b/netstat.tproj/ipsec.c index 0eab162..393f053 100644 --- a/netstat.tproj/ipsec.c +++ b/netstat.tproj/ipsec.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008-2012 Apple Inc. All rights reserved. + * Copyright (c) 2008-2012, 2021 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * @@ -159,6 +159,12 @@ static struct val2str ipsec_espnames[] = { { SADB_X_EALG_BLOWFISHCBC, "blowfish-cbc", }, #ifdef SADB_X_EALG_RIJNDAELCBC { SADB_X_EALG_RIJNDAELCBC, "rijndael-cbc", }, +#endif +#ifdef SADB_X_EALG_AES_GCM + { SADB_X_EALG_AES_GCM, "aes-gcm", }, +#endif +#ifdef SADB_X_EALG_CHACHA20POLY1305 + { SADB_X_EALG_CHACHA20POLY1305, "chacha20-poly1305", }, #endif { -1, NULL }, };