|
From: | Jakob Stoklund Olesen |
Subject: | [lwip-devel] [patch #6723] Add option UDP_EXT_RECV_CALLBACK to enable new API function udp_ext_recv() |
Date: | Sun, 03 May 2009 06:27:47 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/528.16 (KHTML, like Gecko) Version/4.0 Safari/528.16 |
Follow-up Comment #2, patch #6723 (project lwip): How about doing this at the IP level? Then raw PCBs can also benefit. const struct ip_hdr *ip_current_header(); struct netif *ip_current_netif(); These functions should return NULL when ip_input is not on the call stack. This would be good enough for my needs. Note: If this functionality is available unconditionally, it is possible to remove the DHCP-specific code from udp.c. _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/patch/?6723> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |