diff options
Diffstat (limited to 'network_cmds/netstat.tproj/ipsec.c')
-rw-r--r-- | network_cmds/netstat.tproj/ipsec.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/network_cmds/netstat.tproj/ipsec.c b/network_cmds/netstat.tproj/ipsec.c index 0eab162..393f053 100644 --- a/network_cmds/netstat.tproj/ipsec.c +++ b/network_cmds/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@ * @@ -160,6 +160,12 @@ static struct val2str ipsec_espnames[] = { #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 }, }; |