diff options
| author | 2008-06-11 19:00:50 +0000 | |
|---|---|---|
| committer | 2008-06-11 19:00:50 +0000 | |
| commit | ee37ea65a9079016f3c9a8d9ad03acbf094e0344 (patch) | |
| tree | 208df196c2e77cc3bc019ae4b45fa336630a73ae /sys/netinet6/udp6_output.c | |
| parent | Fix GART enabling by using segment end address instead of total (diff) | |
| download | wireguard-openbsd-ee37ea65a9079016f3c9a8d9ad03acbf094e0344.tar.xz wireguard-openbsd-ee37ea65a9079016f3c9a8d9ad03acbf094e0344.zip | |
ANSIfy to sync with KAME. From Karl Sjodahl <dunceor@gmail.com>.
ok todd deraadt naddy bluhm
Diffstat (limited to 'sys/netinet6/udp6_output.c')
| -rw-r--r-- | sys/netinet6/udp6_output.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/netinet6/udp6_output.c b/sys/netinet6/udp6_output.c index f0062c6a58e..f6c6315a3db 100644 --- a/sys/netinet6/udp6_output.c +++ b/sys/netinet6/udp6_output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udp6_output.c,v 1.14 2007/06/01 00:52:39 henning Exp $ */ +/* $OpenBSD: udp6_output.c,v 1.15 2008/06/11 19:00:50 mcbride Exp $ */ /* $KAME: udp6_output.c,v 1.21 2001/02/07 11:51:54 itojun Exp $ */ /* @@ -112,10 +112,8 @@ #define udp6s_opackets udps_opackets int -udp6_output(in6p, m, addr6, control) - struct in6pcb *in6p; - struct mbuf *m; - struct mbuf *addr6, *control; +udp6_output(struct in6pcb *in6p, struct mbuf *m, struct mbuf *addr6, + struct mbuf *control) { u_int32_t ulen = m->m_pkthdr.len; u_int32_t plen = sizeof(struct udphdr) + ulen; |
