summaryrefslogtreecommitdiff
path: root/sys/netinet/in_pcb.h
AgeCommit message (Expand)Author
2023-06-24Calculate inet PCB SIP hash without table mutex.Alexander Bluhm
2022-10-03System calls should not fail due to temporary memory shortage inAlexander Bluhm
2022-09-03Move PRU_PEERADDR request to (*pru_peeraddr)().Vitaliy Makkoveev
2022-09-03Move PRU_SOCKADDR request to (*pru_sockaddr)()Vitaliy Makkoveev
2022-08-30Refactor internet PCB lookup function. Rename in_pcbhashlookup()Alexander Bluhm
2022-08-22Use rwlock per inpcb table to protect notify list. The notifyAlexander Bluhm
2022-08-21Introduce a mutex per inpcb to serialize access to socket receiveAlexander Bluhm
2022-05-15have in_pcbselsrc copy the selected address to memory provided by the caller.David Gwynne
2022-03-21For multicast and broadcast packets udp_input() traverses the loopAlexander Bluhm
2022-03-21Header netinet/in_pcb.h includes sys/mutex.h now. Recommit mutexAlexander Bluhm
2022-03-20Include sys/mutex.h from netinet/in_pcb.h. Struct mutex will beAlexander Bluhm
2022-03-14Unbreak the tree, revert commitid aZ8fm4iaUnTCc0ulTheo Buehler
2022-03-14pf_socket_lookup() calls in_pcbhashlookup() in the PCB layer. ToAlexander Bluhm
2022-03-02The return value of in6_pcbnotify() is never used. Make it a voidAlexander Bluhm
2022-01-20Shifting signed integers left by 31 is undefined behavior in C.Alexander Bluhm
2021-01-25if stoeplitz is enabled, use it to provide a flowid for tcp packets.David Gwynne
2020-06-21knf: the inp_upcall line was too long.David Gwynne
2020-06-21add a inp_upcall function pointer and inp_upcall_arg to struct in_pcb.David Gwynne
2019-11-13Add DoT 853 to DEFBADDYNAMICPORTS_TCP. This port will be increasinglyTheo de Raadt
2019-10-17in6_setsockaddr and in6_setpeeraddr can't fail, so let them return void.David Gwynne
2019-07-15Initialize struct inpcb pool not on demand, but during initialization.Alexander Bluhm
2018-10-04Revert the inpcb table mutex commit. It triggers a witness panicAlexander Bluhm
2018-09-20As a step towards per inpcb or socket locks, remove the net lockAlexander Bluhm
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-11Make the distribution of in_ and in6_ functions in in_pcb.c andAlexander Bluhm
2018-06-03Rename the incpb table field inpt_hash to inpt_mask as it containsAlexander Bluhm
2018-06-02Move the declarations of the raw ip and ip6 pcb tables into theAlexander Bluhm
2018-03-30Store the allocation size in inpcbhead for free().David Hill
2017-12-01Simplify the reverse PCB lookup logic. The PF_TAG_TRANSLATE_LOCALHOSTAlexander Bluhm
2017-10-06Kill the divert-packet socket option IP_DIVERTFL to filter packets.Alexander Bluhm
2016-09-03Reserve the BFD destination ports in baddynamicPeter Hessler
2016-08-04Commit in6_selectsrc() split again, with missing assignment fixed.Vincent Gross
2016-07-22Revert in_selectsrc() refactoring, it breaks IPv6.Martin Pieuchot
2016-07-20Split in6_selectsrc() into a low-level part and a pcb-level part, andVincent Gross
2016-06-27Implement IPV6_MINHOPCOUNT support.Jeremie Courreges-Anglas
2016-06-18Add net.inet.{tcp,udp}.rootonly sysctl, to mark which portsVincent Gross
2016-04-11Rename in_pcblookup() to in_pcblookup_local() and change its prototypeVincent Gross
2016-04-05Move inp_laddr assignment after in_pcbpickport(), extend in_pcbpickport()Vincent Gross
2016-03-23Merge in_pcbbind() and in6_pcbbind(), and change every call toVincent Gross
2016-03-23Extract in_pcbaddrisavail() from in_pcbbind().Vincent Gross
2016-03-21Extract in6_pcbaddrisavail() from in6_pcbbind(), and use it whenVincent Gross
2015-12-03rm unused kernel only IPV6_RECVRTHDRDSTOPTS sockopt. ok deraadt sthenTed Unangst
2015-12-02Move port picking away from in_pcbbind()Vincent Gross
2015-10-24Ignore Router Advertisment's current hop limit.Martin Pieuchot
2015-09-22Remove inpt_lastport from struct inpcbtable, use local variablesVincent Gross
2015-04-16remove unfinished/unused support for socket-attached ipsec-policiesMarkus Friedl
2015-04-14Remove support for storing credentials and auth information in the kernel.Mike Belopuhov
2014-11-15use siphash in the in_pcb hashing. this mitigates it against floodingDavid Gwynne