]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/commit
raw.c, udp.c, init.c, opt.h, ip.h, sockets.h: bug #26309: Implement the SO(F)_BROADCA...
authorfbernon <fbernon>
Wed, 29 Apr 2009 12:42:43 +0000 (12:42 +0000)
committerfbernon <fbernon>
Wed, 29 Apr 2009 12:42:43 +0000 (12:42 +0000)
commitd4ecb23015e851577b0fd780a9184d4b0a92e05b
tree74402fc476261d6498ca71165bb97eca7d40e901
parent42c59e10796c1544980e0f4a5c17c4bc608887d7
raw.c, udp.c, init.c, opt.h, ip.h, sockets.h: bug #26309: Implement the SO(F)_BROADCAST filter for all API layers. Avoid the unindented reception of broadcast packets even when this option wasn't set. Port maintainers which want to enable this filter have to set IP_SOF_BROADCAST=1 in opt.h. If you want this option also filter broadcast on recv operations, you also have to set IP_SOF_BROADCAST_RECV=1 in opt.h.
CHANGELOG
src/core/init.c
src/core/raw.c
src/core/udp.c
src/include/ipv4/lwip/ip.h
src/include/lwip/opt.h
src/include/lwip/sockets.h