summaryrefslogtreecommitdiff
path: root/sys/netinet/if_ether.c
AgeCommit message (Expand)Author
2023-01-31Remove the last ones route lock references from comments.Vitaliy Makkoveev
2023-01-31Route lock was reverted, adjust forgotten commentary.Vitaliy Makkoveev
2023-01-28Revert the `rt_lock' rwlock(9) diff to fix the recursiveVitaliy Makkoveev
2023-01-21Introduce `rt_lock' rwlock(9) and use it instead of kernel lock toVitaliy Makkoveev
2022-12-07Fix comment by splitting sentance in two. From kn@Claudio Jeker
2022-07-16To fix an KASSERT(la != NULL) panic in ARP, protect the rt_llinfoAlexander Bluhm
2022-06-27Push the kernel lock down into arpresolve(). We still need it toAlexander Bluhm
2022-06-27Instead of calling getuptime() all the time in ARP code, do it onlyAlexander Bluhm
2021-04-28Use mq_delist() to fetch the ARP mbuf hold queue once and feed theAlexander Bluhm
2021-04-28Document the locking mechanism of the global variables in ARP code.Alexander Bluhm
2021-04-26Convert the ARP packet hold queue from mbuf list to mbuf queue whichAlexander Bluhm
2021-04-23Setting variable arpinit_done is not MP save if we want to executeAlexander Bluhm
2021-04-23The variable la_hold_total contains the number of packets currentlyAlexander Bluhm
2020-06-24kernel: use gettime(9)/getuptime(9) in lieu of time_second(9)/time_uptime(9)cheloha
2019-11-07Avoid NULL dereference in arpinvalidate() and nd6_invalidate() byKenneth R Westerback
2019-10-16tsleep(9) -> tsleep_nsec(9)Martin Pieuchot
2019-07-17Introduce ETHER_IS_BROADCAST/ANYADDR/EQ() and use them where appropriate.Martin Pieuchot
2019-06-13In arp_rtrequest and nd6_rtrequest return early if the RTF_MPLS flag isClaudio Jeker
2019-01-20Refresh arp entries that are about to expire. Once their life time is lessClaudio Jeker
2018-11-30MH_ALIGN -> m_align. In revarprequest() set the ph_rtableid so thatClaudio Jeker
2018-06-11Push the KERNEL_LOCK() inside route_input().Martin Pieuchot
2018-03-31When reusing an mbuf to send an ARP response, don't forget to clearStefan Sperling
2018-03-13Mbuf data is used as struct ether_header before it has been madeAlexander Bluhm
2018-01-16Recycle IFF_NOTRAILERS into IFF_STATICARP and document ownerhsipMartin Pieuchot
2018-01-15There was an issue that dynamic path MTU discovery together withAlexander Bluhm
2017-08-11Remove NET_LOCK()'s argument.Martin Pieuchot
2017-07-30Switch installer to Allotment Routing Table (ART).Florian Obser
2017-07-28Add an error argument to rtm_send() instead of rerolling it insideMartin Pieuchot
2017-03-06Prefix functions dealing with routing messages with 'rtm_' and keepMartin Pieuchot
2016-12-19Introduce the NET_LOCK() a rwlock used to serialize accesses to the partsMartin Pieuchot
2016-11-20Make rtable_iterate(9) mpsafe by using the new SRPL_NEXT(9).Martin Pieuchot
2016-11-07ARP and NDP timeouts mess with the routing table, so they need a processMartin Pieuchot
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne
2016-09-07Rename rtable_mpath_next() into rtable_iterate() and make it do a properMartin Pieuchot
2016-09-06pool_setipl for various netinet and netinet6 bitsDavid Gwynne
2016-08-22Make the ``rt_gwroute'' pointer of RTF_GATEWAY entries immutable.Martin Pieuchot
2016-07-14Prevent a use-after-free by not updating an ARP entry that has beenMartin Pieuchot
2016-07-13Move ARP processing back to the KERNEL_LOCK()ed task until the raceMartin Pieuchot
2016-07-13Introduce RTF_MULTICAST and flag corresponding IPv6 routes as suchMartin Pieuchot
2016-07-11Revert the introduction of ``rt_addr''.Martin Pieuchot
2016-06-28Add sysctl for arp timers: net.inet.ip.arptimeout (expire timer for resolvedChris Cappuccio
2016-06-14Store the source address associated with a route in its own chunk ofMartin Pieuchot
2016-06-10Add the "llprio" field to struct ifnet, and the corresponding keywordVincent Gross
2016-06-06Move logic to send ARP replies to arpreply().Martin Pieuchot
2016-06-06Get rid of the ``enaddr'' argument of carp_iamatch().Martin Pieuchot
2016-06-03set rt_expire times against time_uptime, not time_second.David Gwynne
2016-05-31Stop creating and inserting a route entry for ARP and ND automagically.Martin Pieuchot
2016-05-23Pass a 'struct in_addr *' to arplookup() instead of always dereferencingMartin Pieuchot
2016-05-23Shorten en error string.Martin Pieuchot
2016-05-18Remove some superflous if_get(9)/if_put(9) dances now that ARP inputMartin Pieuchot