summaryrefslogtreecommitdiff
path: root/sys/netinet
AgeCommit message (Expand)Author
2019-06-21Prevent recursions by not deleting entries inside rtable_walk(9).Martin Pieuchot
2019-06-13In arp_rtrequest and nd6_rtrequest return early if the RTF_MPLS flag isClaudio Jeker
2019-06-13Copy the user provided sockaddr into a normalized sockaddr in rtrequest()Claudio Jeker
2019-06-10use m_microtime instead of microtime for SO_TIMESTAMP socketopt handlingDavid Gwynne
2019-06-10Use mallocarray(9) & put some free(9) sizes for M_IPMOPTS allocations.Martin Pieuchot
2019-06-04Add missing NULL check for the protocol control block (pcb) pointer inanton
2019-05-11unbreak the build without IPSEC.Sebastian Benoit
2019-04-28Removes the KERNEL_LOCK() from bridge(4)'s output fast-path.Martin Pieuchot
2019-04-23a first cut at converting some virtual ethernet interfaces to if_vinputDavid Gwynne
2019-04-22In in_cksum() and in6_cksum() convert types to C99 style and makeAlexander Bluhm
2019-04-05In debug mode print TCP flag names to console correctly.Alexander Bluhm
2019-02-13change rt_ifa_add and rt_ifa_del so they take an rdomain argument.David Gwynne
2019-02-10remove the implict RTF_MPATH flag that rt_ifa_add() sets on new routes.David Gwynne
2019-02-06Fix a possible mbuf leak in tcp_usrreq(). Make the error handlingAlexander Bluhm
2019-02-04Avoid an mbuf double free in the oob soreceive() path. In theAlexander Bluhm
2019-01-20Refresh arp entries that are about to expire. Once their life time is lessClaudio Jeker
2019-01-18Bring back the ip_pcbopts() refactor. Pad the option buffer and thereforClaudio Jeker
2019-01-18Revert Rev 1.351, the change is not quite right yet.Claudio Jeker
2019-01-08Botched up an if conditional in the last commit. The IP length needs toClaudio Jeker
2019-01-07Validate the version, and all length fields of IP packets passed to a raw socketClaudio Jeker
2019-01-06Rewrite ip_pcbopts() to fill a fresh mbuf with the ip options insteadClaudio Jeker
2019-01-03Replace a funky 'else switch' construct into something that is equal butClaudio Jeker
2018-12-25rework icmp6_error() to be closer to icmp_error()denis
2018-12-20Replace a wrong poor mans m_trailingspace() with the real thing. The mbufClaudio Jeker
2018-12-17Switch from timeout_add with tvtohz to just timeout_add_tv. Now this changeClaudio Jeker
2018-12-11split ether_output into resolution, encapsulation, and output functionsDavid Gwynne
2018-12-04Use m_align() and while there reorder the pkthdr initalisation a bit.Claudio Jeker
2018-12-03In PRU_DISCONNECT don't fall through into PRU_ABORT since the latter freesClaudio Jeker
2018-11-30MH_ALIGN -> m_align. In revarprequest() set the ph_rtableid so thatClaudio Jeker
2018-11-28Further cleanup of icmp_do_error.Claudio Jeker
2018-11-19Retire dom_rtkeylen from struct domain. Nothing is using this anymore.Claudio Jeker
2018-11-14provide ip_tos_patch() for setting ip_tos and patching the ipv4 cksum.David Gwynne
2018-11-10Do not translate the EACCES error from pf(4) to EHOSTUNREACH anymore.Alexander Bluhm
2018-11-09M_LEADINGSPACE() and M_TRAILINGSPACE() are just wrappers forClaudio Jeker
2018-11-09Remove the last few XXX rdomain markers. Even those functions respect theClaudio Jeker
2018-11-05In icmp_input_if() m_pullup up the maximum size of required data at the start.Claudio Jeker
2018-11-05Consider the size of IP header when doing the ICMP length overflowAlexander Bluhm
2018-11-05Fixup the case where an mbuf cluster is used. Correctly offset the data toClaudio Jeker
2018-11-04The change of the sb_mbmax calculation in sbreserve() broke settingAlexander Bluhm
2018-10-22ipsec: use monotonic clock for SA creation/lookup timestamps; ok dlg@cheloha
2018-10-18Partial revert of previous. Only the queue(3) stuff should have gone in.cheloha
2018-10-18igmp, struct router_info: use queue(3)cheloha
2018-10-13Expose net.inet.ip.arpq.drops to help debug what's going on when a lotFlorian Obser
2018-10-10RT_TABLEID_MAX is 255, fix places that assumed that it is less than 255.Reyk Floeter
2018-10-04Revert the inpcb table mutex commit. It triggers a witness panicAlexander Bluhm
2018-09-24Turn carp_ourether() mp-safe, this is a requirement for taking bridge(4)Martin Pieuchot
2018-09-20As a step towards per inpcb or socket locks, remove the net lockAlexander Bluhm
2018-09-17Do not acknowledge a received ack-only tcp packet that we would drop due tofriehm
2018-09-14Initialize the TDB to NULL in ipsec_common_input() andRicardo Mestre
2018-09-14In general it is a bad idea to use one random secret for two things.Alexander Bluhm