From a6f111146978a2fc64ab0afb9db00eee60658c49 Mon Sep 17 00:00:00 2001 From: likewise Date: Thu, 4 Mar 2004 16:19:53 +0000 Subject: [PATCH] Matched interface documentation for netif_add() API change in 1.28.2.5. --- src/core/netif.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/netif.c b/src/core/netif.c index 6f0e2682..5e7dd8ff 100644 --- a/src/core/netif.c +++ b/src/core/netif.c @@ -50,12 +50,14 @@ struct netif *netif_default = NULL; /** * Add a network interface to the list of lwIP netifs. * + * @param netif a pre-allocated netif structure * @param ipaddr IP address for the new netif * @param netmask network mask for the new netif * @param gw default gateway IP address for the new netif * @param state opaque data passed to the new netif * @param init callback function that initializes the interface - * @param input callback function that... + * @param input callback function that is called to pass + * ingress packets up in the protocol layer stack. * * @return netif, or NULL if failed. */