lwip/src/core
David van Moolenbroek b59472cf63 raw: core support for IP_HDRINCL socket option
This patch adds a new RAW_FLAGS_HDRINCL flag to the raw core
implementation. When this flag is set on a RAW PCB, the raw send
routines expect the caller to supply an IP header for the given
packet, and will use that IP header instead of prepending one to
the packet themselves.

This feature allows the IP_HDRINCL socket option to be implemented
in higher layers with no further effort. Even thoguh that option is
traditionally supported for IPv4 sockets only (e.g., see RFC 3542
Sec. 3), the RAW_FLAGS_HDRINCL flag supports both IPv4 and IPv6, as
much of the lower-level infrastructure was already in place anyway.
2017-01-08 19:26:30 +01:00
..
ipv4 Move macros to access DHCP and AUTOIP data to headers, users may want to access the members 2017-01-05 08:09:00 +01:00
ipv6 nd6 rdnss: fixed dual-stack compilation 2016-12-31 15:51:59 +01:00
def.c Minor documentation update in def.c 2016-12-29 09:28:45 +01:00
dns.c dns: added one-shot multicast DNS queries 2016-12-09 09:20:46 +01:00
inet_chksum.c Add #include <stddef.h> to a central place (arch.h) instead of #including it in several other files throughout lwip since size_t is needed in many places 2016-11-30 07:43:59 +01:00
init.c Add a check for correct implementation of LWIP_CONST_CAST() to lwip_init() 2016-12-14 08:31:09 +01:00
ip.c Some documentation cleanups and include more comments that have been already in code into doxygen docs 2016-08-07 10:05:34 +02:00
mem.c Fix warning that local variable may be used uninitialized in mem.c 2017-01-05 08:07:41 +01:00
memp.c Moved nd6 implementation details to new file nd6_priv.h (possible after David's cleanups) 2016-12-14 21:04:53 +01:00
netif.c ipv6: adjust MLD membership on address state changes 2016-12-20 22:28:02 +01:00
pbuf.c Fix warning about bad cast in pbuf_skip() 2017-01-05 08:14:39 +01:00
raw.c raw: core support for IP_HDRINCL socket option 2017-01-08 19:26:30 +01:00
stats.c memp: fixed compiling various combinations of memp stats (display etc.) 2016-07-08 08:21:57 +02:00
sys.c Create documentation section "porting" and move it under lwIP section (instead of infrastructure) 2016-12-29 09:29:24 +01:00
tcp_in.c bug #49631: handle zero-window probe and refused_data 2016-12-16 09:37:54 -06:00
tcp_out.c Optimize passing contiguous nocopy buffers to tcp_write 2016-11-24 11:27:34 +01:00
tcp.c tcp: Make tcp_listen_with_backlog_and_err return NULL if the address/port is already used 2017-01-01 19:53:51 +01:00
timeouts.c Fix bug #49827: wrong cast to size_t on 16-bit x86 architecture 2016-12-12 10:07:00 +01:00
udp.c Fix a few -Wconversion warnings (there are many more to do) 2016-12-20 14:22:51 +01:00