--- agent/mibgroup/ip-mib/data_access/scalars_sysctl.c.orig 2023-08-15 20:32:01 UTC +++ agent/mibgroup/ip-mib/data_access/scalars_sysctl.c @@ -9,6 +9,7 @@ #include #include +#include #include #include #include @@ -16,6 +17,12 @@ #include #include #include + +#if defined(__FreeBSD_version) && __FreeBSD_version > 1400066 +#define IPFRAGTTL 60 /* time to live for frags, slowhz */ +#define PR_SLOWHZ 2 /* 2 slow timeouts per second */ +#define PR_FASTHZ 5 /* 5 fast timeouts per second */ +#endif /* XXX: the values passed to netsnmp_arch_ip_scalars(..) may or may not be * portable to the other BSDs -- it seems to be portable back to FreeBSD 4.x