summaryrefslogtreecommitdiff
path: root/sys/netinet6/in6_pcb.c
AgeCommit message (Expand)Author
2024-01-09Convert some struct inpcb parameter to const pointer.Alexander Bluhm
2023-12-07Inpcb table mutex protects addr and port during bind(2) and connect(2).Alexander Bluhm
2023-12-03Rename all in6p local variables to inp.Alexander Bluhm
2023-12-03Use INP_IPV6 flag instead of sotopf().Alexander Bluhm
2023-12-01Set inp address, port and rtable together with inpcb hash.Alexander Bluhm
2023-12-01Make internet PCB connect more consistent.Alexander Bluhm
2023-11-29Document inp_socket as immutable and remove NULL checks.Alexander Bluhm
2023-11-28Remove struct inpcb from in6_embedscope() parameters.Alexander Bluhm
2023-06-24Calculate inet PCB SIP hash without table mutex.Alexander 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-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-04-14Relax address availability check for multicast binds.Claudio Jeker
2022-03-21Header netinet/in_pcb.h includes sys/mutex.h now. Recommit mutexAlexander 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
2021-02-11Swap faddr/laddr and fport/lport arguments in call to stoeplitz_ipXport().Patrick Wildt
2021-01-25if stoeplitz is enabled, use it to provide a flowid for tcp packets.David Gwynne
2019-11-29add __func__ to panic() and printf() calls in sys/netinet6/*Nayden Markatchev
2019-10-17in6_setsockaddr and in6_setpeeraddr can't fail, so let them return void.David Gwynne
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-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-06-14Assert that the INP_IPV6 in in6_pcbconnect() is correct. Just callAlexander Bluhm
2018-06-07The global zero addresses must not change, mark them constant.Alexander Bluhm
2018-06-03Use variable names for rtable and rdomain consistently in the in_pcbAlexander Bluhm
2018-06-03Consistently call the inpcb table parameter "table" in in6_pcbnotify().Alexander Bluhm
2017-08-11Validate sockaddr from userland in central functions. This resultsAlexander Bluhm
2017-08-04The in_pcbhashlookup() in in_pcbconnect() enforces that the 4 tupelAlexander Bluhm
2017-05-13Do not check for locally bound mapped addresses in in6_pcbconnect(),Alexander Bluhm
2017-03-07When the inpcb queue and hash lists are traversed or modified weAlexander Bluhm
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-07-05Expand IN6_IFF_NOTREADY, ok bluhm@Martin Pieuchot
2016-04-11Rename in_pcblookup() to in_pcblookup_local() and change its prototypeVincent Gross
2016-04-05Move reserved port checks from in(6)_pcbaddrisavail() to in_pcbbind().Vincent Gross
2016-03-30Use in6_pcbhashlookup() in in6_pcbconnect(). We don't need in_pcblookup()Vincent Gross
2016-03-23Merge in_pcbbind() and in6_pcbbind(), and change every call toVincent Gross
2016-03-21Extract in6_pcbaddrisavail() from in6_pcbbind(), and use it whenVincent Gross
2016-03-20Revert, missing decl for in6_pcbaddrisavail() breaks kernel build.Jeremie Courreges-Anglas
2016-03-19Extract in6_pcbaddrisavail() from in6_pcbbind(), and use it whenVincent Gross
2016-03-12Add checks on overlapping IPv6 sockets ownershipVincent Gross
2015-12-18Fix SO_REUSE* flags effects when binding multicast addresses. NoVincent Gross
2015-12-02Move port picking away from in_pcbbind()Vincent Gross