From 1a1996d898b414f92c9e35ab7b89d7dd82efd6ea Mon Sep 17 00:00:00 2001 From: "Angelos D. Keromytis" Date: Thu, 25 Feb 1999 01:30:50 +0000 Subject: Move union sockaddr_union to ip_ipsp.h --- sys/netinet/ip_ipsp.h | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'sys/netinet') diff --git a/sys/netinet/ip_ipsp.h b/sys/netinet/ip_ipsp.h index e3236785fb2..f0048366b3c 100644 --- a/sys/netinet/ip_ipsp.h +++ b/sys/netinet/ip_ipsp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ipsp.h,v 1.26 1999/02/24 23:45:52 angelos Exp $ */ +/* $OpenBSD: ip_ipsp.h,v 1.27 1999/02/25 01:30:49 angelos Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), @@ -35,17 +35,29 @@ * PURPOSE. */ +#ifndef _NETINET_IPSP_H_ +#define _NETINET_IPSP_H_ + /* * IPSP global definitions. */ +#include +#include #include #include #include #include #include #include -#include + +union sockaddr_union +{ + struct sockaddr sa; + struct sockaddr_in sin; + struct sockaddr_in6 sin6; + char __maxsize[128]; +}; /* HMAC key sizes */ #define MD5HMAC96_KEYSIZE 16 @@ -480,4 +492,5 @@ extern int checkreplaywindow32(u_int32_t, u_int32_t, u_int32_t *, u_int32_t, u_int32_t *); extern unsigned char ipseczeroes[]; -#endif +#endif /* _KERNEL */ +#endif /* _NETINET_IPSP_H_ */ -- cgit v1.2.3