diff --git a/src/core/netif.c b/src/core/netif.c index 9be93721..74480017 100644 --- a/src/core/netif.c +++ b/src/core/netif.c @@ -5,7 +5,7 @@ */ /* - * Copyright (c) 2001-2003 Swedish Institute of Computer Science. + * Copyright (c) 2001-2004 Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, @@ -39,23 +39,24 @@ #include "lwip/opt.h" #include "lwip/def.h" -#include "lwip/netif.h" #include "lwip/ip_addr.h" +#include "lwip/netif.h" #include "lwip/tcp.h" - struct netif *netif_list = NULL; 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. */