summaryrefslogtreecommitdiff
path: root/sys/netinet
AgeCommit message (Expand)Author
2022-08-29Do not calculate the output protocol checksum in the IP input path.Alexander Bluhm
2022-08-29Sendmsg could crash in tcp_output due to a missing check after theMoritz Buhl
2022-08-29Move PRU_RCVOOB request to (*pru_rcvoob)().Vitaliy Makkoveev
2022-08-29Use struct refcnt for interface address reference counting.Alexander Bluhm
2022-08-28Move PRU_SENSE request to (*pru_sense)().Vitaliy Makkoveev
2022-08-28Move PRU_ABORT request to (*pru_abort)().Vitaliy Makkoveev
2022-08-27Move PRU_SEND request to (*pru_send)().Vitaliy Makkoveev
2022-08-26Move PRU_RCVD request to (*pru_rcvd)().Vitaliy Makkoveev
2022-08-22Move PRU_SHUTDOWN request to (*pru_shutdown)().Vitaliy Makkoveev
2022-08-22Document that igmp_timers_are_running and mld6_timers_are_runningAlexander Bluhm
2022-08-22Move PRU_DISCONNECT request to (*pru_disconnect).Vitaliy Makkoveev
2022-08-22Use rwlock per inpcb table to protect notify list. The notifyAlexander Bluhm
2022-08-22Move PRU_ACCEPT request to (*pru_accept)().Vitaliy Makkoveev
2022-08-21Only grab netlock in igmp and mdl6 fast timer when necessary. ThereAlexander Bluhm
2022-08-21Move PRU_CONNECT request to (*pru_connect)() handler.Vitaliy Makkoveev
2022-08-21Move PRU_LISTEN request to (*pru_listen)() handler.Vitaliy Makkoveev
2022-08-21Change soabort() return value to void. We never interesting on it.Vitaliy Makkoveev
2022-08-21Remove ip_local() and ip6_local(). After moving the IPv4 fragmentAlexander Bluhm
2022-08-21Introduce a mutex per inpcb to serialize access to socket receiveAlexander Bluhm
2022-08-20Move PRU_BIND request to (*pru_bind)() handler.Vitaliy Makkoveev
2022-08-15Run IPv6 hop-by-hop options processing in parallel. The ip6_hbhchcheck()Alexander Bluhm
2022-08-15Introduce tcp_sogetpcb() to assign `inp' and `tp' from passed socket.Vitaliy Makkoveev
2022-08-15Introduce 'pr_usrreqs' structure and move existing user-protocolVitaliy Makkoveev
2022-08-13Remove needless include pledge.h accidently added in previous commit.Alexander Bluhm
2022-08-12Remove differences between ip_fragment() and ip6_fragment(). TheyAlexander Bluhm
2022-08-12There are some places in ip and ip6 input where operations fail dueAlexander Bluhm
2022-08-11Add TCP_INFO support to getsockopt for tcp sessions.Claudio Jeker
2022-08-08To make protocol input functions MP safe, internet PCB need protection.Alexander 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-07-16To fix an KASSERT(la != NULL) panic in ARP, protect the rt_llinfoAlexander Bluhm
2022-07-14Use capital letters for global ipsec(4) locks description. Use 'D'Vitaliy Makkoveev
2022-06-29Nullify `ipsecflowinfo' when mbuf(9) has no ipsec flowinfo data.Vitaliy Makkoveev
2022-06-28Use btrace(8) to debug reference counting. dt(4) provides a staticAlexander Bluhm
2022-06-27Push the kernel lock down into arpresolve(). We still need it toAlexander Bluhm
2022-06-27Instead of calling getuptime() all the time in ARP code, do it onlyAlexander Bluhm
2022-06-26The "ifq_set_maxlen(..., 1);" hack we use to enforce pipex(4) relatedVitaliy Makkoveev
2022-06-17The timeout for ipsec acquire does not decrement the referenceAlexander Bluhm
2022-06-06Simplify solock() and sounlock(). There is no reason to return a valueClaudio Jeker
2022-05-25Call if_put(9) after we finish with `ia' within ip_getmoptions().Vitaliy Makkoveev
2022-05-15have in_pcbselsrc copy the selected address to memory provided by the caller.David Gwynne
2022-05-09Protect sbappendaddr() in divert_packet() with kernel lock. WithAlexander Bluhm
2022-05-05Clean up divert_packet(). Function does not return error, make itAlexander Bluhm
2022-05-05Use static objects for struct rttimer_queue instead of dynamicallyClaudio Jeker
2022-05-05No longer consider IN_EXPERIMENTAL aka 240/4 as not forwardable.Claudio Jeker
2022-05-04Move rttimer callback function from the rttimer itself to rttimer_queue.Claudio Jeker
2022-05-04In ipsp_spd_lookup() rename the parameter tdbp to tdbin as it isAlexander Bluhm