summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_input.c
AgeCommit message (Expand)Author
2023-05-18Revert ip_sysctl() unlocking. Lock order issue was triggered in UVMVitaliy Makkoveev
2023-05-16Introduce temporary PR_MPSYSCTL flag to mark (*pr_sysctl)() handler MPVitaliy Makkoveev
2023-04-05ARP has a sysctl to show the number of packets waiting for an arpAlexander Bluhm
2023-03-08An invalid source routing IP option could overwrite kernel memoryAlexander Bluhm
2022-08-29Do not calculate the output protocol checksum in the IP input path.Alexander Bluhm
2022-08-21Remove ip_local() and ip6_local(). After moving the IPv4 fragmentAlexander Bluhm
2022-08-15Run IPv6 hop-by-hop options processing in parallel. The ip6_hbhchcheck()Alexander Bluhm
2022-08-12There are some places in ip and ip6 input where operations fail dueAlexander Bluhm
2022-08-06Clean up the netlock macros. Merge NET_RLOCK_IN_SOFTNET andAlexander Bluhm
2022-08-04Use 16 bit variable to store more fragment flag. This avoids lossAlexander Bluhm
2022-07-28Checking the fragment flags of an incoming IP packet does not needAlexander Bluhm
2022-07-25The IPv4 reassembly code is MP safe, so we can run it in parallel.Alexander Bluhm
2022-07-24Fix assertion for write netlock in rip6_input(). ip6_input() hasAlexander Bluhm
2022-06-29Nullify `ipsecflowinfo' when mbuf(9) has no ipsec flowinfo data.Vitaliy Makkoveev
2022-05-05Use static objects for struct rttimer_queue instead of dynamicallyClaudio Jeker
2022-05-04Move rttimer callback function from the rttimer itself to rttimer_queue.Claudio Jeker
2022-04-28In the multicast router code don't allocate a rt timer queue for eachClaudio Jeker
2022-04-28Decouple IP input and forwarding from protocol input. This allowsAlexander Bluhm
2022-04-20Route timeout was a mixture of int, u_int and long. Use type intAlexander Bluhm
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