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
831e2de56c
tests/lwip_sock_ip: 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
Martine Lenders
397adf79ca
tests: remove NETOPT_IPV6_IID dependency from lwip_sock_ip
2019-03-29 13:21:58 +01:00
Martine Lenders
727a843ce4
Merge pull request #10905 from maribu/packet_size_l2_pdu
...
net: NETOPT_MAX_{PACKET_SIZE -> PDU_SIZE}
2019-02-22 15:23:00 +01:00
c16bd3871c
tests/lwip_sock_ip: fix memcpy lenghts
...
sizeof(ip6_addr_t) > 16 depending on compilation flags, possibly reading
more data than available.
Fix by using the actual address' sizeof for memcpy.
2019-02-21 11:30:25 +01:00
Marian Buschsieweke
0c03c63c0e
tests/lwip_sock_ip: 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:18 +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
73ec2ac652
tests/lwip_sock_ip: make IPv4 address byteorder static
2018-10-16 19:09:23 +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
bf60c2fbfa
pkg: provide sock_ip support for lwip
2017-01-17 09:00:44 +01:00