summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_carp.c
AgeCommit message (Expand)Author
2004-12-08Merge in more fixes from a pre-carpdev diff from Chris Pascoe.Ryan Thomas McBride
2004-12-08Check if_type in carp_carpdev_state() to make sure we're notRyan Thomas McBride
2004-12-07Convert carp(4) to behave more like a regular interface, much in the sameRyan Thomas McBride
2004-11-30Use %s, not %d to print the interface name. From Max Laier.Ryan Thomas McBride
2004-11-28Reverse bogus sc == NULL check in CARP_LOG(), from Max Laier.Ryan Thomas McBride
2004-11-17Improved logging for advertisement failures: Add some carpstats.carps_onomem++Ryan Thomas McBride
2004-11-16Call arprequest/ether_output at splsoftnet(). From Chris Pascoe.Ryan Thomas McBride
2004-10-28define IFT_CARP, and set if_type to that on carp interfaces insteadHenning Brauer
2004-10-06Unbreak tcpdump on the carp interface; variable shadowing pointed out byRyan Thomas McBride
2004-10-05Call ip_output at splsoftnet() when sending advertisements; also don't stopRyan Thomas McBride
2004-09-18Oops, copy a pointer to ac_if, not the first bytes of the struct itself.Ryan Thomas McBride
2004-09-18Store the carp interface ifp in PACKET_TAG_CARP instead of a pointer toRyan Thomas McBride
2004-09-16Clean up CARP_LOG macro and include the physical interfaceRyan Thomas McBride
2004-08-31Prevent backup CARP hosts from replying to arp requests, fixes strangenessRyan Thomas McBride
2004-06-24This moves access to wall and uptime variables in MI code,Thorsten Lockert
2004-06-10zero the cif struct correctly.Ryan Thomas McBride
2004-06-10Plug a memory leak in carp_clone_destroy()Ryan Thomas McBride
2004-05-31initialize struct carp_if and let vhif_nvrs counter work. ok mcbride@Marco Pfatschbacher
2004-05-30compile without INET6; ok mcbridePeter Valchev
2004-05-29Remove multicast addresses and promiscuous mode when destroying theRyan Thomas McBride
2004-05-29carp_ioctl() happens after ifioctl(); check flags correctly so thatRyan Thomas McBride
2004-05-25let sc_counter wrap automatically, ok mcbride@Jolan Luff
2004-05-24Check for sc->sc_ifp != NULL in carp_setroute(). Running dhclient on theRyan Thomas McBride
2004-05-16When we back off due to problems with the physical interface, advertiseRyan Thomas McBride
2004-05-16Remove useless test pointed out by Frank Denis <j@pureftpd.org>.Ryan Thomas McBride
2004-05-13Act like our advskew is 240 when receiving packets as well as sending ifRyan Thomas McBride
2004-05-13Add cloned interface destruction to carp (ifconfig carp0 destroy).Ryan Thomas McBride
2004-05-13KNFRyan Thomas McBride
2004-05-10Make sure advskew set correctly in advertisement when configured to a valueRyan Thomas McBride
2004-05-08If a carp interface has more than CARP_SENDAD_MAX_ERRORS failedRyan Thomas McBride
2004-04-28Make carp(4) aware of its physical interface:Ryan Thomas McBride
2004-03-26don't use mbuf after free; ok mcbride, deraadt, cloderMarkus Friedl
2004-03-26Also raise advskew to 240 while we wait for pfsync to get it's bulk update.Ryan Thomas McBride
2004-03-24Correct size in error message. From mickey@Ryan Thomas McBride
2004-03-24Disable net.inet.carp.log by default.Ryan Thomas McBride
2004-03-22Support for best effort bulk transfers of states when pfsync syncif isRyan Thomas McBride
2004-03-20Unbreak routing change handling for state changes; count addresses differentlyRyan Thomas McBride
2004-03-18Allow the state to be changed explicitly via the ioctl.Ryan Thomas McBride
2004-03-10Don't permit a negative index. Pointed out by Patrick Latifi.Ryan Thomas McBride
2004-03-05Only send route add or delete messages if it's the first identicalRyan Thomas McBride
2004-01-18send RTM_IFINFO on carp state changes; with mpf@; ok mcbride@, mpf@Markus Friedl
2004-01-15missing #ifdef INET6, ok henning@Daniel Hartmeier
2004-01-13Add and remove IPv6 routes so when we're MASTER, we can connect to theRyan Thomas McBride
2003-12-10de-register. deraadt okJun-ichiro itojun Hagino
2003-12-06Mark u_int64_t constants with ULL to make gcc3 happy.Alexander Yurchenko
2003-12-03add support for ifconfig clone; ok henning deraadtMarkus Friedl
2003-11-16compile without INET6Markus Friedl
2003-11-14Don't include KAME link-local interface ID in HMAC.Ryan Thomas McBride
2003-11-09No need to pass an unused struct carp_softc * into carp_input_c() fromRyan Thomas McBride
2003-11-08typos from Jonathon Gray;Jason McIntyre