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:
parent
1e85beac1b
commit
4376c7aa08
|
@ -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)
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue