chiark / gitweb /
Improve the SLIP driver: allow dynamic creation of SLIP interfaces.
[tripe] / tripe.h
diff --git a/tripe.h b/tripe.h
index c8ad9ae1a40a42c2a278046f23eac11cf319cc0c..6dbfbad3c4ffa5814162c45c9c4c442dfbe76d65 100644 (file)
--- a/tripe.h
+++ b/tripe.h
@@ -270,8 +270,10 @@ enum {
     struct slipif *next;               /* Next one in the list */
     int ifd, ofd;                      /* File descriptors to talk on */
     char *name;                                /* Interface name */
+    pid_t kid;                         /* Child process id */
     unsigned f;                                /* Various flags */
 #     define SLIPIFF_INUSE 1u          /*   Interface is in use */
+#     define SLIPIFF_DYNAMIC 2u                /*   Interface found dynamically */
   } slipif;
 #endif