summaryrefslogtreecommitdiff
path: root/sys/netinet6/in6_pcb.c
AgeCommit message (Expand)Author
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
2015-10-24Ignore Router Advertisment's current hop limit.Martin Pieuchot
2015-10-20At guenther's suggestion replace dnssocket() with a SOCK_DNS flag onTheo de Raadt
2015-10-19Stop checking for RTF_UP directly, call rtisvalid(9) instead.Martin Pieuchot
2015-10-19deduplicate in[6]_pcbbind() port scan loop.Vincent Gross
2015-10-18Add two new system calls: dnssocket() and dnsconnect(). This creates aTheo de Raadt
2015-10-15in6_pcbconnect() returns EADDRNOTAVAIL whenVincent Gross
2015-10-09Rename tame() to pledge(). This fairly interface has evolved to be moreTheo de Raadt
2015-09-22Remove inpt_lastport from struct inpcbtable, use local variablesVincent Gross
2015-09-11Convert _TM_ flags to TAME_ flags, collapsing the entire mappingTheo de Raadt
2015-09-11Only include <sys/tame.h> in the .c files that need itPhilip Guenther
2015-09-11in6_embedscope() needs to lose some weight. Remove the last argument.Claudio Jeker