Wordsmithing of bsnmpd.1PR: docs/149157Submitted by: Warren Block <wblock@wonkity.com>MFC after: 1 week
Fix a typo introduced in r210936 which broke build.
Ethernet vlan(4) interfaces have valid Ethernet link layer addresses butuse a different interface type (IFT_L2VLAN vs IFT_ETHER). Treat IFT_L2VLANinterfaces like IFT_ETHER interfaces when handling
Ethernet vlan(4) interfaces have valid Ethernet link layer addresses butuse a different interface type (IFT_L2VLAN vs IFT_ETHER). Treat IFT_L2VLANinterfaces like IFT_ETHER interfaces when handling link layer addresses.Reviewed by: syrinx (bsnmpd)MFC after: 1 week
show more ...
mdoc: consistently spell our email addresses <foo@FreeBSD.org>Reviewed by: ruApproved by: harti
(S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument.Fix some wrong usages.Note: this does not affect generated binaries as this argument is not used.Approved by: harti@
Fix typo in macro name and macro usage.Found by: make manlintReviewed by: ruApproved by: harti, philip (mentor)
Fix a problem with high CPU consumption (up to 30%) by bsnmpd on a loaded system.Instead of constantly calling the mibII_idle function when the server is not busycall the function only once every 1
Fix a problem with high CPU consumption (up to 30%) by bsnmpd on a loaded system.Instead of constantly calling the mibII_idle function when the server is not busycall the function only once every 10 seconds to avoid bsnmpd constantly doinggettimeofday syscalls. Make the idle polling interval confugurable viabegemotIfDataPoll.Reported and tested by: misho (at) aitbg (dot) comOked by: hartiMFC after: 1 week
Add an extra (void *) cast. The struct if_msghdr has an 8 bytealignment requirement, while rt_msghdr has a 4 byte alignmentrequirement. The root cause is that if_msghdr has an struct if_datawhic
Add an extra (void *) cast. The struct if_msghdr has an 8 bytealignment requirement, while rt_msghdr has a 4 byte alignmentrequirement. The root cause is that if_msghdr has an struct if_datawhich has an 8-byte alignment requirement due to a time_t that'sembedded in it. On MIPS, time_t is a 64-bit number, so must be 64-bitaligned.Since we don't access ifm_data.ifi_epoch, a simple cast is all that'snecessary here. It is likely the case that ifi_epoch should *NOT* bea time_t because it is an uptime (time delta) an not an absolute timesince 1970. u_long is likely sufficient there since that gives anuptime of 136 years will suffice for the foreseeable future.
This main goals of this project are:1. separating L2 tables (ARP, NDP) from the L3 routing tables2. removing as much locking dependencies among these layers as possible to allow for some paralle
This main goals of this project are:1. separating L2 tables (ARP, NDP) from the L3 routing tables2. removing as much locking dependencies among these layers as possible to allow for some parallelism in the search operations3. simplify the logic in the routing code,The most notable end result is the obsolescent of the routecloning (RTF_CLONING) concept, which translated into code reductionin both IPv4 ARP and IPv6 NDP related modules, and size reduction instruct rtentry{}. The change in design obsoletes the semantics ofRTF_CLONING, RTF_WASCLONE and RTF_LLINFO routing flags. The userlandapplications such as "arp" and "ndp" have been modified to reflectthose changes. The output from "netstat -r" shows only the routingentries.Quite a few developers have contributed to this project in thepast: Glebius Smirnoff, Luigi Rizzo, Alessandro Cerri, andAndre 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
This commit was generated by cvs2svn to compensate for changes in r176892,which included commits to RCS files with non-trunk default branches.
Vendor patch: Prevent bsnmpd from dumping core when a module's init hookreturns an error.Approved by: bz (mentor), harti
Vendor patch: synthesize the initial value for sysObjectId from the valueof uname -r in FreeBSD. This value can be overwritten in the configurationfile.Suggested by: phk
This commit was generated by cvs2svn to compensate for changes in r163820,which included commits to RCS files with non-trunk default branches.
Vendor patch: improve readability by using the IF_Mbps macro.Submitted by: glebius
This commit was generated by cvs2svn to compensate for changes in r163799,which included commits to RCS files with non-trunk default branches.
Vendor patch: add support for the BITS construct and enumerations in bothgensnmpdef and gensnmptree. Add include and typedef directives to gensnmptree.Submitted by: soc-sheryana (partly)
This commit was generated by cvs2svn to compensate for changes in r159063,which included commits to RCS files with non-trunk default branches.
Don't import tree.h from the distribution - we have our own one in sys.
Virgin import of bsnmpd 1.12
This commit was generated by cvs2svn to compensate for changes in r156066,which included commits to RCS files with non-trunk default branches.
Vendor fix: make mibII HC counters really 64-bit on 32-bit platforms by pollingthe kernel periodically.Submitted by: glebius (partly)
This commit was generated by cvs2svn to compensate for changes in r155602,which included commits to RCS files with non-trunk default branches.
Vendor patch: Make the link traps more RFC-conform.Submitted by: glebius
This commit was generated by cvs2svn to compensate for changes in r155506,which included commits to RCS files with non-trunk default branches.
Vendor patch: string_get_max() function to return strings with a maximumSNMP string length.
123456789