diff options
author | 1998-05-18 21:10:15 +0000 | |
---|---|---|
committer | 1998-05-18 21:10:15 +0000 | |
commit | 56b012e8bb0174678ac20dc43f0081d045f66445 (patch) | |
tree | dc148c5a71504e0d9eea7dc3caf9d1c7062e3256 /sys/netinet/tcp_subr.c | |
parent | readlink len-1 (diff) | |
download | wireguard-openbsd-56b012e8bb0174678ac20dc43f0081d045f66445.tar.xz wireguard-openbsd-56b012e8bb0174678ac20dc43f0081d045f66445.zip |
first step to the setsockopt/getsockopt interface as described in
draft-mcdonald-simple-ipsec-api, kernel notifies (EMT_REQUESTSA) signal
userland key management applications when security services are requested.
this is only for outgoing connections at the moment, incoming packets
are not yet checked against the selected socket policy.
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r-- | sys/netinet/tcp_subr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index b02054e591b..3d5646e21f8 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_subr.c,v 1.9 1997/08/26 20:02:33 deraadt Exp $ */ +/* $OpenBSD: tcp_subr.c,v 1.10 1998/05/18 21:11:07 provos Exp $ */ /* $NetBSD: tcp_subr.c,v 1.22 1996/02/13 23:44:00 christos Exp $ */ /* @@ -216,7 +216,7 @@ tcp_respond(tp, ti, m, ack, seq, flags) ti->ti_sum = in_cksum(m, tlen); ((struct ip *)ti)->ip_len = tlen; ((struct ip *)ti)->ip_ttl = ip_defttl; - (void) ip_output(m, NULL, ro, 0, NULL); + (void) ip_output(m, NULL, ro, 0, NULL, tp ? tp->t_inpcb : NULL); } /* |