summaryrefslogtreecommitdiff
path: root/sys/netinet/in_pcb.c
AgeCommit message (Expand)Author
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-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-09-10Remove useless INPCBHASH() macros. Just expand them.Alexander Bluhm
2018-09-07Explain the special case for redirect to localhost in a comment.Alexander Bluhm
2018-07-11Retire RTM_LOSING, it no longer makes sense and on busy servers theClaudio Jeker
2018-06-14In in_pcballoc() finish the inp initialization before adding it toAlexander Bluhm
2018-06-14Assert that the INP_IPV6 in in6_pcbconnect() is correct. Just callAlexander Bluhm
2018-06-11Do not unlock the KERNEL_LOCK() unconditionally in sounlock().Martin Pieuchot
2018-06-11Push the KERNEL_LOCK() inside route_input().Martin Pieuchot
2018-06-07The global zero addresses must not change, mark them constant.Alexander Bluhm
2018-06-06Pass the socket to sounlock(), this prepare the terrain for per-socketMartin Pieuchot
2018-06-03Use variable names for rtable and rdomain consistently in the in_pcbAlexander Bluhm
2018-06-03Rename the incpb table field inpt_hash to inpt_mask as it containsAlexander Bluhm
2018-06-02Cleanup the in_pcbnotifymiss diagnostic printfs. Always print theAlexander Bluhm
2018-06-02The function in_pcbrehash() does not modify the pcb table queue.Alexander Bluhm
2018-03-30Store the allocation size in inpcbhead for free().David Hill
2018-02-19Remove almost unused `flags' argument of suser().Martin Pieuchot
2017-12-04Make divert lookup similar for all socket types. If PF_TAG_DIVERTEDAlexander Bluhm
2017-12-01Fix white spaces and shorten long line.Alexander Bluhm
2017-12-01Simplify the reverse PCB lookup logic. The PF_TAG_TRANSLATE_LOCALHOSTAlexander 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-06-09Replace rtrequest(RTM_DELETE...) rtrequest_delete() and do not evenMartin Pieuchot
2017-06-07Grab the KERNEL_LOCK() around rtm*() functions. Routing sockets globalsMartin Pieuchot
2017-03-07When the inpcb queue and hash lists are traversed or modified weAlexander Bluhm
2017-03-07Initially in_pcballoc() hooked all new inpcb, including the IPv6Alexander Bluhm
2017-03-06Kill global list of IPv6 addresses.Martin Pieuchot
2017-03-06Prefix functions dealing with routing messages with 'rtm_' and keepMartin Pieuchot
2016-10-06Remove redundant comments that say a function must be called atAlexander Bluhm
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne
2016-09-06pool_setipl for various netinet and netinet6 bitsDavid Gwynne
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-19NULLify a route pointer after calling rtfree(9).Martin Pieuchot
2016-07-05Do not use ``rt_addr'' in in{6,}_selectsrc() it doesn't work with magicMartin Pieuchot
2016-06-30Use ``rt_addr'' rather than ``rt_ifa'' to get the source addressMartin Pieuchot
2016-06-18Add net.inet.{tcp,udp}.rootonly sysctl, to mark which portsVincent Gross
2016-04-19Use the correct byte-order when checking against baddynamic ports,Stuart Henderson
2016-04-13Remove extra parenthesis around comparison.Vincent Gross
2016-04-12Unbreak tree. Put 'laddr6' declaration inside #ifdef INET6/#endif.Kenneth R Westerback
2016-04-11Simplify in_pcblookup_local() logic.Vincent Gross
2016-04-11Rename in_pcblookup() to in_pcblookup_local() and change its prototypeVincent Gross
2016-04-08We must always check if the socket is already bound, and always setVincent Gross
2016-04-05Move reserved port checks from in(6)_pcbaddrisavail() to in_pcbbind().Vincent Gross
2016-04-05Move inp_laddr assignment after in_pcbpickport(), extend in_pcbpickport()Vincent Gross
2016-03-26Always include the route priority in routing messages.Martin Pieuchot