/* -*-c-*-
*
- * $Id: unet.h,v 1.1 2001/01/25 22:03:39 mdw Exp $
+ * $Id: unet.h,v 1.2 2001/02/19 19:10:28 mdw Exp $
*
* User-space network device support.
*
/*----- Revision history --------------------------------------------------*
*
* $Log: unet.h,v $
+ * Revision 1.2 2001/02/19 19:10:28 mdw
+ * New option to allow changing interface flags.
+ *
* Revision 1.1 2001/01/25 22:03:39 mdw
* Initial check-in (somewhat belated).
*
#define UNIOCSMAXIF _IO('U', 8)
+/* --- @UNIOCGIFFLAGS@ --- *
+ *
+ * Gets interface flags. To complement @UNIOCSIFFLAGS@.
+ */
+
+#define UNIOCGIFFLAGS _IO('U', 9)
+
+/* --- @UNIOCSIFFLAGS@ --- *
+ *
+ * Sets interface flags. This is required because there's no other sensible
+ * way to (e.g.) change the point-to-point flag.
+ */
+
+#define UNIOCSIFFLAGS _IO('U', 10)
+
/*----- That's all, folks -------------------------------------------------*/
#ifdef __cplusplus