X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/unet/blobdiff_plain/88613db413040344e358f2749f25a736b9beab9d..7e365031ec834b5f8a2bb4074b2802074a693bd7:/unet.h diff --git a/unet.h b/unet.h index 8609e5f..5854f9c 100644 --- a/unet.h +++ b/unet.h @@ -1,6 +1,6 @@ /* -*-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. * @@ -29,6 +29,9 @@ /*----- 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). * @@ -151,6 +154,21 @@ struct unet_info { #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