History log of /openbsd-src/sys/netinet/tcp_timer.c (Results 26 – 50 of 82)
Revision Date Author Comments
# aa28b9a6 11-Aug-2017 mpi <mpi@openbsd.org>

Remove NET_LOCK()'s argument.

Tested by Hrvoje Popovski, ok bluhm@


# 66736630 16-May-2017 mpi <mpi@openbsd.org>

Replace remaining splsoftassert(IPL_SOFTNET) by NET_ASSERT_LOCKED().

ok visa@


# 9b6a6412 19-Apr-2017 bluhm <bluhm@openbsd.org>

Use the rt_rmx defines that hide the struct rt_kmetrics indirection.
No binary change.
OK mpi@


# 79a86c4b 09-Feb-2017 jca <jca@openbsd.org>

percpu counters for TCP stats

ok mpi@ bluhm@


# 2b4720fc 19-Dec-2016 mpi <mpi@openbsd.org>

Introduce the NET_LOCK() a rwlock used to serialize accesses to the parts
of the network stack that are not yet ready to be executed in parallel or
where new sleeping points are not possible.

This f

Introduce the NET_LOCK() a rwlock used to serialize accesses to the parts
of the network stack that are not yet ready to be executed in parallel or
where new sleeping points are not possible.

This first pass replace all the entry points leading to ip_output(). This
is done to not introduce new sleeping points when trying to acquire ART's
write lock, needed when a new L2 entry is created via the RT_RESOLVE.

Inputs from and ok bluhm@, ok dlg@

show more ...


# b74a9ada 28-Nov-2016 mpi <mpi@openbsd.org>

Assert that every slow/fast timeout routine is called at IPL_SOFTNET.

This removes multipe recursive splsoftnet()/splx() dances.


# 70f38838 07-Nov-2016 mpi <mpi@openbsd.org>

Use goto for consistently instead of splx() and return.

This will allow to have a single lock/unlock dance per timer.


# 288aa5ef 24-Sep-2016 naddy <naddy@openbsd.org>

ANSIfy netinet/; from David Hill


# c799dc6d 07-Mar-2016 naddy <naddy@openbsd.org>

Sync no-argument function declaration and definition by adding (void).
ok mpi@ millert@


# 2ec318bf 22-Jul-2014 mpi <mpi@openbsd.org>

Fewer <netinet/in_systm.h> !


# c8217e48 08-Aug-2013 mpi <mpi@openbsd.org>

Change MTU discovery functions to not abuse the global icmpsrc variable
to pass the destination address of the route to clone.

ok markus@, mikeb@


# 04c823f3 06-Jul-2011 sthen <sthen@openbsd.org>

Add sysctl net.inet.tcp.always_keepalive, when this is set the system
behaves as if SO_KEEPALIVE was set on all TCP sockets, forcing keepalives
to be sent every net.inet.tcp.keepidle half-seconds.

I

Add sysctl net.inet.tcp.always_keepalive, when this is set the system
behaves as if SO_KEEPALIVE was set on all TCP sockets, forcing keepalives
to be sent every net.inet.tcp.keepidle half-seconds.

In conjunction with a keepidle value greatly reduced from the default,
this can be useful for keeping sessions open if you are stuck on a network
with short NAT or firewall timeouts.

Feedback from various people, ok henning@ claudio@

show more ...


# 8bb39f08 03-Jul-2010 guenther <guenther@openbsd.org>

Fix the naming of interfaces and variables for rdomains and rtables
and make it possible to bind sockets (including listening sockets!)
to rtables and not just rdomains. This changes the name of the

Fix the naming of interfaces and variables for rdomains and rtables
and make it possible to bind sockets (including listening sockets!)
to rtables and not just rdomains. This changes the name of the
system calls, socket option, and ioctl. After building with this
you should remove the files /usr/share/man/cat2/[gs]etrdomain.0.

Since this removes the existing [gs]etrdomain() system calls, the
libc major is bumped.

Written by claudio@, criticized^Wcritiqued by me

show more ...


