aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/net/if.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/net/if.h')
-rw-r--r--sysdeps/unix/sysv/linux/net/if.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/net/if.h b/sysdeps/unix/sysv/linux/net/if.h
index dd33af0337..3591dded7f 100644
--- a/sysdeps/unix/sysv/linux/net/if.h
+++ b/sysdeps/unix/sysv/linux/net/if.h
@@ -145,6 +145,8 @@ struct ifreq
#define ifr_slave ifr_ifru.ifru_slave /* slave device */
#define ifr_data ifr_ifru.ifru_data /* for use by interface */
#define ifr_ifindex ifr_ifru.ifru_ivalue /* interface index */
+#define ifr_bandwidth ifr_ifru.ifru_ivalue /* link bandwidth */
+#define ifr_qlen ifr_ifru.ifru_ivalue /* queue length */
/* Structure used in SIOCGIFCONF request. Used to retrieve interface