summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/socket.h7
-rw-r--r--sys/sys/sysctl.h3
2 files changed, 7 insertions, 3 deletions
diff --git a/sys/sys/socket.h b/sys/sys/socket.h
index 258891fb099..c1ba7fc208a 100644
--- a/sys/sys/socket.h
+++ b/sys/sys/socket.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: socket.h,v 1.73 2011/07/04 00:33:36 mikeb Exp $ */
+/* $OpenBSD: socket.h,v 1.74 2011/07/08 18:38:55 yasuoka Exp $ */
/* $NetBSD: socket.h,v 1.14 1996/02/09 18:25:36 christos Exp $ */
/*
@@ -153,7 +153,8 @@ struct splice {
#define AF_BLUETOOTH 32 /* Bluetooth */
#define AF_MPLS 33 /* MPLS */
#define pseudo_AF_PFLOW 34 /* pflow */
-#define AF_MAX 35
+#define pseudo_AF_PIPEX 35 /* PIPEX */
+#define AF_MAX 36
/*
* Structure used by kernel to store most
@@ -234,6 +235,7 @@ struct sockproto {
#define PF_BLUETOOTH AF_BLUETOOTH
#define PF_MPLS AF_MPLS
#define PF_PFLOW pseudo_AF_PFLOW
+#define PF_PIPEX pseudo_AF_PIPEX
#define PF_MAX AF_MAX
/*
@@ -316,6 +318,7 @@ struct sockpeercred {
{ "bluetooth", CTLTYPE_NODE }, \
{ "mpls", CTLTYPE_NODE }, \
{ "pflow", CTLTYPE_NODE }, \
+ { "pipex", CTLTYPE_NODE }, \
}
/*
diff --git a/sys/sys/sysctl.h b/sys/sys/sysctl.h
index 3123988c9ad..f8885b68df9 100644
--- a/sys/sys/sysctl.h
+++ b/sys/sys/sysctl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysctl.h,v 1.115 2011/07/05 04:48:02 guenther Exp $ */
+/* $OpenBSD: sysctl.h,v 1.116 2011/07/08 18:38:55 yasuoka Exp $ */
/* $NetBSD: sysctl.h,v 1.16 1996/04/09 20:55:36 cgd Exp $ */
/*
@@ -962,6 +962,7 @@ extern void (*cpu_setperf)(int);
int bpf_sysctl(int *, u_int, void *, size_t *, void *, size_t);
int pflow_sysctl(int *, u_int, void *, size_t *, void *, size_t);
+int pipex_sysctl(int *, u_int, void *, size_t *, void *, size_t);
#else /* !_KERNEL */
#include <sys/cdefs.h>