diff options
author | 2010-07-03 04:44:50 +0000 | |
---|---|---|
committer | 2010-07-03 04:44:50 +0000 | |
commit | 8bb39f085984c8f31e98e59d88cab46a5aa1548e (patch) | |
tree | 841fb14fb8115333f08970c7eca7ab1ad359933b /sys/netinet/tcp_timer.c | |
parent | Regen. (diff) | |
download | wireguard-openbsd-8bb39f085984c8f31e98e59d88cab46a5aa1548e.tar.xz wireguard-openbsd-8bb39f085984c8f31e98e59d88cab46a5aa1548e.zip |
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
Diffstat (limited to 'sys/netinet/tcp_timer.c')
-rw-r--r-- | sys/netinet/tcp_timer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c index 8253775bfa3..a1dd72aae79 100644 --- a/sys/netinet/tcp_timer.c +++ b/sys/netinet/tcp_timer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_timer.c,v 1.44 2009/11/13 20:54:05 claudio Exp $ */ +/* $OpenBSD: tcp_timer.c,v 1.45 2010/07/03 04:44:51 guenther Exp $ */ /* $NetBSD: tcp_timer.c,v 1.14 1996/02/13 23:44:09 christos Exp $ */ /* @@ -213,14 +213,14 @@ tcp_timer_rexmt(void *arg) icmp.icmp_ip.ip_len = tp->t_pmtud_ip_len; icmp.icmp_ip.ip_hl = tp->t_pmtud_ip_hl; icmpsrc.sin_addr = tp->t_inpcb->inp_faddr; - icmp_mtudisc(&icmp, tp->t_inpcb->inp_rdomain); + icmp_mtudisc(&icmp, tp->t_inpcb->inp_rtableid); /* * Notify all connections to the same peer about * new mss and trigger retransmit. */ in_pcbnotifyall(&tcbtable, sintosa(&icmpsrc), - tp->t_inpcb->inp_rdomain, EMSGSIZE, tcp_mtudisc); + tp->t_inpcb->inp_rtableid, EMSGSIZE, tcp_mtudisc); splx(s); return; } @@ -286,7 +286,7 @@ tcp_timer_rexmt(void *arg) sin.sin_len = sizeof(struct sockaddr_in); sin.sin_addr = inp->inp_faddr; rt = icmp_mtudisc_clone(sintosa(&sin), - inp->inp_rdomain); + inp->inp_rtableid); break; } if (rt != NULL) { |