Fabian Koch wrote:
> No patches necessary there. What else are you missing to use lwIP as is?
Well for example my first mail regarding this. Getting dest-addr up to
the netbuf level. I think SOF_BROADCAST is nice and elegant but I'd
have to mangle a lot with the rest of our system to get that working
cleanly AND I actually need the opposite behavior. I need to filter
out all traffic on one port that is NOT broadcast. Could be made by an
addition to udp_recv() or as you said implementing recvmsg().
Yeah, sorry, I already forgot about that :-)
Well, since netbufs are really only used for UDP (anyone using RAW
pcbs?), I'd be OK with adding 'toadd' and 'toport' to netbufs
(SOF_BROADCAST is really a different thing). However, for recvmsg(),
we'd need packet headers, too, which would be another way for you to
implement it.
Simon
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users