ipforward.h: Add some forward references that are needed when CONFIG_NETDEV_MULTINIC is not enabled.

This commit is contained in:
Gregory Nutt 2017-07-10 12:12:17 -06:00
parent 36f4e08de0
commit bcf6a465c7
1 changed files with 8 additions and 0 deletions

View File

@ -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
*