[riot-notifications] [RIOT-OS/RIOT] gnrc_tcp: align with sock tcp (#16493)

Simon Brummer notifications at github.com
Sat May 22 13:50:28 CEST 2021


### Contribution description
This PR implements all missing functions and API changes for SOCK_TCP integration to GNRC_TCP. 

### Testing procedure
All new functions and return codes are tested within the GNRC_TCP suite.
Just execute the tests under tests/gnrc_tcp

### Issues/PRs references
Depends on PR #16459
Depends on PR #16461
Fixes #10664 - TCP Sockets can not be used / built

You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/16493

-- Commit Summary --

  * gnrc_tcp: add listen accept api
  * gnrc_tcp: add listen accept implementation
  * gnrc_tcp: add listen accept tests
  * gnrc_tcp: refactor tests
  * gnrc_tcp: align with sock_tcp

-- File Changes --

    M sys/include/net/gnrc/tcp.h (150)
    M sys/include/net/gnrc/tcp/tcb.h (15)
    M sys/include/net/tcp.h (4)
    M sys/net/gnrc/transport_layer/tcp/gnrc_tcp.c (616)
    M sys/net/gnrc/transport_layer/tcp/gnrc_tcp_eventloop.c (10)
    M sys/net/gnrc/transport_layer/tcp/gnrc_tcp_fsm.c (48)
    M sys/net/gnrc/transport_layer/tcp/include/gnrc_tcp_common.h (4)
    M tests/gnrc_tcp/README.md (31)
    M tests/gnrc_tcp/main.c (176)
    D tests/gnrc_tcp/tests-as-root/01-conn_lifecycle_as_client.py (50)
    A tests/gnrc_tcp/tests-as-root/01-run.py (569)
    D tests/gnrc_tcp/tests-as-root/02-conn_lifecycle_as_server.py (57)
    D tests/gnrc_tcp/tests-as-root/03-send_data.py (63)
    D tests/gnrc_tcp/tests-as-root/04-receive_data.py (65)
    D tests/gnrc_tcp/tests-as-root/05-garbage-pkts.py (157)
    D tests/gnrc_tcp/tests-as-root/06-receive_data_closed_conn.py (84)
    D tests/gnrc_tcp/tests-as-root/07-endpoint_construction.py (150)
    A tests/gnrc_tcp/tests-as-root/helpers.py (317)
    D tests/gnrc_tcp/tests-as-root/shared_func.py (118)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/16493.patch
https://github.com/RIOT-OS/RIOT/pull/16493.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16493
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210522/ab480ae0/attachment.htm>


More information about the notifications mailing list