Simon Brummer
5d1ab9b34c
gnrc_tcp: Fix packet-flood while probing
2019-03-26 21:05:53 +01:00
Simon Brummer
5dc3f8dc3d
gnrc_tcp: syn_rcvd pkt loss fix
2019-02-04 20:57:30 +01:00
Sören Tempel
45989aa60e
gnrc_tcp_pkt: fix typo in comment
2019-01-07 16:15:41 +01:00
Martine Lenders
e801829c7a
gnrc_udp: send ICMPv6 error messages where appropriate
2018-11-16 17:39:16 +01:00
smlng
59e299635b
cppcheck: add/correct reason for cppcheck-suppress
...
Adding and correcting description/rational on why certain cppcheck
warnings or errors are intentionally suppressed.
2018-09-25 12:03:58 +02:00
05b6af466c
sys: add missig <string.h> includes
2018-09-20 23:47:40 +02:00
smlng
fd718dfc74
gnrc_udp: assert ports not zero
...
UDP port 0 is reserved for system usage, e.g., to tell the OS to
set a random source port. Hence, neither source nor destination
port should be 0 when transmitting. This PR adds proper asserts.
2018-08-06 16:09:22 +02:00
Simon Brummer
3b89bef366
gnrc_tcp: Add missing includes
2018-07-10 16:00:36 +02:00
Simon Brummer
370fe1e475
gnrc_tcp: Set src addr in outgoing packets by tcp layer.
2018-06-10 13:26:23 +02:00
Simon Brummer
686aabaa0a
gnrc_tcp: handle link local IPv6 addresses correctly
2018-05-29 21:28:32 +02:00
Martine Lenders
23bdc80e22
doc: update IPv6 RFC references
...
RFC 2460 was obsoleted by RFC 8200. This PR changes the references
around, so we don't reference an obsoleted RFC ;-).
Also I'm moving these references from the old-style HTML-like format
to the newer-style Markdown-like format.
2018-04-10 15:40:18 +02:00
smlng
b283b7784c
make: fix various compile errors with Wextra
...
pkg, nordic_softdevice_ble: disable CFLAGS to omit compiler error
sys, pm_layered: fix casting nonscalar to the same type
cpu, stm32_common: fix type-limits, remove always true assert
cpu, stm32f4: fix pointer arithmetic in periph/i2c
drivers, at86rf2xx: fix type-limits where condition always true
saul, gpio: fix if no gpio configured for saul
cpu, saml21: add frequency check to periph/timer
driver, cc110x: fix unused param and type-limts errors
boards, wsn430-common: fix old-style-declaration
make: fix old style definition
drivers, sdcard_spi: fix old style typedef
driver, at30tse: remove unnecessary check
driver, nrf24: fix type-limit
driver, pn532: change buffer from char to uint8_t
tests/driver_sdcard: fix type limits
boards, feather-m0: add missing field inits
driver, tcs37727: fix type limits
pkg, emb6: disable some compiler warnings
tests/emb6: disable some compiler warings
pkg, openthread: fix sign compare and unused params
tests/trickle: fix struct init
tests/pthread_cooperation: fix type limits
board, mips-malta: remove feature periph_uart
shell: fix var size for netif command
gnrc, netif: fix sign-compare
gnrc, nib: fix sign-compare
shell: fix output in netif command
posix: fix type-limits in pthread_cond
2017-11-28 18:31:43 +01:00
smlng
3783f0e98b
gnrc tcp: use push flag in send
2017-07-10 16:44:55 +02:00
0fcc7d3834
cleanup: apply headerguard script output
2017-05-24 17:54:02 +02:00
Martine Lenders
1fdad5b184
gnrc_tcp: fix return on closed state
2017-05-17 18:39:38 +02:00
Sebastian Meiling
f0ae5d2dd8
Merge pull request #6969 from brummer-simon/gnrc_tcp-replace_msg_queue
...
gnrc_tcp: improvement: Replace tcbs msg queue with mbox
2017-05-17 15:13:03 +02:00
Sebastian Meiling
9944642f92
Merge pull request #6997 from brummer-simon/gnrc_tcp-abort_call
...
gnrc_tcp: improvement: abort() - call
2017-05-17 15:08:12 +02:00
Simon Brummer
42e15ed7c4
gnrc_tcp: improvement: Replace tcbs msg queue with mbox
2017-05-17 13:02:52 +02:00
Simon Brummer
b08b12ec8f
gnrc_tcp: improvement: abort() - call
2017-05-17 13:01:28 +02:00
smlng
1be74bc7a5
gnrc, tcp: set param THREAD_CREATE_STACKTEST for mem stats in ps
2017-05-15 13:16:18 +02:00
smlng
cc24aab5a5
gnrc, tcp: fix assert
2017-05-12 09:39:25 +02:00
Martine Lenders
ddda31c509
Merge pull request #6972 from brummer-simon/gnrc_tcp-cleanup-gnrc_tcp_tcb_init
...
gnrc_tcp: cleanup: shortend gnrc_tcp_tcb_init()
2017-04-26 14:46:52 +02:00
Simon Brummer
2f0a17b80f
gnrc_tcp: cleanup: shortend gnrc_tcp_tcb_init()
2017-04-26 13:37:42 +02:00
smlng
ba09fad7ed
gnrc_tcp: optimize and cleanup operations on TCB list
2017-04-26 11:59:01 +02:00
Simon Brummer
a9da0dc4f2
gnrc_tcp: cleanup: various minor changes
2017-04-25 20:02:44 +02:00
Simon Brummer
1ae3b51224
gnrc_tcp: cleanup: removed unnecessary includes
2017-02-26 17:31:23 +01:00
Simon Brummer
fd007d5307
gnrc_tcp: cleanup: fixed outdated comments
2017-02-20 21:58:05 +01:00
Simon Brummer
d4c477aa01
gnrc_tcp: cleanup: correct copyright updates and corrected doxygen comments
2017-02-06 18:26:45 +01:00
Simon Brummer
7e7b832219
gnrc_tcp: cleanup: Enforce coding convention
2017-02-04 10:19:59 +01:00
Simon Brummer
4857f16ee8
gnrc_tcp: cleanup: Restrict lines to 100 char boundries
2017-02-02 08:29:29 +01:00
Simon Brummer
a8b8b64036
gnrc_tcp: cleanup: update doxygen headers
2017-02-02 08:29:29 +01:00
Simon Brummer
62c0efb20a
gnrc_tcp: cleanup: removed trailing underscores from include guards
2017-02-02 08:29:29 +01:00
Simon Brummer
bc0bf3bc4f
gnrc_tcp: cleanup: removed internal fsm structs from public headers
2017-02-02 08:29:29 +01:00
Simon Brummer
67ed2a0ad8
gnrc_tcp: cleanup: internal/common.h added
2017-02-02 08:29:29 +01:00
Simon Brummer
e25fd0dd46
gnrc_tcp: Improved Option Handling
2017-02-01 08:28:59 +01:00
smlng
540fb53ac0
tcp: move header file and adapt includes
2017-01-31 19:14:54 +01:00
Simon Brummer
abd307b89d
gnrc_tcp : initial implementation
2017-01-22 09:27:58 +01:00
Martine Lenders
dc45cd2610
gnrc: use new netreg helper functions everywhere
2016-10-25 18:47:30 +02:00
Peter Kietzmann
cd548cad46
Merge pull request #5751 from miri64/gnrc_udp/fix/consider-netif-hdr
...
gnrc_udp: consider netif header in send dispatch
2016-08-30 23:10:13 +02:00
Martine Lenders
b869102450
gnrc_udp: consider netif header in send dispatch
2016-08-15 19:33:50 +02:00
Martine Lenders
af180ef2f1
gnrc_udp: add missing duplitation step
2016-08-15 17:23:19 +02:00
7718f114cb
all: remove pointer casts for msg.content.ptr
2016-06-02 23:13:42 +02:00
Oleg Hahm
487f6e480f
gnrc udp: simplify gnrc_udp_hdr_build
...
Directly using 16 bit port numbers instead of casting uint8_t pointers.
2016-03-23 15:20:11 +01:00
Martine Lenders
cba05cc028
Merge pull request #4873 from Yonezawa-T2/zero_udp_checksum
...
udp: fixed a corner case for checksum computation.
2016-03-07 09:21:24 +01:00
Yonezawa-T2
b1dd2818fe
udp: discard UDP packets with zero checksum.
...
RFC 2460 Section 8.1
> IPv6 receivers must discard UDP packets containing a zero checksum,
> and should log the error.
2016-03-07 15:46:29 +09:00
9082273746
core: header cleanup
2016-02-28 22:46:28 +01:00
Yonezawa-T2
e92c355aba
udp: fixed a corner case for checksum computation.
...
Fixes #4842 .
RFC 2460 section 8.1 (https://tools.ietf.org/html/rfc2460#section-8.1 )
states:
> if that computation yields a result of zero, it must be changed to hex
> FFFF for placement in the UDP header.
2016-02-22 20:30:31 +09:00
Martine Lenders
379703ae3a
gnrc: use gnrc_pkt_search_type instead of LL_SEARCH_SCALAR
2016-02-11 01:05:02 +01:00
Martine Lenders
21beaa7529
gnrc_udp: fix false assumed packet order
2015-12-22 17:14:33 +01:00
Johann Fischer
c6ab57f468
gnrc_udp.c adapt for nhc udp encoding and decoding
2015-12-08 14:50:25 +01:00