inet6: Remove CTL_IPV6PROTO_NAMES
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 9 Aug 2015 12:15:45 +0000 (20:15 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 9 Aug 2015 14:41:00 +0000 (22:41 +0800)
Obtained-from: FreeBSD

sys/netinet6/in6.h

index 055d960..3c78565 100644 (file)
@@ -540,53 +540,6 @@ struct ip6_mtuinfo {
  */
 #define IPV6PROTO_MAXID        (IPPROTO_PIM + 1)       /* don't list to IPV6PROTO_MAX */
 
-#define CTL_IPV6PROTO_NAMES {                                  \
-       { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 },       \
-       { 0, 0 },                                               \
-       { "tcp6", CTLTYPE_NODE },                               \
-       { 0, 0 },                                               \
-       { 0, 0 },                                               \
-       { 0, 0 },                                               \
-       { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 },       \
-       { 0, 0 },                                               \
-       { 0, 0 },                                               \
-       { "udp6", CTLTYPE_NODE },                               \
-       { 0, 0 },                                               \
-       { 0, 0 },                                               \
-       { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 },       \
-       { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 },       \
-       { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 },       \
-       { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 },       \
-       { 0, 0 },                                               \
-       { "ip6", CTLTYPE_NODE },                                \
-       { 0, 0 },                                               \
-       { 0, 0 },                                               \
-       { 0, 0 },                                               \
-       { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 },       \
-       { 0, 0 },                                               \
-       { "ipsec6", CTLTYPE_NODE },                             \
-       { 0, 0 },                                               \
-       { 0, 0 },                                               \
-       { 0, 0 },                                               \
-       { 0, 0 },                                               \
-       { 0, 0 },                                               \
-       { 0, 0 },                                               \
-       { "icmp6", CTLTYPE_NODE },                              \
-       { 0, 0 },                                               \
-       { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 },       \
-       { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 },       \
-       { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 },       \
-       { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 },       \
-       { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 },       \
-       { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 },       \
-       { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 },       \
-       { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 },       \
-       { 0, 0 },                                               \
-       { 0, 0 },                                               \
-       { 0, 0 },                                               \
-       { "pim6", CTLTYPE_NODE },                               \
-}
-
 /*
  * Names for IP sysctl objects
  */