summaryrefslogtreecommitdiff
path: root/sys/netinet/in_pcb.c
AgeCommit message (Expand)Author
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
2016-03-23Merge in_pcbbind() and in6_pcbbind(), and change every call toVincent Gross
2016-03-23Extract in_pcbaddrisavail() from in_pcbbind().Vincent Gross
2015-12-18Fix SO_REUSE* flags effects when binding multicast addresses. NoVincent Gross
2015-12-03Get rid of rt_mask() and stop allocating a "struct sockaddr" for everyMartin Pieuchot
2015-12-03Remove broadcast matching from ifa_ifwithaddr(), use in_broadcast() whereVincent Gross
2015-12-03To avoid that the stack manipules the pf statekeys directly, introduceAlexander Bluhm
2015-12-03Rename pf_unlink_state() to pf_remove_state() so the name does notAlexander Bluhm
2015-12-02Move port picking away from in_pcbbind()Vincent Gross
2015-12-02- hide PF internals to pf_unlink_divert_state() from in_pcb.cAlexandr Nedvedicky
2015-10-30Rename rtrequest1() to rtrequest().Alexander Bluhm
2015-10-25Instead of doing the the if_get() dance for rt_missmsg(), change theAlexander Bluhm
2015-10-23``rt_ifp'' cannot be NULL.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-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-11Stricter checks on sockaddr content when binding PF_INET sockets.Vincent Gross
2015-09-11Only include <sys/tame.h> in the .c files that need itPhilip Guenther
2015-09-09if_put after you if_getDavid Gwynne
2015-09-01Replace sockaddr casts with the proper satosin(), ... calls.Alexander Bluhm
2015-08-22Move to tame(int flags, char *paths[]) API/ABI.Theo de Raadt
2015-08-19Convert all calls to rtrequest1() and the following error checkAlexander Bluhm
2015-07-19tame(2) is a subsystem which restricts programs into a "reduced featureTheo de Raadt
2015-07-15m_freem() can handle NULL, do not check for this condition beforehands.Theo de Raadt
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
2015-02-10bzero -> memset and unify sizeof() usage (no space).Claudio Jeker
2015-02-10Nuke sin_zero before passing it on down into the ifa_ifwithaddr() thatClaudio Jeker
2015-01-24Userland (base & ports) was adapted to always include <netinet/in.h>Theo de Raadt
2014-12-17Use an interface index instead of a pointer for multicast options.Martin Pieuchot
2014-12-05Explicitly include <net/if_var.h> instead of pulling it in <net/if.h>.Martin Pieuchot