summaryrefslogtreecommitdiff
path: root/pfinet/pfinet.h
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet/pfinet.h')
-rw-r--r--pfinet/pfinet.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/pfinet/pfinet.h b/pfinet/pfinet.h
index c5f53182..dbb8ed3a 100644
--- a/pfinet/pfinet.h
+++ b/pfinet/pfinet.h
@@ -92,4 +92,22 @@ void clean_socketport (void *);
typedef struct sock_user *sock_user_t;
typedef struct sock_addr *sock_addr_t;
+/* pfinet6 port classes. */
+enum {
+ PORTCLASS_INET,
+ PORTCLASS_INET6,
+};
+
+extern struct port_class *trivfs_protid_portclasses[];
+extern int trivfs_protid_nportclasses;
+
+extern struct port_class *trivfs_cntl_portclasses[2];
+extern int trivfs_cntl_nportclasses;
+
+/* Which portclass to install on the bootstrap port. */
+extern int pfinet_bootstrap_portclass;
+
+/* Install portclass on node NAME. */
+void pfinet_bind (int portclass, const char *name);
+
#endif