From 0ed4fd6741426a86e49ff22303a2d469fbdc8c23 Mon Sep 17 00:00:00 2001 From: likewise Date: Thu, 28 Nov 2002 15:03:07 +0000 Subject: [PATCH] Documented ( *output)() and ( *linkoutput)() better for upcoming ARP changes. --- src/include/lwip/netif.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/include/lwip/netif.h b/src/include/lwip/netif.h index ab64a58f..662d651f 100644 --- a/src/include/lwip/netif.h +++ b/src/include/lwip/netif.h @@ -60,9 +60,13 @@ struct netif { char name[2]; /* This function is called by the IP module when it wants - to send a packet on the interface. */ + to send a packet on the interface. This function typically + first resolves the hardware address, then sends the packet. */ err_t (* output)(struct netif *netif, struct pbuf *p, struct ip_addr *ipaddr); + /* This function is called by the ARP module when it wants + to send a packet on the interface. This function outputs + the pbuf on the link medium. */ err_t (* linkoutput)(struct netif *netif, struct pbuf *p); /* This field can be set bu the device driver and could point