ICMP parameters for kFreeBSD

Reviewed-by: Craig Small <csmall@debian.org>
Last-Update: 2019-02-07

Gbp-Pq: Name 27_kfreebsd.patch
This commit is contained in:
Net-SNMP Packaging Team 2022-06-27 15:01:26 +08:00 committed by Lu zhiping
parent 1e85beac1b
commit 4376c7aa08
2 changed files with 7 additions and 0 deletions

View File

@ -16,6 +16,7 @@ config_arch_require(freebsd9, mibII/kernel_sysctl)
config_arch_require(freebsd10, mibII/kernel_sysctl)
config_arch_require(freebsd11, mibII/kernel_sysctl)
config_arch_require(freebsd12, mibII/kernel_sysctl)
config_arch_require(kfreebsd, mibII/kernel_sysctl)
config_arch_require(netbsd, mibII/kernel_netbsd)
config_arch_require(netbsdelf, mibII/kernel_netbsd)
config_arch_require(openbsd4, mibII/kernel_sysctl)

View File

@ -14,6 +14,12 @@
#include <netinet/icmp_var.h>
#include <netinet/icmp6.h>
#if defined(__FreeBSD_kernel__) && defined(__GLIBC__)
/* definitions unavailable in GNU libc's icmp6.h */
#define ICMP6_MAXTYPE 201
#define ICMPV6CTL_STATS 1
#endif
#include <net-snmp/net-snmp-config.h>
#include <net-snmp/net-snmp-includes.h>
#include <net-snmp/agent/net-snmp-agent-includes.h>