summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hurd/hurd_types.defs13
-rw-r--r--hurd/hurd_types.h1
2 files changed, 14 insertions, 0 deletions
diff --git a/hurd/hurd_types.defs b/hurd/hurd_types.defs
index d37cd561..ae7458bc 100644
--- a/hurd/hurd_types.defs
+++ b/hurd/hurd_types.defs
@@ -95,6 +95,19 @@ destructor: SOCKET_DESTRUCTOR
#endif
;
+/* Protocol family */
+type pf_t = mach_port_copy_send_t
+#ifdef PF_INTRAN
+intran: PF_INTRAN
+#endif
+#ifdef PF_OUTTRAN
+outtran: PF_OUTTRAN
+#endif
+#ifdef PF_DESTRUCTOR
+destructor: PF_DESTRUCTOR
+#endif
+;
+
type addr_port_t = mach_port_copy_send_t
#ifdef ADDRPORT_INTRAN
intran: ADDRPORT_INTRAN
diff --git a/hurd/hurd_types.h b/hurd/hurd_types.h
index 921cb127..7c6658e2 100644
--- a/hurd/hurd_types.h
+++ b/hurd/hurd_types.h
@@ -40,6 +40,7 @@ typedef mach_port_t io_t;
typedef mach_port_t process_t;
typedef mach_port_t auth_t;
typedef mach_port_t socket_t;
+typedef mach_port_t pf_t; /* Protocol family */
typedef mach_port_t addr_port_t;
typedef mach_port_t startup_t;
typedef mach_port_t proccoll_t;