aboutsummaryrefslogtreecommitdiff
path: root/sys/ki/kinode.com
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
commitfa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch)
treebdda434976bc09c864f2e4fa6f16ba1952b1e555 /sys/ki/kinode.com
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
Diffstat (limited to 'sys/ki/kinode.com')
-rw-r--r--sys/ki/kinode.com18
1 files changed, 18 insertions, 0 deletions
diff --git a/sys/ki/kinode.com b/sys/ki/kinode.com
new file mode 100644
index 00000000..2e0e9a16
--- /dev/null
+++ b/sys/ki/kinode.com
@@ -0,0 +1,18 @@
+# KINODE.COM -- Node descriptor table. Contains one entry for each node listed
+# in the host name table file.
+
+int n_nnodes # number of nodes in table
+int n_local # index of the local node
+int n_default # index of the current defnode
+int n_kschan[MAX_NODES] # server channel (init to NULL)
+int n_nrefs[MAX_NODES] # number of k_oschan using node
+int n_status[MAX_NODES] # status bits for channel
+int n_nalias[MAX_NODES] # number of aliases
+char n_localnode[SZ_ALIAS] # name of the local node
+char n_defaultnode[SZ_ALIAS] # name of the default node
+char n_nodename[SZ_ALIAS] # node name working storage
+char n_server[SZ_SERVER,MAX_NODES] # kernel server names
+char n_alias[SZ_ALIAS,MAX_ALIAS,MAX_NODES] # aliases for the node
+
+common /kinode/ n_nnodes, n_local, n_default, n_kschan, n_nrefs, n_status,
+ n_nalias, n_localnode, n_defaultnode, n_nodename, n_server, n_alias