Benjamin Valentin
3ba131c0f2
netdev_tap: port to netdev_new_api
2024-11-21 11:45:33 +01:00
Teufelchen1
c9e9a8d2f1
native: Remove code used for __MACH__ target
2022-12-22 17:57:25 +01:00
Benjamin Valentin
dd5c876034
cpu/native: replace RIOT_FILE_RELATIVE with __FILE__
2022-11-19 01:48:42 +01:00
Teufelchen1
35a06c4806
boards/native: Remove macOS as native target
2022-10-25 19:11:23 +02:00
Benjamin Valentin
838a5e4bd3
netdev_drivers: make sure to signal LINK_UP at least once
2022-09-16 22:57:28 +02:00
Benjamin Valentin
66153a47cf
treewide: fix typos
2022-09-15 23:31:40 +02:00
Teufelchen1
1231807bab
Documentation: Renaming OS X to macOS
2022-06-23 17:25:48 +02:00
Benjamin Valentin
f61c12e008
netdev_tap: make 'wired' property configurable
...
`netdev_tap` is a virtual interface, make it possible to simulate both
a wired and a wireless interface.
2022-05-23 15:27:35 +02:00
Jens Wetterich
4dfeafcabd
cpu/native/netdev_tap: Add to netdev_register
2022-02-11 07:54:11 +01:00
Jose Alamos
853b3a0918
netdev_tap: avoid explicit cast to netdev
2021-07-09 10:38:34 +02:00
Tobias Nießen
8a56692236
cpu/native: rename _get_promiscous/_set_promiscous
2021-03-03 17:50:19 +01:00
Bas Stottelaar
22243aec7a
cpu/*: realign ENABLE_DEBUG
2020-10-23 00:46:26 +02:00
Jose Alamos
3ad574a822
drivers/netdev: use netdev_trigger_event_isr function
2020-03-06 14:03:43 +01:00
31b027124b
cpu/native: fix typos
2019-11-23 22:39:36 +01:00
smlng
6183d5f5c5
netdev: remove layer2 netstats from netdev drivers
...
Removing usage of netdev->stats in all net drivers, as it is
handled by gnrc_netif.
2019-02-01 11:25:27 +02:00
Joakim Nohlgård
4a5ef1d2f6
native/netdev_tap: Rename variable to fix Wshadow warning
2018-09-28 09:57:30 +02:00
c0fdce22b3
netdev_tap: declare netdev_driver struct as const
2018-08-23 17:31:45 +02:00
4133908fe0
cpu/native: fix doxygen grouping
2018-06-11 19:12:02 +02:00
Simon Brummer
323a38819a
native: Enforce safe strncpy usage in tap device setup
2018-06-10 17:16:46 +02:00
Gaëtan Harter
40c28d78c0
Revert "native: remove non required NATIVEINCLUDES"
...
This reverts commit 93a521c501
.
2018-04-12 17:48:07 +02:00
Martine Lenders
f52b17022e
netdev_tap: fix return value of set option function
2018-04-10 15:12:15 +02:00
Gaëtan Harter
93a521c501
native: remove non required NATIVEINCLUDES
...
Some modules used a 'NATIVEINCLUDES' with different include path and no other
included directories.
It was defining basic 'include' in a different order and not using other things
defined in INCLUDES.
After doing some checks with the given include path and possible conflicting
files, there should be no conflict when using the default one.
* No common headers between all the NATIVEINCLUDES directories
* No common headers files between board/native/include, cpu/native/include and
other files in the repository (except other boards/cpus of course).
2018-03-20 17:51:03 +01:00
ff6b8aa4f1
cpu/native/netdev_tap: adapt to netdev with iolist
2018-03-06 14:00:31 +01:00
Joakim Nohlgård
065bc62e0a
netdev: Make set() value parameter const void *
2017-08-25 13:41:19 +02:00
Hauke Petersen
31dfe382a3
net/gnrc/eth: enable filtering of L2 addresses
2017-05-18 15:24:25 +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