summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_input.c
AgeCommit message (Expand)Author
2017-05-06Checking for IPv4 mapped addreses and dropping the packet is doneAlexander Bluhm
2017-05-04If m is not a continuous mbuf cluster, m_pullup() in pr_input mayAlexander Bluhm
2017-05-03Back out rev 1.185 (which made the code match the comment) andTodd C. Miller
2017-04-19Use the rt_rmx defines that hide the struct rt_kmetrics indirection.Alexander Bluhm
2017-04-17Use the address family passed down with pr_input to simplifyAlexander Bluhm
2017-04-14Pass down the address family through the pr_input calls. ThisAlexander Bluhm
2017-02-09percpu counters for TCP statsJeremie Courreges-Anglas
2017-01-29Change the IPv4 pr_input function to the way IPv6 is implemented,Alexander Bluhm
2017-01-25Since raw_input() and route_input() are gone from pr_input, we canAlexander Bluhm
2017-01-10Remove NULL checks before m_free(9), it deals with it.Martin Pieuchot
2016-12-19Introduce the NET_LOCK() a rwlock used to serialize accesses to the partsMartin Pieuchot
2016-11-16Be consistent and do not use braces for single line statements.Martin Pieuchot
2016-11-16Kill recursive splsoftnet()s.Martin Pieuchot
2016-11-15Use __func__ in panic strings to reduce noise when grepping.Martin Pieuchot
2016-11-07Use goto for consistently instead of splx() and return.Martin Pieuchot
2016-10-04One more timeout_set_proc(9) conversion.Martin Pieuchot
2016-09-19For incomming connections keep the TF_NOPUSH flag if TCP_NOPUSH wasAlexander Bluhm
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne
2016-08-31Use 'sc_route{4,6}' directly instead of casting them to 'struct route *'.Martin Pieuchot
2016-07-20Make the size for the syn cache hash array tunable. As we areAlexander Bluhm
2016-07-01Make accepted sockets inherit IP_TTL from the listening socket.Jeremie Courreges-Anglas
2016-06-27Missing "break;" in switch statement; repairs IP_MINTTL.Jeremie Courreges-Anglas
2016-06-27Implement IPV6_MINHOPCOUNT support.Jeremie Courreges-Anglas
2016-06-27Copy inp_hops from the listening socket to the accepted one and useAlexander Bluhm
2016-06-27The variable swapping between inp, newinp and oldinpcb in syn_cache_get()Alexander Bluhm
2016-06-09Fix typo in comment. From Kapetanakis GiannisAlexander Bluhm
2016-03-31If one of the TCP syn cache buckets overflow, it might be a collisionAlexander Bluhm
2016-03-29Allow to adjust tcp_syn_use_limit with sysctl net.inet.tcp.synuselimit.Alexander Bluhm
2016-03-27To prevent attacks on the hash buckets of the syn cache, our TCPAlexander Bluhm
2016-03-21Add a tcps_sc_seedrandom counter in TCP SYN cache and netstat -s.Alexander Bluhm
2016-03-07Sync no-argument function declaration and definition by adding (void).Christian Weisgerber
2016-01-22fix a missing if_put() in the default af path of tcp_mss()Jonathan Gray
2015-12-05upgrade tcp/ip to use the latest in C89 technology: memcpy.Ted Unangst
2015-12-03To avoid that the stack manipules the pf statekeys directly, introduceAlexander Bluhm
2015-11-29Fix an hypotetical NULL dereference which might become true once the TCPMartin Pieuchot
2015-11-20Make use if_get() and get rid of rt_ifp.Martin Pieuchot
2015-11-06Change nd6_nud_hint() to no longer manipulate rt_ifp directly.Martin Pieuchot
2015-10-28Remove linkmtu and maxmtu from struct nd_ifinfo. IN6_LINKMTU can nowFlorian Obser
2015-10-24Ignore Router Advertisment's current hop limit.Martin Pieuchot
2015-09-11Kill yet another argument to functions in IPv6. This time ip6_output'sClaudio Jeker
2015-09-10Only half of the IPv6 source address was used as input for the synAlexander Bluhm
2015-09-10if_put added to the if_get calls. Reshuffle some code to make this easier.Claudio Jeker
2015-08-27The syn cache is completely implemented in tcp_input.c. So all itsAlexander Bluhm
2015-08-24Set the required IPL at the syn-cache pool instead of doing aAlexander Bluhm
2015-08-24Rename the syn cache counter into tcp_syn_cache_count to have theAlexander Bluhm
2015-08-13Use foreach queue macros in tcp syn cache.Alexander Bluhm
2015-08-13In tcp syn cache convert the struct sockaddr casts to satosin()Alexander Bluhm
2015-07-16Expand ancient NTOHL/NTOHS/HTONS/HTONL macros.Martin Pieuchot
2015-07-15m_freem() can handle NULL, do not check for this condition beforehands.Theo de Raadt
2015-07-10Make KASSERT in tcp_input() less strict, tcpcb may be NULL.Alexander Bluhm