summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_carp.c
AgeCommit message (Expand)Author
2015-09-12consistently name the ifnet * that refers to the parent interfaceDavid Gwynne
2015-09-12vhif_ifp in struct carp_ifs is set but never used. it can be trimmed.David Gwynne
2015-09-12vhif_nvrs in carp_if is used to count the number of entries inDavid Gwynne
2015-09-11Kill yet another argument to functions in IPv6. This time ip6_output'sClaudio Jeker
2015-09-10pass a cookie argument to interface input handlers that can be usedMike Belopuhov
2015-09-10if_put after if_get.David Gwynne
2015-09-10move the if input handler list to an SRP list.David Gwynne
2015-07-02By design if_input_process() needs to hold a reference on the receivingMartin Pieuchot
2015-06-30Rename if_output() into if_enqueue() to avoid confusion with commentsMartin Pieuchot
2015-06-29count if_ibytes in if_input like we do for if_ipackets.David Gwynne
2015-06-24Increment if_ipackets in if_input().Martin Pieuchot
2015-06-16Store a unique ID, an interface index, rather than a pointer to theMartin Pieuchot
2015-06-08Move carp-related logic from ether_output() into carp_start().Martin Pieuchot
2015-06-02Take carp(4) out of ether_input().Martin Pieuchot
2015-05-21Correctly state the link state to INVALID when creating a carp interface.Martin Pieuchot
2015-05-15Give carp(4) interfaces their own low priority. The change should notClaudio Jeker
2015-05-15Remove a NULL check in carp_set_ifp() as we always pass a valid ifpMartin Pieuchot
2015-04-28Make sure to overwrite sdl_type after calling ether_ifattach().Martin Pieuchot
2015-04-22Add the necessary glue to keep carp(4) working while other pseudo-driversMartin Pieuchot
2015-04-21Revert previous. Packets going through carp_input() but not destinatedMartin Pieuchot
2015-04-15Add the necessary glue to keep carp(4) working while other pseudo-driversMartin Pieuchot
2015-04-15Use ether_ifattach() and ether_ifdetach() when cloning/destroying anMartin Pieuchot
2015-04-07Do not pass an `ifp' argument to interface input handlers since itMartin Pieuchot
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-03-04Explicitly fallback to a carp IP address if the parent does not have anyMartin Pieuchot
2015-02-11Until carp(4) is converted to call ether_ifattach() and ether_ifdetach(),Martin Pieuchot
2015-01-21Remove the code to automagically find a "carpdev".Martin Pieuchot
2015-01-08Do not unconditionally set a link-local address.Martin Pieuchot
2014-12-19unifdef INET in net code as a precursor to removing the pretend option.Ted Unangst
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-11-20sizes for simple free cases. sizeof(*) and one case where len is clear.Ted Unangst
2014-11-18move arc4random prototype to systm.h. more appropriate for most codeTed Unangst
2014-11-03Fix kernel stack overflow by preventing carp_send_ad_all() from re-entrantGerhard Roth
2014-10-07Do not protect the SIOCSIFADDR call by splnet(). Drivers alreadyMartin Pieuchot
2014-09-28Remove a limitation that ignored IPv6 link-local addresses on carp(4).Reyk Floeter
2014-09-08remove uneeded route.h includesJonathan Gray
2014-07-22Fewer <netinet/in_systm.h> !Martin Pieuchot
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-09bpf code surgery / shuffling / simplification.Henning Brauer
2014-06-30Kill dead code, what does a negative number of addresses on a carp(4)Martin Pieuchot
2014-04-30Remove carp_seroute() it no longer does anything useful but mess withMartin Pieuchot
2014-04-21ip_output() using varargs always struck me as bizarre, esp since it's onlyHenning Brauer
2014-04-20ether_output: instead of assembling the ethernet header and then callingHenning Brauer
2014-04-14"struct pkthdr" holds a routing table ID, not a routing domain one.Martin Pieuchot
2014-03-27Stop mixing interface address flags with routing entry ones.Martin Pieuchot
2014-03-21Global lists of addresses are species near extinction, even carp doMartin Pieuchot
2014-03-18Rename rt_gettable() into rtable_get(), swap its arguments to beMartin Pieuchot
2014-02-13When sending a neighbor advertisement, correctly use the carp macMartin Pieuchot