1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

25 Commits

Author SHA1 Message Date
Martine Lenders
aa5a18f833
Merge pull request #16974 from yarrick/lwip_netif
pkg/lwip: Add netif_t struct, register all netifs
2022-04-26 23:49:49 +02:00
Francisco Molina
8516e258a3 tests/lwip*: use ztimer instead of xtimer 2022-03-03 15:54:22 +01:00
Erik Ekman
9829db9564 test/lwip_sock_udp: Use lwip_netif_t 2021-11-16 22:04:44 +01:00
Erik Ekman
91be3adac8 tests/lwip_sock: Take lock before calling etharp
Fixes #17144
2021-11-05 18:45:04 +01:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
Jose Alamos
4e6f299af0
lwip: avoid explicit cast to netdev 2021-07-09 11:35:16 +02:00
Marian Buschsieweke
eb1279005c
tests: Cleanup access to internal variables
Replace direct accesses to sched_active_thread and sched_active_pid with
the helper functions thread_getpid() and thread_get_active(). This serves
two purposes:

1. It makes accidental writes to those variable from outside core less likely.
2. Casting off the volatile qualifier is now well contained to those two
   functions
2020-08-24 09:08:01 +02:00
Gunar Schorcht
ad4f1993b2 tests/lwip_sock_udp: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Jose Alamos
3ad574a822 drivers/netdev: use netdev_trigger_event_isr function 2020-03-06 14:03:43 +01:00
Francisco Molina
e0855dedfd
tests: remove uneeded DISABLE_MODULE+=auto_init 2020-02-12 16:51:34 +01:00
300c3abf2b
tests/lwip_sock_udp: fix sizeof address param in mempcy
Co-authored-by: Martine Lenders <m.lenders@fu-berlin.de>
2019-10-21 08:09:51 +02:00
Martine Lenders
31f72e29be tests: remove NETOPT_IPV6_IID dependency from lwip_sock_udp 2019-03-29 13:21:58 +01:00
Marian Buschsieweke
829a8b1792
tests/lwip_sock_udp: Use NETOPT_MAX_DPU_SIZE
Updated the test to use NETOPT_MAX_DPU_SIZE instead of the deprecated
NETOPT_MAX_PACKET_SIZE
2019-02-18 20:19:16 +01:00
910b088094
Merge pull request #10172 from miri64/tests/fix/lwip_sock_array_address
tests/lwip_sock_{i,ud}p: correctly get array address
2018-10-17 20:36:33 +02:00
Martine Lenders
bf8ebbac81 tests/lwip_sock_{i,ud}p: correctly get array address
We want the address of the start of the array.
2018-10-17 11:43:11 +02:00
Martine Lenders
a5370ff6df tests/lwip_sock_udp: make IPv4 address byteorder static 2018-10-16 19:09:23 +02:00
Martine Lenders
9cced4e806 tests/lwip_sock_udp: enlarge message queue due to more NDP messages 2018-10-15 21:32:34 +02:00
Martine Lenders
7fd55803ee tests/lwip_sock_*: adapt for address zoning 2018-10-15 21:32:34 +02:00
Gunar Schorcht
a71124a809 tests/lwip_sock_*: fix compilation error 2018-08-19 19:13:05 +02:00
32057a8c46 tests: fix doxygen grouping 2018-06-11 19:12:02 +02:00
403faf2314 pkg/lwip: update to use iolists 2018-03-06 14:00:32 +01:00
Martine Lenders
41eb29521f
tests: adapt lwip tests for v2.0.2's API 2017-05-11 11:49:38 +02:00
cfd10c394a adapt to changed byteorder.h 2017-04-13 11:35:35 +02:00
Martine Lenders
29842bb5e4 netdev2: rename to netdev and remove gnrc_netdev
With some minor hand-edits I used the following chain of commands:

```sh
git rm sys/include/net/gnrc/netdev.h
git grep --name-only -i netdev2 | \
        xargs sed -i -e 's/^\(NETDEV\)2\(.*\)\( [("]\)/\1\2 \3/g' \
                     -e 's/\(netdev\)2\(.*\)\( \/\*\*<\)/\1\2 \3/I' \
                     -e 's/\(netdev\)2/\1/gI'
git add -p
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
        grep "netdev2" | xargs -I'{}' dirname '{}' | uniq | \
        grep "netdev2" | while read dir; do
                new_dir="$(echo "$dir" | sed "s/netdev2/netdev/g")"
                git mv -f "$dir" "$new_dir"
        done
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
        grep "netdev2" | while read file; do
                new_file="$(echo "$file" | sed "s/netdev2/netdev/g")"
                git mv -f "$file" "$new_file"
        done
git commit --amend
git grep --name-only "\<drivers_netdev_netdev\>" | \
        xargs sed -i "s/\<drivers_netdev_netdev\>/drivers_netdev_api/g"
git add -p
git commit --amend
```
2017-03-15 09:31:20 +01:00
Martine Lenders
a45256a2a7 pkg: provide sock_udp support for lwip 2017-02-07 15:48:47 +01:00