summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpd/kroute.c
AgeCommit message (Expand)Author
2019-01-22PF_ROUTE -> AF_ROUTE in the scattered sock()/setsockopt() callsKenneth R Westerback
2018-12-07Be more strict in converting a netmask into a prefixlen. Make sureClaudio Jeker
2018-10-10RT_TABLEID_MAX is 255, fix places that assumed that it is less than 255.Reyk Floeter
2017-07-24Unify ROUNDUP macros for parsing route messages.friehm
2016-10-28Use snmpd_env as the only global variable for env to simplify the daemonRafael Zalamena
2016-09-03Fix pasto; zero ka->dstbrd instead of clobbering ka->mask.Jeremie Courreges-Anglas
2015-11-03When updating an interface, do not delete the kif_node but letGerhard Roth
2015-07-18Better track connected routes similar to bgpd/ospfd.Claudio Jeker
2015-01-16first batch of cleanup to programs based upon the namespace cleanupsTheo de Raadt
2014-10-16use reallocarray(). Looked at a few times by doug, I am sure.Theo de Raadt
2014-06-23The second level of the CTL_NET sysctl is a PF_*, not an AF_*Philip Guenther
2014-05-16improve logging messages and style; requested by and ok reykMike Belopuhov
2014-05-14Sync ktable code with bgpd to fetch, store and perform lookups inMike Belopuhov
2014-04-28Add support for exporting ARP table via ipNetToMediaTable OID.Mike Belopuhov
2013-10-30another simple %i to %d conversion for obviousnessTheo de Raadt
2012-11-13pasto in log messageFlorian Obser
2012-09-18sync mask2prefixlen6() with the nicer version from bgpd/kroute.c:Reyk Floeter
2012-09-18knfReyk Floeter
2012-09-17Update copyright and my email address in snmpd while I'm here.Reyk Floeter
2012-06-10kr_init() now returns void so don't try to return 0Jonathan Gray
2012-05-28Plug a couple more fd leaks. As part of the fix, make all the *initJoel Knight
2011-04-21Add a "filter-routes" option; when set, snmpd asks the kernel not toStuart Henderson
2011-03-07continguous -> contiguousHenning Brauer
2010-10-15typo in commentStuart Henderson
2010-06-11Implement IP-FORWARD-MIB, ipv4 only for now.Jonathan Gray
2010-04-27Dumb mistake done twice. First in ospfd then synced to snmpd. rtm_errnoClaudio Jeker
2010-04-01Track blackhole and reject flags since the MIB knows about them.Claudio Jeker
2010-04-01After syncing kroute with bgpd sync now against ospfd's so that this codeClaudio Jeker
2010-03-31Track interface addresses in a AF independent way. This is needed to supportClaudio Jeker
2010-03-29Sync kroute.c code with bgpd so that snmpd is able to track INET6 addrs asClaudio Jeker
2009-06-25Another kroute.c needing RTM_VERSION checks. Looked over by sthen@ and henning@Claudio Jeker
2009-06-05rtm->rtm_hdrlen conversionChris Cappuccio
2008-01-16bump copyrightReyk Floeter
2007-12-29add the IP-MIB ipAddrTable. it requires to encode the ipv4 addressesReyk Floeter
2007-12-28split code handling the "structure of management information" and theReyk Floeter
2007-12-28spacingReyk Floeter
2007-12-06correct bizzare function definitionTheo de Raadt
2007-12-05Start working on snmpd(8) and snmpctl(8), a lightweight SNMP implementationReyk Floeter