summaryrefslogtreecommitdiff
path: root/sys/netinet
AgeCommit message (Expand)Author
2019-09-02Fix a route use after free in multicast route. Move the rt_mcast_del()Alexander Bluhm
2019-08-06When we needed the kernel lock for local IP packet delivery, mpi@Alexander Bluhm
2019-07-25Add IFXF_AUTOCONF4 to if_xflags to match IFXF_AUTOCONF6. LetKenneth R Westerback
2019-07-17Introduce ETHER_IS_BROADCAST/ANYADDR/EQ() and use them where appropriate.Martin Pieuchot
2019-07-15Initialize struct inpcb pool not on demand, but during initialization.Alexander Bluhm
2019-07-12Count the number of TCP SACK options that were dropped due to theAlexander Bluhm
2019-07-10Received SACK options are managed by a linked list at the TCP socket.Alexander Bluhm
2019-07-08free(9) sizes for M_RTABLE.Martin Pieuchot
2019-07-05add ac_trunkport to arpcom so trunks can coordinate owning an interfaceDavid Gwynne
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