summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_carp.c
AgeCommit message (Expand)Author
2013-03-28code that calls timeout functions should include timeout.hTed Unangst
2013-03-28do not include machine/cpu.h from a .c file; it is the responsibility ofTheo de Raadt
2013-03-28no need for a lot of code to include proc.hTed Unangst
2013-03-26Remove various read-only *maxlen variables and use IFQ_MAXLEN directly.Martin Pieuchot
2013-03-25Substitute the handcrafted list of IPv6 addresses by a proper TAILQ.Martin Pieuchot
2013-03-22simple replacement of LIST_END with NULL. ok mpiTed Unangst
2012-10-08Make carp_ourether() shorter and more generic. Only a mac addressCamiel Dobbelaar
2012-09-19Make rt_lookup return a pointer to an rtentry struct instead ofBret Lambert
2012-09-19inherit IFCAP_CSUM_* from the parent interfaceHenning Brauer
2012-04-11fix all the suser calls which pass an incorrect p_acflag argument;Mike Belopuhov
2011-11-19Select a routing table according to the rdomain. Allows oneMike Belopuhov
2011-10-30In the advbase 0 case, we have to use three timesMarco Pfatschbacher
2011-10-24Lower carp demote count on interface detach, fixes a bug introduced by rev 1....Camiel Dobbelaar
2011-10-16Use m_pullup() instead of IP6_EXTHDR_GET() to get the carp headerMarco Pfatschbacher
2011-09-06Properly initialize struct carp_if (especially vhif_nvrs) with M_ZERO.Marco Pfatschbacher
2011-07-08mark carp advertisements to be queued at priority 6. losing them is bad,Henning Brauer
2011-07-04Don't make copy multicast packets for carp interfacesMarco Pfatschbacher
2011-07-04Allow advbase to be set to zero, which makes it possible to runMarco Pfatschbacher
2011-07-03avoid void * pointer arithmeticDavid Hill
2011-07-03Do not use LINK_STATE_UNKNOWN for the INIT state. LINK_STATE_UNKNOWN hasClaudio Jeker
2011-05-04Collapse m_pullup and m_pullup2 into a single function, as they'reBret Lambert
2011-04-29The previous reconfiguration change broke IPv6 only setups.Marco Pfatschbacher
2011-04-04install an additional bpf hook in the carp_input so that multicastMike Belopuhov
2011-03-08Fix a subtle carp reconfiguration problem.Marco Pfatschbacher
2010-12-21Doh! Forgot to set the rdomain when sending out carp announcements.Claudio Jeker
2010-11-26more useful logging level for demotion adjustmentsOtto Moerbeek
2010-08-26Link local multicast requires a scope (either from the src or dst address)Claudio Jeker
2010-08-02Prevent illegal struct casting by moving AF_INET/AF_INET6 addressMatthew Dempsky
2010-07-20Switch some obvious network stack MAC comparisons from bcmp() toMatthew Dempsky
2010-04-25Properly adjust group demotion counters when groups are added orMarco Pfatschbacher
2010-01-13let's admit it's not 1992 any more. CIDR is around for a long time, evenHenning Brauer
2010-01-12Remove the "bump the advskew to 240 in case of errors" hack.Marco Pfatschbacher
2010-01-12Use M_ZERO in malloc instead of doing a bzeor right afterwards.Claudio Jeker
2009-06-17Correctly handle the carp demote counter in all input cases.Marco Pfatschbacher
2009-06-05Initial support for routing domains. This allows to bind interfaces toClaudio Jeker
2008-10-28Do not keep retrying to send advertisements if there isMarco Pfatschbacher
2008-09-03Prevent a possible overflow when the sum of all demotion countersMarco Pfatschbacher
2008-06-14add carppeer; an option to specify a different multicast address orReyk Floeter
2008-06-13Do not log carp state transitions from or to INIT by default.Marco Pfatschbacher
2008-06-09rename arc4random_bytes => arc4random_buf to match libc's nicer name;Damien Miller
2008-05-07Implement routing priorities. Every route inserted has a priority assignedClaudio Jeker
2008-05-06Use the standard syslog levels on CARP logging messages instead ofRyan Thomas McBride
2008-02-20Add my copyright.Marco Pfatschbacher
2008-02-05Move carp load balancing (ARP/IP) to a simpler configuration scheme.Marco Pfatschbacher
2008-01-02return with ENOTTY instead of EINVAL for unknown ioctl requests.Brad Smith
2007-12-14add sysctl entry points into various network layers, in particular toTheo de Raadt
2007-11-27Make carp(4) behave more like a ethernet interface by initalizing theClaudio Jeker
2007-11-26MALLOC -> malloc and M_ZERO changeCharles Longeau
2007-11-22pass the carp ifp to rt_missmsg() when generating the RTM_ADD messagesHenning Brauer
2007-11-22Factor out the virtual host portion of carp into a separate structMarco Pfatschbacher