imp
ad4207874a
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
qingli
ec826ad5c7
This main goals of this project are:
...
1. separating L2 tables (ARP, NDP) from the L3 routing tables
2. removing as much locking dependencies among these layers as
possible to allow for some parallelism in the search operations
3. simplify the logic in the routing code,
The most notable end result is the obsolescent of the route
cloning (RTF_CLONING) concept, which translated into code reduction
in both IPv4 ARP and IPv6 NDP related modules, and size reduction in
struct rtentry{}. The change in design obsoletes the semantics of
RTF_CLONING, RTF_WASCLONE and RTF_LLINFO routing flags. The userland
applications such as "arp" and "ndp" have been modified to reflect
those changes. The output from "netstat -r" shows only the routing
entries.
Quite a few developers have contributed to this project in the
past: Glebius Smirnoff, Luigi Rizzo, Alessandro Cerri, and
Andre Oppermann. And most recently:
- Kip Macy revised the locking code completely, thus completing
the last piece of the puzzle, Kip has also been conducting
active functional testing
- Sam Leffler has helped me improving/refactoring the code, and
provided valuable reviews
- Julian Elischer setup the perforce tree for me and has helped
me maintaining that branch before the svn conversion
2008-12-15 06:10:57 +00:00
syrinx
2dc85bfeba
This commit was generated by cvs2svn to compensate for changes in r176892,
...
which included commits to RCS files with non-trunk default branches.
2008-03-07 09:33:29 +00:00
syrinx
1f644f50df
Vendor patch: Prevent bsnmpd from dumping core when a module's init hook
...
returns an error.
Approved by: bz (mentor), harti
2008-03-07 09:33:29 +00:00
harti
fa063e4787
Vendor patch: synthesize the initial value for sysObjectId from the value
...
of uname -r in FreeBSD. This value can be overwritten in the configuration
file.
Suggested by: phk
2006-10-31 09:00:35 +00:00
harti
3d94b0ab35
This commit was generated by cvs2svn to compensate for changes in r163820,
...
which included commits to RCS files with non-trunk default branches.
2006-10-31 09:00:35 +00:00
harti
e52b461598
Vendor patch: improve readability by using the IF_Mbps macro.
...
Submitted by: glebius
2006-10-30 16:56:38 +00:00
harti
32ea778f93
This commit was generated by cvs2svn to compensate for changes in r163799,
...
which included commits to RCS files with non-trunk default branches.
2006-10-30 16:56:38 +00:00
harti
f467eea07a
Vendor patch: add support for the BITS construct and enumerations in both
...
gensnmpdef and gensnmptree. Add include and typedef directives to gensnmptree.
Submitted by: soc-sheryana (partly)
2006-05-30 07:46:52 +00:00
harti
934871b0b1
This commit was generated by cvs2svn to compensate for changes in r159063,
...
which included commits to RCS files with non-trunk default branches.
2006-05-30 07:46:52 +00:00
harti
c798bc7cd6
Don't import tree.h from the distribution - we have our own one in sys.
2006-03-13 09:30:26 +00:00
harti
9b4fc3d8f1
Virgin import of bsnmpd 1.12
2006-02-27 16:16:18 +00:00
harti
247524ddce
This commit was generated by cvs2svn to compensate for changes in r156066,
...
which included commits to RCS files with non-trunk default branches.
2006-02-27 16:16:18 +00:00
harti
a923e07ab3
Vendor fix: make mibII HC counters really 64-bit on 32-bit platforms by polling
...
the kernel periodically.
Submitted by: glebius (partly)
2006-02-13 14:11:18 +00:00
harti
2515c2ee04
This commit was generated by cvs2svn to compensate for changes in r155602,
...
which included commits to RCS files with non-trunk default branches.
2006-02-13 14:11:18 +00:00
harti
af0ed09791
Vendor patch: Make the link traps more RFC-conform.
...
Submitted by: glebius
2006-02-10 16:49:49 +00:00
harti
6f93f5275e
This commit was generated by cvs2svn to compensate for changes in r155506,
...
which included commits to RCS files with non-trunk default branches.
2006-02-10 16:49:49 +00:00
harti
d548c36029
Vendor patch: string_get_max() function to return strings with a maximum
...
SNMP string length.
2006-02-07 15:48:37 +00:00
harti
d480a7b5a1
This commit was generated by cvs2svn to compensate for changes in r155429,
...
which included commits to RCS files with non-trunk default branches.
2006-02-07 15:48:37 +00:00
harti
8981065828
Vendor patch: prevent a core dump when the trace option is not followed
...
by an option value.
Submitted by: Shteryana Shopova <shteryana@yahoo.com>
2006-01-31 14:59:07 +00:00
harti
6736c7fe94
This commit was generated by cvs2svn to compensate for changes in r155094,
...
which included commits to RCS files with non-trunk default branches.
2006-01-31 14:59:07 +00:00
harti
574aae598d
Vendor fix: the routing table can change while we are fetching it from
...
the kernel. Instead of complaining if we get an ENOMEM (meaning it got
larger than our buffer is) reallocate the buffer and loop.
Submitted by: maxim
2006-01-10 11:59:31 +00:00
harti
3b616a90c3
This commit was generated by cvs2svn to compensate for changes in r154184,
...
which included commits to RCS files with non-trunk default branches.
2006-01-10 11:59:31 +00:00
harti
3a835f07a4
Vendor fix: initialize the flag field of a newly created node to be 0.
...
Submitted by: jasone
2006-01-10 11:52:51 +00:00
harti
77f3bb4786
This commit was generated by cvs2svn to compensate for changes in r154182,
...
which included commits to RCS files with non-trunk default branches.
2006-01-10 11:52:51 +00:00
harti
d4f5668004
Vendor fix: make the default read and write communities NULL. This
...
basically disables any access unless other strings are set in the config
file. Note, that there is no way to set the communities back to NULL once
they're set to something not NULL.
2006-01-10 11:49:26 +00:00
harti
d4b0f97afa
This commit was generated by cvs2svn to compensate for changes in r154180,
...
which included commits to RCS files with non-trunk default branches.
2006-01-10 11:49:26 +00:00
harti
2842bec986
Vendor patch: fix a bug when parsing the include path.
2006-01-10 11:47:56 +00:00
harti
55c3d04c8a
This commit was generated by cvs2svn to compensate for changes in r154178,
...
which included commits to RCS files with non-trunk default branches.
2006-01-10 11:47:56 +00:00
harti
ac5d1bb3ea
Vendor patch: fix the reporting of ifOperStatus. We now consider an
...
interface up when it is running AND the link is not down (that is, it is
up or unknown). If the interface is running but the link is down, we return
state 'dormant', because we're waiting for an external event. Otherwise
the interface is 'down'.
Submitted by: csjp
Reviewed by: glebius
2005-11-02 14:05:49 +00:00
harti
d71eb4d4b2
This commit was generated by cvs2svn to compensate for changes in r151970,
...
which included commits to RCS files with non-trunk default branches.
2005-11-02 14:05:49 +00:00
harti
1973a24241
Vendor fix for the build problem of snmp_pf. Move the fallback definitions
...
for U?INT32_{MAX,MIN} from asn1.h into the .c files that actually require
them (the .h file doesn't refer to these macros).
2005-10-05 15:19:56 +00:00
harti
ebda350f0a
This commit was generated by cvs2svn to compensate for changes in r150974,
...
which included commits to RCS files with non-trunk default branches.
2005-10-05 15:19:56 +00:00
harti
71fe27e3b4
Add snmp_ntp/Makefile.in to the exclude list.
2005-10-04 14:53:06 +00:00
harti
c45e21ccca
These files are not needed and were imported by accident in the
...
previous import.
2005-10-04 14:51:55 +00:00
harti
efb2dfa177
Virgin import of bsnmpd 1.11
2005-10-04 14:41:06 +00:00
harti
55a69cff02
This commit was generated by cvs2svn to compensate for changes in r150920,
...
which included commits to RCS files with non-trunk default branches.
2005-10-04 14:41:06 +00:00
harti
2b366eef52
Apply a vendor patch: silence gcc on arm (alignent when casting pointer).
...
Submitted by: Olivier Houchard <cognet@ci0.org>
2005-05-25 12:00:03 +00:00
harti
cf57287362
This commit was generated by cvs2svn to compensate for changes in r146609,
...
which included commits to RCS files with non-trunk default branches.
2005-05-25 12:00:03 +00:00
harti
a585c860e6
Virgin import of bsnmpd 1.10
2005-05-23 11:19:11 +00:00
harti
d137b5d262
This commit was generated by cvs2svn to compensate for changes in r146525,
...
which included commits to RCS files with non-trunk default branches.
2005-05-23 11:19:11 +00:00
harti
8bf5d359a2
Vendor patch: fix a bug that was introduced when moving from libisc to
...
libbegemot: the rpoll_start_timer function needs the timeout value in
milli-seconds, not the absolute time when the timer should tick.
2005-04-29 11:02:18 +00:00
harti
577bdeea78
This commit was generated by cvs2svn to compensate for changes in r145673,
...
which included commits to RCS files with non-trunk default branches.
2005-04-29 11:02:18 +00:00
harti
f3155bccfa
Virgin import of bsnmp 1.9
2005-04-26 16:43:22 +00:00
harti
67c06b6a3b
This commit was generated by cvs2svn to compensate for changes in r145557,
...
which included commits to RCS files with non-trunk default branches.
2005-04-26 16:43:22 +00:00
harti
e6fd7ea35d
Don't extract the .gdbinit file from the distribution.
2005-02-28 17:29:10 +00:00
harti
273b7adb85
Virgin import of bsnmpd 1.8
2005-02-28 17:27:11 +00:00
harti
d6f7f1ed96
This commit was generated by cvs2svn to compensate for changes in r142810,
...
which included commits to RCS files with non-trunk default branches.
2005-02-28 17:27:11 +00:00
harti
3a13f9df8e
Vendor patch: don't dump core when the config file cannot be opened.
...
Submitted by: Maxim Konovalov <maxim@macomnet.ru>
2004-08-12 19:17:29 +00:00
harti
77b71ef863
This commit was generated by cvs2svn to compensate for changes in r133594,
...
which included commits to RCS files with non-trunk default branches.
2004-08-12 19:17:29 +00:00