1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/gnrc_ndp
Martine Lenders 455a607405
tests/gnrc_ndp: don't guess size of gnrc_pktsnip_t in pktbuf
24 bytes is only the right size for `gnrc_pktsnip_t` on 32-bit systems
(and only if the struct does not change), on AVR e.g. it 9 bytes.
By using the internal alignment function of `pktbuf` we are able to
precisely tell the internal size of `gnrc_pktsnip_t` using the `sizeof`
operator.
2021-02-19 12:23:22 +01:00
..
tests tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
main.c tests/gnrc_ndp: don't guess size of gnrc_pktsnip_t in pktbuf 2021-02-19 12:23:22 +01:00
Makefile tests/gnrc_ndp: don't guess size of gnrc_pktsnip_t in pktbuf 2021-02-19 12:23:22 +01:00
Makefile.ci tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00