summaryrefslogtreecommitdiff
path: root/sys/netinet
AgeCommit message (Expand)Author
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
2018-06-14Assert that the INP_IPV6 in in6_pcbconnect() is correct. Just callAlexander Bluhm
2018-06-14Use mbuf (not cluster) always for t_template of tcpcb.YASUOKA Masahiko
2018-06-11Fix RAMDISK build by removing an #ifdef INET6 in tcp_trace().Alexander Bluhm
2018-06-11Do not unlock the KERNEL_LOCK() unconditionally in sounlock().Martin Pieuchot
2018-06-11Push the KERNEL_LOCK() inside route_input().Martin Pieuchot
2018-06-11The output from tcp debug sockets was incomplete. After detach tpAlexander Bluhm
2018-06-08The udp control option processing was implemented three times.Alexander Bluhm
2018-06-07The global zero addresses must not change, mark them constant.Alexander Bluhm
2018-06-06Pass the socket to sounlock(), this prepare the terrain for per-socketMartin Pieuchot
2018-06-04Cleanup IPsec output error handling with consistent goto drop.Alexander Bluhm
2018-06-03Use variable names for rtable and rdomain consistently in the in_pcbAlexander Bluhm
2018-06-03Rename the incpb table field inpt_hash to inpt_mask as it containsAlexander Bluhm
2018-06-03SIOCSIFNETMASK takes a 'struct ifreq', so use 'ifr' for it and drop theTheo Buehler
2018-06-03Better version of the refactoring attempted in r1.154. Move SIOCSIFADDRTheo Buehler
2018-06-02Move the declarations of the raw ip and ip6 pcb tables into theAlexander Bluhm
2018-06-02Cleanup the in_pcbnotifymiss diagnostic printfs. Always print theAlexander Bluhm
2018-06-02The function in_pcbrehash() does not modify the pcb table queue.Alexander Bluhm
2018-05-31zap trailing whitespaceTheo Buehler
2018-05-31Re-commit the correct half of revision 1.154:Theo Buehler
2018-05-31Back out previous. The handling of SIOCSIFADDR is now wrong.Theo Buehler
2018-05-31Some more code shuffling to get rid of one switch in each, in_ioctl()Theo Buehler