goldsimon
7db978ca03
lowpan6.c: rework lowpan6_input processing of the ieee 802.15.4 header
...
This should fix bug #48825 (lowpan6: source PAN ID is skipped without
checking PAN ID compression flag)
8 years ago
goldsimon
731b83ac5f
lowpan6.c: a netif input function must return ERR_OK only if the input pbuf was freed
8 years ago
goldsimon
fb5bbca1d9
lowpan6.c: move IEEE 802.15.4 definitions to their own header file
...
This is mainly a preparation to merge the two 6LoWPAN netifs
8 years ago
goldsimon
a022590f40
lowpan6.c: move netif-specific data to a common struct
8 years ago
Axel Lin
c28aa02820
lowpan6_ble: Convert to use pbuf_remove_header instead of pbuf_header
...
Signed-off-by: Axel Lin <axel.lin@ingics.com>
8 years ago
goldsimon
e7766297de
dhcp6_disable: need to set pcb_allocated to zero
...
See bug #53224 : dhcp6_disable() pcb_allocated need set to zero.
8 years ago
Axel Lin
265f6f5047
lowpan6_ble: Fix build warning if LWIP_RFC7668_LINUX_WORKAROUND_PUBLIC_ADDRESS==0
...
Fix unused parameter ‘public_addr’ build warning if
LWIP_RFC7668_LINUX_WORKAROUND_PUBLIC_ADDRESS==0.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
8 years ago
Axel Lin
7697a45405
lowpan6_ble_opts.h: Add #ifndef guard for LWIP_RFC7668_LINUX_WORKAROUND_PUBLIC_ADDRESS
...
Avoid "LWIP_RFC7668_LINUX_WORKAROUND_PUBLIC_ADDRESS" redefined build
warning if it's set to 0 by lwipopts.h.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
8 years ago
Our Air Quality
59e98ccb19
tcp_output_fill_options: account for the SACKS length in assertion.
8 years ago
goldsimon
56124bf53b
Add check in init.c: altcp does not work with LWIP_EVENT_API
8 years ago
goldsimon
a3034a442b
lowpan6_ble: fix compiling with LWIP_RFC7668_NUM_CONTEXTS==0
8 years ago
goldsimon
2ce3c79ec5
lowpan6_ble.c: travis complains...
8 years ago
goldsimon
a8d789e7b3
add lowpan6_ble.c to Filelists.mk
8 years ago
goldsimon
c510e92cf4
get lowpan6_ble.c to compile
8 years ago
goldsimon
69eaafecca
lowpan6_ble.c: fixed whitespace & indentation
8 years ago
Benjamin Aigner
10209ee788
Added a RFC7668 netif.
...
Works as expected, but some features are not implemented yet.
(See patch #9364 : RFC7668 - 6lowpan over Bluetooth Low Energy -- a new netif)
(I've change the file names only; sg)
Signed-off-by: goldsimon <goldsimon@gmx.de>
8 years ago
Dirk Ziegelmeier
f595445ec0
Some fixes to DHCPv6 documentation
8 years ago
Dirk Ziegelmeier
aa04944ae0
Add DHCPv6 to documentation
8 years ago
goldsimon
d2ee10977f
dhcp6: try to fix docs (clang complains)
8 years ago
goldsimon
7ad680c2bf
Try to fix dhcp6.c on travis
8 years ago
goldsimon
7d007cfee5
DHCPv6: make LWIP_IPV6_DHCP6_STATELESS==LWIP_IPV6_DHCP6 by default
8 years ago
goldsimon
8600259a78
tiny cleanup in dhcp.c
8 years ago
goldsimon
76a13054ee
add initial support for stateless DHCPv6
...
Signed-off-by: goldsimon <goldsimon@gmx.de>
8 years ago
goldsimon
37b4494921
http_client: fix function documentation
8 years ago
goldsimon
0ee0393936
fix compiling http_client and altcp_proxyconnect with gcc
8 years ago
Axel Lin
fe3bb8bb78
etharp: Remove superfluous assert checking in free_etharp_q
...
The same checking is done while iterating the list in the while loop.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
8 years ago
Axel Lin
e93cecf527
Fix build error for http files
...
The HTTPDFILES is renamed to HTTPFILES now.
Fixes: 1f0867299d ("add new http files to Filelists.mk")
Signed-off-by: Axel Lin <axel.lin@ingics.com>
8 years ago
goldsimon
1f0867299d
add new http files to Filelists.mk
8 years ago
goldsimon
7b9e145fc5
http_client: change user-agent and make it overridable
8 years ago
goldsimon
2753eb1fb1
add an altcp layer for http proxy connect (e.g. to tunnel TLS through a http proxy)
...
Signed-off-by: goldsimon <goldsimon@gmx.de>
8 years ago
goldsimon
a0e900dd02
makefsdata: update usage output to code
8 years ago
goldsimon
325cdf3c0b
altcp_tls_mbedtls: restructure upper callbacks to prevent double-free
...
This fixes bug #53192 : use-after-free in altcp_mbedtls
Signed-off-by: goldsimon <goldsimon@gmx.de>
8 years ago
goldsimon
a7b43dae49
altcp: default shutdown for both sides is close
8 years ago
goldsimon
d66c0e3381
altcp: mbedtls: move freeing state->rx from close to dealloc (catch-all)
8 years ago
goldsimon
bcff67b00e
altcp_tls_alloc: need to close inner conn instead of freeing it
8 years ago
goldsimon
3bd87e3815
doc: altcp: keep altcp_alloc/altcp_free out of the docs
...
Those functions are for implementing altcp layers, not for applications
8 years ago
Dirk Ziegelmeier
333fff3e66
Improve altcp allocator documentation
8 years ago
Dirk Ziegelmeier
fc3c186289
Improve altcp allocator documentation
8 years ago
goldsimon
3a41f4fe8a
altcp_alloc: add to Filelists.mk
8 years ago
Axel Lin
e9bd31b190
icmp6: Fix "LWIP_ICMP6_DATASIZE" redefined build warning if it was set to 0
...
Need to undefine LWIP_ICMP6_DATASIZE before change the setting.
While at it, also remove the unneeded #ifndef LWIP_ICMP6_DATASIZE
checking because it is set in lwip/opt.h.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
8 years ago
Axel Lin
a894140bb0
igmp: Use angle brackets for including string.h
...
Use angle brackets(<>) for including system header files.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
8 years ago
goldsimon
842b9f4429
altcp: simplify creating different types by adding an allocator concept
...
This is done with an example in the http_client
Signed-off-by: goldsimon <goldsimon@gmx.de>
8 years ago
Dirk Ziegelmeier
5b33d33e34
Add HTTP client to documentation
8 years ago
Dirk Ziegelmeier
2501913cde
Move ethernetif.c from lwIP main rep to contrib examples directory where it has a chance to be actually found by users
8 years ago
Dirk Ziegelmeier
47c55c3d96
Improve documentation for 6LOWPAN and SLIPIF
8 years ago
goldsimon
ef29f2d401
http_client: httpc_tcp_recv did not return inner_conn's recv return value
...
Signed-off-by: goldsimon <goldsimon@gmx.de>
Reported-by: Our Air Quality <info@ourairquality.org>
8 years ago
goldsimon
b5448a86fd
ip4_reass: free datagram entry if p == NULL
8 years ago
Dirk Ziegelmeier
5b459c1282
dns.h depends on err.h
8 years ago
goldsimon
2b09c18c4e
altcp_tls.h: minor whitespace cleanup
8 years ago
goldsimon
2648d30843
altcp_tls_mbedtls.c: tiny function rename
8 years ago