freebsd-dev/contrib/bsnmp/snmp_mibII
Warner Losh 26ea346865 Add an extra (void *) cast. The struct if_msghdr has an 8 byte
alignment requirement, while rt_msghdr has a 4 byte alignment
requirement.  The root cause is that if_msghdr has an struct if_data
which has an 8-byte alignment requirement due to a time_t that's
embedded in it.  On MIPS, time_t is a 64-bit number, so must be 64-bit
aligned.

Since we don't access ifm_data.ifi_epoch, a simple cast is all that's
necessary here.  It is likely the case that ifi_epoch should *NOT* be
a time_t because it is an uptime (time delta) an not an absolute time
since 1970.  u_long is likely sufficient there since that gives an
uptime of 136 years will suffice for the foreseeable future.
2009-02-18 19:59:27 +00:00
..
BEGEMOT-IP-MIB.txt Virgin import of bsnmpd 1.12 2006-02-27 16:16:18 +00:00
BEGEMOT-MIB2-MIB.txt Virgin import of bsnmpd 1.12 2006-02-27 16:16:18 +00:00
mibII_begemot.c Virgin import of bsnmpd 1.12 2006-02-27 16:16:18 +00:00
mibII_ifmib.c Virgin import of bsnmpd 1.7 2004-08-06 13:38:30 +00:00
mibII_ifstack.c Virgin import of bsnmpd 1.7 2004-08-06 13:38:30 +00:00
mibII_interfaces.c Virgin import of bsnmpd 1.12 2006-02-27 16:16:18 +00:00
mibII_ip.c Virgin import of bsnmpd 1.10 2005-05-23 11:19:11 +00:00
mibII_ipaddr.c Virgin import of bsnmpd 1.11 2005-10-04 14:41:06 +00:00
mibII_nettomedia.c Virgin import of bsnmpd 1.7 2004-08-06 13:38:30 +00:00
mibII_rcvaddr.c Virgin import of bsnmpd 1.7 2004-08-06 13:38:30 +00:00
mibII_route.c This main goals of this project are: 2008-12-15 06:10:57 +00:00
mibII_tcp.c Virgin import of bsnmpd 1.10 2005-05-23 11:19:11 +00:00
mibII_tree.def Virgin import of bsnmpd 1.12 2006-02-27 16:16:18 +00:00
mibII_udp.c Virgin import of bsnmpd 1.10 2005-05-23 11:19:11 +00:00
mibII.c Add an extra (void *) cast. The struct if_msghdr has an 8 byte 2009-02-18 19:59:27 +00:00
mibII.h Virgin import of bsnmpd 1.12 2006-02-27 16:16:18 +00:00
snmp_mibII.3 Virgin import of bsnmpd 1.11 2005-10-04 14:41:06 +00:00
snmp_mibII.h Virgin import of bsnmpd 1.12 2006-02-27 16:16:18 +00:00