about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/ifreq.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/ifreq.h')
-rw-r--r--sysdeps/mach/hurd/ifreq.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/ifreq.h b/sysdeps/mach/hurd/ifreq.h
index f2143d8c70..77f0b9cac0 100644
--- a/sysdeps/mach/hurd/ifreq.h
+++ b/sysdeps/mach/hurd/ifreq.h
@@ -66,6 +66,13 @@ __ifreq (struct ifreq **ifreqs, int *num_ifs, int sockfd)
 }
 
 
+static inline struct ifreq *
+__if_nextreq (struct ifreq *ifr)
+{
+  return ifr + 1;
+}
+
+
 static inline void
 __if_freereq (struct ifreq *ifreqs, int num_ifs)
 {