Frederik Haxel
64c551a714
unittests/tests-fib: Fix array size types
...
Reverts the type changes for the array size variables, as `size_t` is needed
in the function calls `fib_get_next_hop` and `fib_get_destination_set`.
Fixes 475a55136a
2024-01-15 11:26:36 +01:00
Frederik Haxel
475a55136a
unittests/tests-fib: test cleanup
...
- Added helper function to avoid 'format-truncation' warning
- Changed all `size_t` types to `unsigned`
- Changed function names from `_FIB_` to `_fib_`
2023-12-21 12:06:51 +01:00
Frederik Haxel
fa0cf05d0a
tests: Use size_t print format specifier
...
Co-authored-by: Marian Buschsieweke <marian.buschsieweke@posteo.net>
2023-12-21 12:02:37 +01:00
Karl Fessel
c29d2f1afb
test/unittest: cleanup most vera++ complains
2022-10-27 16:31:59 +02:00
Karl Fessel
c48f53f8df
test/unittest: initilize ztimer64 is required, use xtimer test-fib
...
test-fib has direct use of xtimer -> it needs to use the module
2022-07-25 13:54:59 +02:00
Teufelchen1
1231807bab
Documentation: Renaming OS X to macOS
2022-06-23 17:25:48 +02:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines
2021-08-13 19:50:38 +02:00
90d2e6ac8b
tests/unittests: fix typos
2019-11-23 22:39:37 +01:00
Lucas Jenss
6998ffbb14
cppcheck: Provide consistent reason formatting for all cppcheck-suppresses
2017-10-10 10:25:20 -07:00
Oleg Hahm
7ee7801c10
*: remove trailing underscores from header guards
2017-01-19 18:30:53 +01:00
smlng
48a93cb665
unittests: fix array length error on OSX
2017-01-18 13:50:56 +01:00
Joakim Nohlgård
4e5fae77da
tests/fib: Tidy up code style and fix cppcheck warning
2016-11-29 20:44:31 +01:00
Joakim Nohlgård
7c48c891a0
xtimer: Update xtimer usage to match API changes
2016-11-29 20:44:31 +01:00
BytesGalore
1bc9c3bfd2
fib: changed handling of the net prefix
...
Until now the prefix length has been determined automatically by the FIB
This PR changes it to be provided as msb(yte) in the global_flags of an entry
2016-03-30 10:05:05 +02:00
BytesGalore
523d1f87ca
net/fib: Added network prefix flag to indicate a network destination
2015-11-02 15:57:39 +01:00
BytesGalore
6c57582107
fib: initial source route support
2015-10-27 20:20:18 +01:00
Cenk Gündoğan
7ecd6d4a8a
fib: reduce scope of global vars to the scope of fib_table_t
2015-10-19 10:26:41 +02:00
Thomas Eichinger
99720b4eec
unittest/fib: fix printf formating for OS X
2015-09-30 15:41:59 +02:00
5a485c3f73
sys: net: fib: switch to xtimer
2015-09-16 10:58:56 +02:00
Oleg Hahm
7d2f414476
universal_address: make size dependent on FIB size
2015-09-07 09:18:29 +02:00
Oleg Hahm
86cabbd102
fib: add data struct for meta information
...
In order to properly make use of different FIB tables, handling of different sizes is required. The fib_table_t provides a pointer to the array of entries and its size.
2015-09-01 11:09:10 +02:00
Oleg Hahm
4267212502
fib: allow for multiple instances of FIB
2015-08-20 15:47:27 +02:00
Hauke Petersen
85fe67e629
net/fib: removed all ng prefixes from fib
2015-08-10 15:43:55 +02:00
Cenk Gündoğan
ea5e371383
sys/universal_address: separate universal_address from fib
2015-07-30 18:34:48 +02:00
BytesGalore
d97694f106
fib: repaired prefix/default gateway determination and added two according unittests
2015-07-16 13:46:36 +02:00
BytesGalore
db18e5760a
fib: added check for passing NULL pointers to fib_get_next_hop()
2015-06-24 09:05:24 +02:00
BytesGalore
9079e30da0
sys/net/fib: added function to request a set of destination addresses
2015-06-02 16:42:47 +02:00
Lotte Steenbrink
fbc7f9ddc4
add simple test for fib_devel_get_lifetime()
2015-05-26 15:36:02 -07:00
Joakim Gebart
13832d8e62
everything: Remove filename from @file Doxygen command
2015-05-22 07:34:41 +02:00
BytesGalore
30c76adc43
net: added a core implementation of a FIB
2015-04-01 10:24:35 +02:00