[email protected] wrote on 04.08.2009 
16:31:35:
> The only clean solution is to change the function recv_udp() in 
> api_msg.c to get the setting (broadcast flag or target address) and 
> store it with the netbuf so that you can access it when reading from the 

> application thread.
> 
> However, this is clearly not wanted by most lwIP users as it would need 
> additional memory and processing time even if not used.

Maybe we can surround the added fields (I'd add dest addr and dest port) 
by #ifdefs?
Something like 

/**
 * UDP_EXTENDED_INFO==0: append dest_addr and dest_port to every received 
netbuf
 */
#ifndef UDP_EXTENDED_INFO
#define UDP_EXTENDED_INFO           0
#endif

1.3.2 here I come? :o)

regards,
Fabian
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to