summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_carp.c
AgeCommit message (Expand)Author
2017-05-28Leaving IP multicast group requires the NET_LOCK().Martin Pieuchot
2017-05-27Fix the carp mode 'balancing ip-stealth'. Set the link state UPAlexander Bluhm
2017-05-04If m is not a continuous mbuf cluster, m_pullup() in pr_input mayAlexander Bluhm
2017-04-14Pass down the address family through the pr_input calls. ThisAlexander Bluhm
2017-04-11Partially revert previous mallocarray conversions that containDavid Hill
2017-04-09Use mallocarray to allocate multicast group memberships.David Hill
2017-04-05When building counter memory in preparation to copy to userland, alwaysTheo de Raadt
2017-03-23Replace manual loop with SRPL_FOREACH_SAFE_LOCKED macro.Alexander Bluhm
2017-03-17carp(4) code is always executed in the 'softnet' thread, so removeMartin Pieuchot
2017-02-20carp(4) percpu countersJeremie Courreges-Anglas
2017-01-29Change the IPv4 pr_input function to the way IPv6 is implemented,Alexander Bluhm
2017-01-25Since raw_input() and route_input() are gone from pr_input, we canAlexander Bluhm
2017-01-23Flag pseudo-interfaces as such in order to call add_net_randomness()Martin Pieuchot
2016-12-20Prevent grabing the NET_LOCK() twice in the ioctl(2) and input path.Martin Pieuchot
2016-12-19Introduce the NET_LOCK() a rwlock used to serialize accesses to the partsMartin Pieuchot
2016-11-20Rename SRPL_ENTER() to SRPL_FIRST() and SRPL_NEXT() to SRPL_FOLLOW().Martin Pieuchot
2016-10-25Accept CARP advertisement packets whose destination is not for multicast.YASUOKA Masahiko
2016-10-04Convert timeouts that need a process context to timeout_set_proc(9).Martin Pieuchot
2016-07-25fix revision 1.290 of sys/netinet/ip_carp.c.Sebastian Benoit
2016-07-19Fix the check supposed to prevent 'ip' and 'ip-stealth' balancing modesMartin Pieuchot
2016-06-06Get rid of the ``enaddr'' argument of carp_iamatch().Martin Pieuchot
2016-05-30Insert a hack to deal with interfaces removing the VLAN header beforeMartin Pieuchot
2016-05-18rework the srp api so it takes an srp_ref struct that the caller provides.David Gwynne
2016-04-13We're always ready! So send IFQ_SET_READY() to the bitbucket.Martin Pieuchot
2016-02-23provide m_dup_pkt() for doing fast deep mbuf copies with a specified alignmentDavid Gwynne
2016-01-21Introduce in{,6}_hasmulti(), two functions to check in the hot path ifMartin Pieuchot
2016-01-12Prevent a NULL-reference if SIOCGVH is issued without carpdev argument.Martin Pieuchot
2015-12-19Make carp_output() mpsafe.Martin Pieuchot
2015-12-03Use SRPL_HEAD() and SRPL_ENTRY() to be consistent with and allow toMartin Pieuchot
2015-11-18Make use of srp_enter()/srp_leave() in carp_iamatch() in preparationMartin Pieuchot
2015-11-12IFQ_DROP means a drop because enqueue on the send q failed, not cos txDavid Gwynne
2015-11-02Remove leftovers from previous carp(4)-to-relayd(8) conversion diff.Martin Pieuchot
2015-11-02Retire ARP load-balacing, thanks for all the fish!Martin Pieuchot
2015-10-25Introduce if_rtrequest() the successor of ifa_rtrequest().Martin Pieuchot
2015-10-22Do not pass an ``ia'' just to dereference ``ia_ifp''.Martin Pieuchot
2015-10-14Init a variable in the recently added carp_vhe_match() function clangJonathan Gray
2015-10-05Revert if_oqdrops accounting changes done in kernel, per request from mpi@.Masao Uebayashi
2015-10-05Don't count IF_DROP()'ed packets as if_oerrors too.Masao Uebayashi
2015-09-28Factors ou the route hashing code to implement Equal-Cost Multi-PathMartin Pieuchot
2015-09-27make carp_input mpsafe.David Gwynne
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