mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-29 18:32:46 +00:00
Minor: Documentation updates
This commit is contained in:
parent
2f085aa441
commit
97b774ceb9
@ -72,7 +72,7 @@
|
||||
*
|
||||
* @return
|
||||
* - ERR_RTE No route to destination (no gateway to external networks),
|
||||
* or the return type of either etharp_query() or ethernet_output().
|
||||
* or the return type of either nd6_queue_packet() or ethernet_output().
|
||||
*/
|
||||
err_t
|
||||
ethip6_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr)
|
||||
|
@ -227,7 +227,9 @@ netif_input(struct pbuf *p, struct netif *inp)
|
||||
* These functions use netif flags NETIF_FLAG_ETHARP and NETIF_FLAG_ETHERNET
|
||||
* to decide whether to forward to ethernet_input() or ip_input().
|
||||
* In other words, the functions only work when the netif
|
||||
* driver is implemented correctly!
|
||||
* driver is implemented correctly!\n
|
||||
* Members of struct netif should be be initialized by the
|
||||
* netif init function = netif driver (init parameter of this function).
|
||||
*
|
||||
* @return netif, or NULL if failed.
|
||||
*/
|
||||
|
@ -245,17 +245,19 @@ struct netif {
|
||||
#if LWIP_IPV4
|
||||
/** This function is called by the IP module when it wants
|
||||
* to send a packet on the interface. This function typically
|
||||
* first resolves the hardware address, then sends the packet. */
|
||||
* first resolves the hardware address, then sends the packet.
|
||||
* For ethernet physical layer, this is usually etharp_output() */
|
||||
netif_output_fn output;
|
||||
#endif /* LWIP_IPV4 */
|
||||
/** This function is called by the ARP module when it wants
|
||||
/** This function is called by ethernet_output() when it wants
|
||||
* to send a packet on the interface. This function outputs
|
||||
* the pbuf as-is on the link medium. */
|
||||
netif_linkoutput_fn linkoutput;
|
||||
#if LWIP_IPV6
|
||||
/** This function is called by the IPv6 module when it wants
|
||||
* to send a packet on the interface. This function typically
|
||||
* first resolves the hardware address, then sends the packet. */
|
||||
* first resolves the hardware address, then sends the packet.
|
||||
* For ethernet physical layer, this is usually ethip6_output() */
|
||||
netif_output_ip6_fn output_ip6;
|
||||
#endif /* LWIP_IPV6 */
|
||||
#if LWIP_NETIF_STATUS_CALLBACK
|
||||
|
Loading…
x
Reference in New Issue
Block a user