Benjamin Valentin
91ad8ec403
sys/net/ipv6: add ipv6_addr_init() helper function
...
Setting a compile-time const IP address can be a bit cumbersome.
Add a helper function to easy the process.
2022-03-04 15:34:15 +01:00
Sören Tempel
71f933312d
ipv6: fix typo in ipv6_addr_to_str documentation
...
It doesn't make any sense that `result_len` should specify the length of
`result_len`. Instead, `result_len` should specify the length of the
`result` parameter.
2021-09-09 03:56:39 +02:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines
2021-08-13 19:50:38 +02: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
chrysn
7e371bb1e6
ipv6: Declare unsigned long long literal
2020-09-15 12:55:29 +02:00
61db4d9724
sys/include: fix typos
2019-11-23 22:39:37 +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
970b5f8ff5
sys/net: fix typo on word 'initialized'
2017-09-04 16:14:19 +02:00
0fcc7d3834
cleanup: apply headerguard script output
2017-05-24 17:54:02 +02:00
Oleg Hahm
7ee7801c10
*: remove trailing underscores from header guards
2017-01-19 18:30:53 +01:00
Martine Lenders
2082296d5b
ipv6_addr: optimize for size
2016-03-01 18:29:15 +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
Hauke Petersen
da39b3e939
net/gnrc/ipv6: de-inlined ipv6_addr_equal
2015-12-01 18:54:35 +01:00
Cenk Gündoğan
c5acf0227d
ipv6/addr: initialize iid part of an ipv6 address
2015-10-26 16:54:45 +01:00
Martine Lenders
85c1c17090
ipv6_addr: make IPv4 compatible addresses optional
2015-09-11 20:03:46 +02:00
Martine Lenders
391522e1a8
ipv6_addr: adapt doc to proposed changes in #3608
2015-08-18 18:54:26 +02:00
Martine Lenders
203561e741
ipv6_addr: remove ng_ prefix
2015-08-11 13:27:07 +02:00