summaryrefslogtreecommitdiff
path: root/sys/netinet
AgeCommit message (Expand)Author
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
2018-09-14unbreak userland uses of in_pcb.h by including sys/refcnt.hJonathan Gray
2018-09-13Add reference counting for inet pcb, this will be needed when weAlexander Bluhm
2018-09-13Include the size of IPCOMP header when checking for compression.Martin Pieuchot
2018-09-11Convert inetctlerrmap to u_char like inet6ctlerrmap. That is alsoAlexander Bluhm
2018-09-11Make the distribution of in_ and in6_ functions in in_pcb.c andAlexander Bluhm
2018-09-10Remove useless INPCBHASH() macros. Just expand them.Alexander Bluhm
2018-09-10Instead of calculating the mbuf packet header length here and there,Alexander Bluhm
2018-09-10During fragment reassembly, mbuf chains with packet headers wereAlexander Bluhm
2018-09-07Explain the special case for redirect to localhost in a comment.Alexander Bluhm
2018-09-06sync icmp_mtudisc_clone() with icmp6_mtudisc_clone(); prompted by bluhm@miko
2018-08-28Add per-TDB counters and a new SADB extension to export them toMartin Pieuchot
2018-07-23Coverity CID 1470233 complainst that the m != NULL check inAlexander Bluhm
2018-07-16Fix for uninitialized variables.Martin Pieuchot
2018-07-12Introduce ipsec_output_cb() to merge duplicate code and account forMartin Pieuchot
2018-07-11Disambiguate the source of panics in sys/net* by adding __func__Nayden Markatchev
2018-07-11Retire RTM_LOSING, it no longer makes sense and on busy servers theClaudio Jeker
2018-07-11rtm_send() the cloned routes because of ICMP mtu changes. Until nowClaudio Jeker
2018-07-11Convert AH & IPcomp to ipsec_input_cb() and count drops on input.Martin Pieuchot
2018-07-10Introduce new IPsec (per-CPU) statistics and refactor ESP inputMartin Pieuchot
2018-07-10Remove DELAY(1000) from carp_send_arp() / carp_send_na() since it is not clearfriehm
2018-07-05It was possible to leak the control mbuf in raw ip user requestAlexander Bluhm
2018-07-04Prevent a mbuf double free by not freeing it along the error-path inanton
2018-06-25Assert that the NET_LOCK() is held when iterating over `ipsec_acquire_head'.Martin Pieuchot
2018-06-14In in_pcballoc() finish the inp initialization before adding it toAlexander Bluhm