From bcf6a465c72618dcec1fb8d2f674046caf5cad84 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 10 Jul 2017 12:12:17 -0600 Subject: [PATCH] ipforward.h: Add some forward references that are needed when CONFIG_NETDEV_MULTINIC is not enabled. --- net/ipforward/ipforward.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/net/ipforward/ipforward.h b/net/ipforward/ipforward.h index ff93f08aee..27a7375e28 100644 --- a/net/ipforward/ipforward.h +++ b/net/ipforward/ipforward.h @@ -281,6 +281,14 @@ void ipfwd_dropstats(FAR struct forward_s *fwd); #endif /* CONFIG_NETDEV_MULTINIC */ +/* Duplicates some forward references that are only available when + * CONFIG_NETDEV_MULTINIC is enabled. + */ + +struct net_driver_s; /* Forward reference */ +struct ipv4_hdr_s; /* Forward reference */ +struct ipv6_hdr_s; /* Forward reference */ + /**************************************************************************** * Name: ipv4_forward *