X-Git-Url: https://git.distorted.org.uk/~mdw/unet/blobdiff_plain/4e3819cf328abf9cb0e43d76ef1b294a3bffa720..refs/heads/master:/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