]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add new values.
authorUlrich Drepper <drepper@redhat.com>
Wed, 19 Nov 1997 23:52:36 +0000 (23:52 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 19 Nov 1997 23:52:36 +0000 (23:52 +0000)
sysdeps/unix/sysv/linux/net/if.h
sysdeps/unix/sysv/linux/net/if_arp.h

index db86d20f23fff7331e309d8b7894950e0e46315c..da99182dbcb3f03ffd975546b17512a03e7c249f 100644 (file)
@@ -42,7 +42,10 @@ enum
     IFF_MASTER = 0x400,                /* Master of a load balancer.  */
     IFF_SLAVE = 0x800,         /* Slave of a load balancer.  */
 
-    IFF_MULTICAST = 0x1000     /* Supports multicast.  */
+    IFF_MULTICAST = 0x1000,    /* Supports multicast.  */
+
+    IFF_PORTSEL = 0x2000,      /* Can set media type.  */
+    IFF_AUTOMEDIA = 0x4000     /* Auto media select active.  */
   };
 
 /* The ifaddr structure contains information about one address of an
index d784f0cfc7bc976b221bfe98f0db952c93c55d81..80f4516344ae6126db1b5dbb8dbc95f3b54f3345 100644 (file)
@@ -69,7 +69,7 @@ struct arphdr
 
 /* ARP protocol HARDWARE identifiers. */
 #define ARPHRD_NETROM  0               /* From KA9Q: NET/ROM pseudo. */
-#define ARPHRD_ETHER   1               /* Ethernet 10Mbps.  */
+#define ARPHRD_ETHER   1               /* Ethernet 10/100Mbps.  */
 #define        ARPHRD_EETHER   2               /* Experimental Ethernet.  */
 #define        ARPHRD_AX25     3               /* AX.25 Level 2.  */
 #define        ARPHRD_PRONET   4               /* PROnet token ring.  */
@@ -92,6 +92,7 @@ struct arphdr
 #define ARPHRD_PPP     512
 #define ARPHRD_HDLC    513             /* (Cisco) HDLC.  */
 #define ARPHRD_LAPB    516             /* LAPB.  */
+#define ARPHRD_ASH     517             /* ASH.  */
 
 #define ARPHRD_TUNNEL  768             /* IPIP tunnel.  */
 #define ARPHRD_TUNNEL6 769             /* IPIP6 tunnel.  */