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_output.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_output.c')
-rw-r--r-- | sys/netinet/tcp_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c index 5d024b41c80..7bfe9d49fe1 100644 --- a/sys/netinet/tcp_output.c +++ b/sys/netinet/tcp_output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_output.c,v 1.9 1998/02/03 19:06:30 deraadt Exp $ */ +/* $OpenBSD: tcp_output.c,v 1.10 1998/05/18 21:11:06 provos Exp $ */ /* $NetBSD: tcp_output.c,v 1.16 1997/06/03 16:17:09 kml Exp $ */ /* @@ -566,7 +566,7 @@ send: ((struct ip *)ti)->ip_tos = tp->t_inpcb->inp_ip.ip_tos; /* XXX */ #if BSD >= 43 error = ip_output(m, tp->t_inpcb->inp_options, &tp->t_inpcb->inp_route, - so->so_options & SO_DONTROUTE, 0); + so->so_options & SO_DONTROUTE, 0, tp->t_inpcb); #else error = ip_output(m, (struct mbuf *)0, &tp->t_inpcb->inp_route, so->so_options & SO_DONTROUTE); |