blob: 2c65462b940505bfc2c2a54f6770b082a62d178b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$NetBSD: patch-ah,v 1.3 1999/07/09 15:58:34 itojun Exp $
--- sockunion.h.orig Fri Jul 9 08:18:22 1999
+++ sockunion.h Fri Jul 9 08:20:21 1999
@@ -0,0 +1,14 @@
+union sockunion {
+ struct sockinet {
+ u_char si_len;
+ u_char si_family;
+ u_short si_port;
+ } su_si;
+ struct sockaddr_in su_sin;
+#ifdef INET6
+ struct sockaddr_in6 su_sin6;
+#endif
+};
+#define su_len su_si.si_len
+#define su_family su_si.si_family
+#define su_port su_si.si_port
|