[patch] define IFF_DYNAMIC in gnu net/if.h

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[patch] define IFF_DYNAMIC in gnu net/if.h

Mike Frysinger
linux headers define IFF_DYNAMIC which hasnt made it yet into the libc if.h
-mike

2006-02-24  Mike Frysinger  <[hidden email]>

        * sysdeps/gnu/net/if.h (IFF_DYNAMIC): Define.

--- sysdeps/gnu/net/if.h
+++ sysdeps/gnu/net/if.h
@@ -75,8 +75,10 @@ enum
 
     IFF_PORTSEL = 0x2000, /* Can set media type.  */
 # define IFF_PORTSEL IFF_PORTSEL
-    IFF_AUTOMEDIA = 0x4000 /* Auto media select active.  */
+    IFF_AUTOMEDIA = 0x4000, /* Auto media select active.  */
 # define IFF_AUTOMEDIA IFF_AUTOMEDIA
+    IFF_DYNAMIC = 0x8000 /* Dialup device with changing addresses.  */
+# define IFF_DYNAMIC IFF_DYNAMIC
   };
 
 /* The ifaddr structure contains information about one address of an
Reply | Threaded
Open this post in threaded view
|

Re: [patch] define IFF_DYNAMIC in gnu net/if.h

Roland McGrath
Thanks, I added the macro.