]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add IFF_*defines.
authorUlrich Drepper <drepper@redhat.com>
Fri, 30 Jan 1998 18:03:41 +0000 (18:03 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 30 Jan 1998 18:03:41 +0000 (18:03 +0000)
sysdeps/unix/sysv/linux/net/if.h

index da99182dbcb3f03ffd975546b17512a03e7c249f..2d480d7dee996c3a32f4525942f540e98a8ee190 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
 enum
   {
     IFF_UP = 0x1,              /* Interface is up.  */
+#define IFF_UP IFF_UP
     IFF_BROADCAST = 0x2,       /* Broadcast address valid.  */
+#define IFF_BROADCAST IFF_BROADCAST
     IFF_DEBUG = 0x4,           /* Turn on debugging.  */
+#define IFF_DEBUG IFF_DEBUG
     IFF_LOOPBACK = 0x8,                /* Is a loopback net.  */
+#define IFF_LOOPBACK IFF_LOOPBACK
     IFF_POINTOPOINT = 0x10,    /* Interface is point-to-point link.  */
+#define IFF_POINTOPOINT IFF_POINTOPOINT
     IFF_NOTRAILERS = 0x20,     /* Avoid use of trailers.  */
+#define IFF_NOTRAILERS IFF_NOTRAILERS
     IFF_RUNNING = 0x40,                /* Resources allocated.  */
+#define IFF_RUNNING IFF_RUNNING
     IFF_NOARP = 0x80,          /* No address resolution protocol.  */
+#define IFF_NOARP IFF_NOARP
     IFF_PROMISC = 0x100,       /* Receive all packets.  */
+#define IFF_PROMISC IFF_PROMISC
+
     /* Not supported */
     IFF_ALLMULTI = 0x200,      /* Receive all multicast packets.  */
+#define IFF_ALLMULTI IFF_ALLMULTI
 
     IFF_MASTER = 0x400,                /* Master of a load balancer.  */
+#define IFF_MASTER IFF_MASTER
     IFF_SLAVE = 0x800,         /* Slave of a load balancer.  */
+#define IFF_SLAVE IFF_SLAVE
 
     IFF_MULTICAST = 0x1000,    /* Supports multicast.  */
+#define IFF_MULTICAST IFF_MULTICAST
 
     IFF_PORTSEL = 0x2000,      /* Can set media type.  */
+#define IFF_PORTSEL IFF_PORTSEL
     IFF_AUTOMEDIA = 0x4000     /* Auto media select active.  */
+#define IFF_AUTOMEDIA IFF_AUTOMEDIA
   };
 
 /* The ifaddr structure contains information about one address of an