# f9e6f63a 13-Nov-2009 claudio <claudio@openbsd.org>

Extend the protosw pr_ctlinput function to include the rdomain. This is
needed so that the route and inp lookups done in TCP and UDP know where
to look. Additionally in_pcbnotifyall() and tcp_respond

Extend the protosw pr_ctlinput function to include the rdomain. This is
needed so that the route and inp lookups done in TCP and UDP know where
to look. Additionally in_pcbnotifyall() and tcp_respond() got a rdomain
argument as well for similar reasons. With this tcp seems to be now
fully rdomain save and no longer leaks single packets into the main domain.
Looks good markus@, henning@

show more ...


# 22760f56 05-Jun-2009 claudio <claudio@openbsd.org>

Initial support for routing domains. This allows to bind interfaces to
alternate routing table and separate them from other interfaces in distinct
routing tables. The same network can now be used in

Initial support for routing domains. This allows to bind interfaces to
alternate routing table and separate them from other interfaces in distinct
routing tables. The same network can now be used in any doamin at the same
time without causing conflicts.
This diff is mostly mechanical and adds the necessary rdomain checks accross
net and netinet. L2 and IPv4 are mostly covered still missing pf and IPv6.
input and tested by jsg@, phessler@ and reyk@. "put it in" deraadt@

show more ...


# caf24af4 20-Feb-2008 markus <markus@openbsd.org>

when creating a response, use the correct TCP header instead of
relying on the mbuf chain layout; with claudio@ and krw@; ok henning@


# 7ee745f8 27-Nov-2007 deraadt <deraadt@openbsd.org>

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 8efe75c5 01-Sep-2007 henning <henning@openbsd.org>

since the
MGET* macros were changed to function calls, there wasn't any
need for the pool declarations and the inclusion of pool.h
From: tbert <bret.lambert@gmail.com>


# 16193b2b 15-Jun-2007 markus <markus@openbsd.org>

Drop the current random timestamps and the current ISN generation
code and replace both with a RFC1948 based method, so TCP clients
now have monotonic ISN/timestamps. The server side uses completely

Drop the current random timestamps and the current ISN generation
code and replace both with a RFC1948 based method, so TCP clients
now have monotonic ISN/timestamps. The server side uses completely
random ISN/timestamps and does time-wait recycling (on port reuse).
ok djm@, mcbride@; thanks to lots of testers

show more ...


# d22fa33d 15-Nov-2005 miod <miod@openbsd.org>

Only two `h' in threshold.


# 4063babe 30-Jun-2005 markus <markus@openbsd.org>

implement PMTU checks from
http://www.gont.com.ar/drafts/icmp-attacks-against-tcp.html
i.e. don't act on ICMP-need-frag immediately if adhoc checks on the
advertised mtu fail. the mtu update

implement PMTU checks from
http://www.gont.com.ar/drafts/icmp-attacks-against-tcp.html
i.e. don't act on ICMP-need-frag immediately if adhoc checks on the
advertised mtu fail. the mtu update is delayed until a tcp retransmit
happens. initial patch by Fernando Gont, tested by many.

show more ...


# fe948596 13-Dec-2004 espie <espie@openbsd.org>

zap lvalue assignment, okay markus@. approved miod@


# b088ae5b 25-Nov-2004 markus <markus@openbsd.org>

fix for race between invocation for timer and network input
1) add a reaper for TCP and SYN cache states (cf. netbsd pr 20390)
2) additional check for TCP_TIMER_ISARMED(TCPT_REXMT) in tcp_timer_persi

fix for race between invocation for timer and network input
1) add a reaper for TCP and SYN cache states (cf. netbsd pr 20390)
2) additional check for TCP_TIMER_ISARMED(TCPT_REXMT) in tcp_timer_persist()
with mickey@; ok deraadt@

show more ...


# 64aa4cc7 10-Dec-2003 itojun <itojun@openbsd.org>

de-register. deraadt ok


# 29295d1c 02-Jun-2003 millert <millert@openbsd.org>

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


1234