summaryrefslogtreecommitdiffstats
path: root/sys/netipsec/ipsec.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2013-08-26 18:16:05 +0000
committerjhb <jhb@FreeBSD.org>2013-08-26 18:16:05 +0000
commita437be72574480c1aedb04a776cc369e323fba4a (patch)
tree68b45bffbfe1373db4468cd797da2aac8d561353 /sys/netipsec/ipsec.h
parent66bd119888d232b2e3772b0d878b29513cf4c63e (diff)
downloadFreeBSD-src-a437be72574480c1aedb04a776cc369e323fba4a.zip
FreeBSD-src-a437be72574480c1aedb04a776cc369e323fba4a.tar.gz
Remove most of the remaining sysctl name list macros. They were only
ever intended for use in sysctl(8) and it has not used them for many years. Reviewed by: bde Tested by: exp-run by bdrewery
Diffstat (limited to 'sys/netipsec/ipsec.h')
-rw-r--r--sys/netipsec/ipsec.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/sys/netipsec/ipsec.h b/sys/netipsec/ipsec.h
index 0b92876..240083a 100644
--- a/sys/netipsec/ipsec.h
+++ b/sys/netipsec/ipsec.h
@@ -264,40 +264,6 @@ struct ipsecstat {
#define IPSECCTL_ESP_RANDPAD 13
#define IPSECCTL_MAXID 14
-#define IPSECCTL_NAMES { \
- { 0, 0 }, \
- { 0, 0 }, \
- { "def_policy", CTLTYPE_INT }, \
- { "esp_trans_deflev", CTLTYPE_INT }, \
- { "esp_net_deflev", CTLTYPE_INT }, \
- { "ah_trans_deflev", CTLTYPE_INT }, \
- { "ah_net_deflev", CTLTYPE_INT }, \
- { 0, 0 }, \
- { "ah_cleartos", CTLTYPE_INT }, \
- { "ah_offsetmask", CTLTYPE_INT }, \
- { "dfbit", CTLTYPE_INT }, \
- { "ecn", CTLTYPE_INT }, \
- { "debug", CTLTYPE_INT }, \
- { "esp_randpad", CTLTYPE_INT }, \
-}
-
-#define IPSEC6CTL_NAMES { \
- { 0, 0 }, \
- { 0, 0 }, \
- { "def_policy", CTLTYPE_INT }, \
- { "esp_trans_deflev", CTLTYPE_INT }, \
- { "esp_net_deflev", CTLTYPE_INT }, \
- { "ah_trans_deflev", CTLTYPE_INT }, \
- { "ah_net_deflev", CTLTYPE_INT }, \
- { 0, 0 }, \
- { 0, 0 }, \
- { 0, 0 }, \
- { 0, 0 }, \
- { "ecn", CTLTYPE_INT }, \
- { "debug", CTLTYPE_INT }, \
- { "esp_randpad", CTLTYPE_INT }, \
-}
-
#ifdef _KERNEL
#include <sys/counter.h>
OpenPOWER on IntegriCloud