summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/net
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-06-07 07:24:00 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-06-07 13:02:21 +0200
commit26ccd139dc42c0abaafd5532729cb7d32afac9cf (patch)
tree8ac9f15fca1613498edf0da7b8efe23ea5038b4e /cpukit/libnetworking/net
parentnetwork: Use inet_ntoa_r() (diff)
downloadrtems-26ccd139dc42c0abaafd5532729cb7d32afac9cf.tar.bz2
network: Header file compatiblity
Move legacy network stack implementation specifics to <rtems/rtems_bsdnet_internal.h>. Include missing header files. Add interface flags compatibility. Update #2833.
Diffstat (limited to 'cpukit/libnetworking/net')
-rw-r--r--cpukit/libnetworking/net/if_arp.h1
-rw-r--r--cpukit/libnetworking/net/if_ethersubr.c1
-rw-r--r--cpukit/libnetworking/net/rtsock.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/libnetworking/net/if_arp.h b/cpukit/libnetworking/net/if_arp.h
index 76546784b6..7fbd36fcbb 100644
--- a/cpukit/libnetworking/net/if_arp.h
+++ b/cpukit/libnetworking/net/if_arp.h
@@ -100,6 +100,7 @@ struct arpreq {
#define ATF_USETRAILERS 0x10 /* has requested trailers */
#ifdef _KERNEL
+#include <net/if_var.h>
/*
* Structure shared between the ethernet driver modules and
* the address resolution code. For example, each ec_softc or il_softc
diff --git a/cpukit/libnetworking/net/if_ethersubr.c b/cpukit/libnetworking/net/if_ethersubr.c
index 0b87632318..5771d1dc35 100644
--- a/cpukit/libnetworking/net/if_ethersubr.c
+++ b/cpukit/libnetworking/net/if_ethersubr.c
@@ -56,6 +56,7 @@
#include <sys/sysctl.h>
#include <net/if.h>
+#include <net/if_var.h>
#include <net/if_arp.h>
#include <net/netisr.h>
#include <net/route.h>
diff --git a/cpukit/libnetworking/net/rtsock.c b/cpukit/libnetworking/net/rtsock.c
index 5a031221b1..d0d46b3a84 100644
--- a/cpukit/libnetworking/net/rtsock.c
+++ b/cpukit/libnetworking/net/rtsock.c
@@ -48,6 +48,7 @@
#include <sys/protosw.h>
#include <net/if.h>
+#include <net/if_var.h>
#include <net/route.h>
#include <net/raw_cb.h>