[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Loopback problems

From: address@hidden
Subject: Re: [lwip-users] Loopback problems
Date: Tue, 04 Aug 2009 18:58:26 +0200
User-agent: Thunderbird (Macintosh/20090605)

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]