summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_input.c
AgeCommit message (Expand)Author
2022-02-22Delete unnecessary #includes of <netinet6/ip6protosw.h>: some neverPhilip Guenther
2022-01-25Capture a repeated pattern into sysctl_securelevel_int functionGreg Steuck
2021-11-22Copy code from ip_forward() to ip6_forward() to fix Path MTU discoveryAlexander Bluhm
2021-06-21Fix uninitialized variables introduced in rev 1.361Jeremie Courreges-Anglas
2021-06-03remember if the ipv4 header checksum is ok.David Gwynne
2021-06-02factor out the code that does basic sanity checks on ipv4 headers.David Gwynne
2021-05-15Fix IPsec NAT-T to work with pipex(4). Introduce a new packet tagYASUOKA Masahiko
2021-04-30Rearrange the implementation of bounded sysctl. The primitiveAlexander 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
2021-03-30[ICMP] IP options lead to malformed replyAlexandr Nedvedicky
2021-03-10spellingJonathan Gray
2021-01-15As documented in sysctl(2) net.inet.ip.forwarding can be 2.Alexander Bluhm
2021-01-11Create a path MTU host route for IPsec over IPv6. Basically theAlexander Bluhm
2020-11-16Replace sysctl_rdint with sysctl_bounded_args entries in net.inet*gnezdo
2020-08-22Convert ip_sysctl to sysctl_bounded_argsgnezdo
2020-08-08No longer prevent TCP connections to IPv6 anycast addresses.Florian Obser
2020-08-01Move range check inside sysctl_int_arrgnezdo
2020-04-12Stop processing packets under non-exclusive (read) netlock.Martin Pieuchot
2019-12-23rdr-to with loopback destination should work even thoughAlexandr Nedvedicky
2019-12-09always pull in if_types.h, to unbreak ramdisksTheo de Raadt
2019-12-08Make sure packet destination address matches interface address,Alexandr Nedvedicky
2019-08-06When we needed the kernel lock for local IP packet delivery, mpi@Alexander Bluhm
2019-06-10use m_microtime instead of microtime for SO_TIMESTAMP socketopt handlingDavid Gwynne
2018-10-13Expose net.inet.ip.arpq.drops to help debug what's going on when a lotFlorian Obser
2018-09-11Convert inetctlerrmap to u_char like inet6ctlerrmap. That is alsoAlexander 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-07-10Introduce new IPsec (per-CPU) statistics and refactor ESP inputMartin Pieuchot
2018-05-21All places that call carp_lsdrop() use the interface pointer already.Alexander Bluhm
2017-12-29Make the functions which link the pf state keys to mbufs, inpcbs,Alexander Bluhm
2017-12-04Make divert lookup similar for all socket types. If PF_TAG_DIVERTEDAlexander Bluhm
2017-11-23Constify protocol tables and remove an assert now that ip_deliver() isMartin Pieuchot
2017-11-20Sprinkle some NET_ASSERT_LOCKED(), const and co to prepare runningMartin Pieuchot
2017-11-14Introduce ipsec_sysctl() and move IPsec tunables where they belong.Martin Pieuchot
2017-11-10Introduce a reader version of the NET_LOCK().Martin Pieuchot
2017-11-08Make {ah,esp,ipcomp}stat use percpu counters.Visa Hankala
2017-11-05Finish off pr_drain functions, they haven't been used since 2006.Florian Obser
2017-11-01Fix typo in previous resulting in a NULL dereference.Martin Pieuchot
2017-10-31- add one more softnet taskqAlexandr Nedvedicky
2017-10-29This doesn't need the NET_LOCK, everything is protected by a mutex.Florian Obser
2017-10-29Move NET_{,UN}LOCK into individual slowtimo functions.Florian Obser
2017-10-26Stop grabbing the KERNEL_LOCK() in network tasks when `ipsec_in_use'Martin Pieuchot
2017-10-09Reduces the scope of the NET_LOCK() in sysctl(2) path.Martin Pieuchot
2017-09-07Replace a goto found in the ipq foreach loop with a simple break.Alexander Bluhm
2017-09-05Serialize access to IP reassembly queue with a mutex. This letsVisa Hankala
2017-09-01Simplify list traversal in ip_freef(), and replace a hand-rolledVisa Hankala
2017-08-22Prevent a race against ipsec_in_use.Martin Pieuchot
2017-08-11Remove NET_LOCK()'s argument.Martin Pieuchot
2017-08-08Increase the limit of the IP protocol queues from 256 to 2048 mbufs.Alexander Bluhm