Hendrik van Essen
6c98a5b3b7
sys/net/network_layer/ipv4/addr: add ipv4_addr_print function
2022-10-05 15:16:37 +02:00
Benjamin Valentin
6e7d5ae2d3
codespell: fix remaining issues
2022-09-16 14:00:35 +02:00
Marian Buschsieweke
85cf4aef03
sys/net/ipv6: fix ipv6_addrs_print()
...
Fix incorrect printing of the separator after the last item.
2022-06-10 11:02:42 +02:00
Marian Buschsieweke
a4d00df586
sys/net: add ipv6_addrs_print()
...
Also use `IS_USED(MODULE_FMT)` rather than the preprocessor and rely
on the optimizer to eliminate the dead branch.
2022-06-06 20:46:48 +02:00
Marian Buschsieweke
050b024b79
sys/net/fib: make CI happy
2021-11-30 10:27:46 +01:00
Marian Buschsieweke
9356a7d561
sys/net/fib: fix compilation with -Wcast-align
2021-11-30 10:16:39 +01:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines
2021-08-13 19:50:38 +02:00
MrKevinWeiss
223430f589
net/ipv*/addr: Add ipv*_addr modules to Kconfig
2021-03-09 09:08:50 +01:00
Bas Stottelaar
922e2ac1c9
sys/*: replace #if ENABLE_DEBUG with IS_ACTIVE
2020-11-02 21:49:39 +01:00
Leandro Lanzieri
f14c898dd0
sys/net/ipv6: add ipv6_addr_from_buf function
...
This allows to parse IPv6 address from strings that not end with '\0'.
2020-10-30 11:20:25 +01:00
Leandro Lanzieri
4305fcc010
sys/net/ipv4: add ipv4_addr_from_buf function
...
This allows to parse IPv4 address from strings that not end with '\0'.
2020-10-30 11:20:25 +01:00
Bas Stottelaar
1b35d06a51
sys/*: realign ENABLE_DEBUG
2020-10-23 11:27:48 +02:00
Marian Buschsieweke
3b6fa61829
sys: 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 20:28:11 +02:00
d4f3747705
sys/net: fix typos
2019-11-23 22:39:38 +01:00
Francisco Molina
bf3c722abc
sys/net/network_layer: fix cpp.check unitialized variable
2019-11-21 11:58:07 +01:00
Leandro Lanzieri
4d4f6ae1d6
net/ipv6: Return string pointer when splitting IPv6 interface.
...
Right now 'ipv6_addr_split_iface' assumes that the interface specifier
will always be a number (based on GNRC way of identifying interfaces),
but this may not be always the case.In order to be able to use the
Network Interface API, interfaces should be referred by their name.
This changes 'ipv6_addr_split_iface' so it returns a pointer to the
string that specifies the interface.
2019-11-15 14:02:50 +01:00
Martine Lenders
ad183dbf7e
ipv6_ext: remove empty, unused module
2018-10-25 11:12:14 +02:00
Martine Lenders
c54ba49e82
gnrc_ipv6_ext: move ipv6_ext_rh (partly) to GNRC
2018-10-25 11:10:25 +02:00
Martine Lenders
c6d46057b0
sixlowpan: use generic format strings instead of inttypes.h macros
...
We had bad experiences with those in the past when used with newlib-nano
;-)
2018-07-17 12:22:16 +02:00
Martine Lenders
ecfff3e812
sixlowpan: fix decoding of DAM in sixlowpan_print()
...
Destination address compression is all in the least significant nibble
of that byte in the IPHC header [[1]].
[1]: https://tools.ietf.org/html/rfc6282#section-3.1.1
2018-07-17 12:22:15 +02:00
Gaëtan Harter
60d09e6b21
sys/icmpv6_hdr_print: replace PRIu8 by PRIu16
...
PRIu8 is not supported on samr21-xpro:
type: hu code: hu
After fix
type: 133 code: 0
Found by running 'tests/gnrc_netif'
2018-05-11 17:41:25 +02:00
Martine Lenders
eef90c06fb
ipv6_addr: provide fix for off-by-x error
2017-04-25 19:19:43 +02:00
Martine Lenders
b272e904fd
icmpv6: fix formatter of checksum in icmpv6_hdr_print()
2017-02-07 10:09:46 +01:00
smlng
7fdd473271
pktdump: add icmpv6 print
2017-01-30 15:24:14 +01:00
Oleg Hahm
4f4214235b
timex: unambiguous time conversion macros
2017-01-19 13:18:08 +01:00
Joakim Nohlgård
7c48c891a0
xtimer: Update xtimer usage to match API changes
2016-11-29 20:44:31 +01:00
Martine Lenders
11d3cd8efa
net: fix header dumps for nanospec newlib
2016-11-10 21:21:28 +01:00
Martine Lenders
98949f5cb4
Merge pull request #5498 from kaspar030/make_msg_content_ptr_void_star
...
core: change msg.content.ptr type to void *
2016-06-03 13:59:25 +02:00
Yonezawa-T2
7a030004ad
sixlowpan_print: fix dump for elided source/destination address
2016-06-03 18:56:05 +09:00
7718f114cb
all: remove pointer casts for msg.content.ptr
2016-06-02 23:13:42 +02:00
BytesGalore
8589e8f5bc
fib: removed obsolete check for default route match
2016-04-02 23:15:33 +02:00
BytesGalore
2bbd2d14d3
fib: use return constants for universal_address_compare()
2016-04-02 10:02:09 +02: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
Yonezawa-T2
1ce140d910
debug: fix compilation error for %p formatter
2016-03-29 11:46:29 +09:00
Cenk Gündoğan
2991addea8
fib: add flush function
2016-03-09 17:30:56 +01:00
Martine Lenders
2082296d5b
ipv6_addr: optimize for size
2016-03-01 18:29:15 +01:00
Cenk Gündoğan
0ac4ee705c
ipv6: rpl: add source routing header for RPL
2016-02-27 20:39:12 +01:00
44e985bf8c
sys: net: ipv6: add print_ipv6_addr()
2016-02-05 14:06:36 +01:00
b9c97d86c2
sys: net: add ipv6 split prefix/interface from address functions
2016-02-05 13:24:45 +01:00
Oleg Hahm
a1ece30c55
fib: remove superfluous parameter
2016-01-26 23:52:18 +01:00
Yonezawa-T2
cf35763584
fib: add debug outputs
2016-01-07 10:12:46 +09:00
Yonezawa-T2
c36766a31f
OSX: fix warnings/errors thrown by clang on OS X
...
gnrc_ipv6_nc, gnrc_sixlowpan, gnrc_netdev2_eth, gnrc_ipv6, xbee, sixlowpan,
sc_gnrc_6ctx
2015-12-10 11:23:56 +09:00
Hauke Petersen
da39b3e939
net/gnrc/ipv6: de-inlined ipv6_addr_equal
2015-12-01 18:54:35 +01:00
BytesGalore
c1a3ccdef6
Merge pull request #4322 from cgundogan/pr/fib/print_fix
...
fib: fix output of fibroute
2015-11-28 11:38:55 +01:00
test
244bfb3fd4
fib: fix output of fibroute
2015-11-20 10:50:03 +01:00
Thomas Eichinger
6e3d2b6c53
net/fib: fix clang extra parantheses warning/error
2015-11-16 16:05:37 +01:00
BytesGalore
523d1f87ca
net/fib: Added network prefix flag to indicate a network destination
2015-11-02 15:57:39 +01:00
Cenk Gündoğan
206e027725
Merge pull request #3647 from BytesGalore/fib_source_routing
...
fib: initial source route support
2015-10-29 12:08:47 +01:00
BytesGalore
6c57582107
fib: initial source route support
2015-10-27 20:20:18 +01:00
Cenk Gündoğan
c5acf0227d
ipv6/addr: initialize iid part of an ipv6 address
2015-10-26 16:54:45 +01:00