summaryrefslogtreecommitdiff
path: root/sys/netinet/in_pcb.c
AgeCommit message (Expand)Author
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
2014-11-18move arc4random prototype to systm.h. more appropriate for most codeTed Unangst
2014-11-15use siphash in the in_pcb hashing. this mitigates it against floodingDavid Gwynne
2014-10-28Select a proper source address when the bound address isYASUOKA Masahiko
2014-10-14Use rtfree() instead of RTFREE(), NULLify some free'd route pointers andMartin Pieuchot
2014-09-27Kill rtalloc() and update rtalloc1() and rtalloc_mpath() to no longerMartin Pieuchot
2014-07-22Fewer <netinet/in_systm.h> !Martin Pieuchot
2014-07-12Resize the pcb hashtable automatically. The table size will be doubledYASUOKA Masahiko
2014-06-04Only use ifa_ifwithaddr() to check if the binding address is on theMartin Pieuchot
2014-05-07Remove the last hacks concerning the global list of IPv4 addresses in theMartin Pieuchot
2014-04-18Invert the signature logic of in{,6}_selectsrc, make them return theJeremie Courreges-Anglas
2014-04-16Merge in_fixaddr() into in_selectsrc() in order to prepare forMartin Pieuchot
2014-04-07Retire kernel support for SO_DONTROUTE, this time without breakingMartin Pieuchot
2014-04-06factor out source and destination address mangling from in_pcbconnect()Christopher Zimmermann
2014-04-06Remove redundant call to in{,6}_pcbbind() from tcp PRU_CONNECT.Christopher Zimmermann
2014-03-28revert "Retire kernel support for SO_DONTROUTE" diff, which does bad thingsStuart Henderson
2014-03-27Retire kernel support for SO_DONTROUTE, since the plan is to alwaysMartin Pieuchot
2014-01-18There was an awkward behaviour after a connection had been divertedAlexander Bluhm
2013-12-20Switch inpt_queue from CIRCLEQ to TAILQ. Thus ending use of CIRCLEQKenneth R Westerback
2013-10-23Back when some NRL code was merged into KAME to create the *BSD IPV6Theo de Raadt