summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_mroute.c
AgeCommit message (Expand)Author
2017-05-16Sync three changes that were caught by IPv6 multicast routing review:Rafael Zalamena
2017-05-16Make return values more meaningful by using errno instead of -1 or 1.Rafael Zalamena
2017-05-16Replace remaining splsoftassert(IPL_SOFTNET) by NET_ASSERT_LOCKED().Martin Pieuchot
2017-05-16Let malloc() block when the caller of the add route function isRafael Zalamena
2017-05-16Call rtfree() after each use of routes and make sure the route is validRafael Zalamena
2017-04-06Convert bcopy to memcpy where the memory does not overlap, otherwise,David Hill
2017-03-17Be more strict on all route iterations, lets always make sure that weRafael Zalamena
2017-03-14Make mfc_find() more strict when looking for routes, fixes a problemRafael Zalamena
2017-02-09Unbreak 'netstat -g' and make multicast route stats sysctl more robust.Rafael Zalamena
2017-02-08Test for NULL before dereferencing a pointer not after.Jonathan Gray
2017-02-01In sogetopt, preallocate an mbuf to avoid using sleeping mallocs withDavid Hill
2017-01-12Clean up multicast files from unused definitions and comments.Rafael Zalamena
2017-01-11Remove mfc hash tables and use the OpenBSD routing table for multicastRafael Zalamena
2017-01-06Remove the global viftable vector that holds the virtual interfacesRafael Zalamena
2017-01-06Simplify code by removing some old pullup macro, killing some variablesRafael Zalamena
2017-01-06Kill various splsoftnet().Martin Pieuchot
2017-01-05Remove some unnecessary code abstractions and while here remove aRafael Zalamena
2016-12-22Remove PIM support from the multicast stack.Rafael Zalamena
2016-12-21Fix build without PIM defined.Martin Pieuchot
2016-12-21Fix PIM compilation even though it is disabled.Rafael Zalamena
2016-12-20Call the multicast timer callback per domain instead of for all domainsRafael Zalamena
2016-12-20Remove unused timeout that was never being set.Rafael Zalamena
2016-12-19Kill unused function.Rafael Zalamena
2016-12-19Extend the multicast sockets and multicast hash table support to multipleRafael Zalamena
2016-12-13Propagate the routing table id in ip_mrouter_set() so the MRT_ADD_VIFRafael Zalamena
2016-11-29Kill unused 'struct route'.Martin Pieuchot
2016-11-29m_free() and m_freem() test for NULL. Simplify callers which had their ownJonathan Gray
2016-09-24use hashfree. from Mathieu -Ted Unangst
2016-03-07Sync no-argument function declaration and definition by adding (void).Christian Weisgerber
2015-11-14Remove mrtdebug and reduce differences with the v6 version.Martin Pieuchot
2015-11-13Do not cast malloc(9) results.Martin Pieuchot
2015-11-13Kill another tunnel leftover and keep PIM stuff inside #ifdef PIM.Martin Pieuchot
2015-11-12Kill another leftover from the tunnel support removal and add more PIM.Martin Pieuchot
2015-11-12Sync headers and get rid of #ifdef MROUTING.Martin Pieuchot
2015-11-12Remove VIFF_TUNNEL leftovers, tunnels aren't supported since 2006.Martin Pieuchot
2015-11-12Fix PIM build.Martin Pieuchot
2015-09-12Introduce if_input_local() a function to feed local traffic back toMartin Pieuchot
2015-09-01Replace sockaddr casts with the proper satosin(), ... calls.Alexander Bluhm
2015-08-24In kernel initialize struct sockaddr_in and sockaddr_in6 to zeroAlexander Bluhm
2015-07-15rename mbuf ** parameter from m to mp, to match other similar codeTheo de Raadt
2015-06-30Get rid of the undocumented & temporary* m_copy() macro added forMartin Pieuchot
2015-02-09Implement 2 sysctl to retrieve the multicast forwarding cache (mfc) and theClaudio Jeker
2015-02-08De-static to make ddb hangman harder. OK phessler, henningClaudio Jeker
2015-02-07mechanical conversion of this code to using siphash instead of some xors.David Gwynne
2014-12-17Remove the "multicast_" prefix from the fields a multicast-only struct.Martin Pieuchot
2014-12-17Use an interface index instead of a pointer for multicast options.Martin Pieuchot
2014-12-05Explicitly include <net/if_var.h> instead of pulling it in <net/if.h>.Martin Pieuchot
2014-09-30add back the sys/sysctl.h include removed in rev 1.60Jonathan Gray
2014-08-14No need for raw_cb.hMartin Pieuchot
2014-08-14Kill MRT_{ADD,DEL}_BW_UPCALL interfaces and the bandwidth monitoringMartin Pieuchot