This allows you to only accept IPv6 addresses that are defined in this list.
More...
This allows you to only accept IPv6 addresses that are defined in this list.
◆ gnrc_ipv6_whitelist_add()
int gnrc_ipv6_whitelist_add |
( |
const ipv6_addr_t * |
addr | ) |
|
Adds an IPv6 address to the whitelist.
- Parameters
-
- Returns
- 0, on success.
-
-1, if whitelist is full.
◆ gnrc_ipv6_whitelist_del()
void gnrc_ipv6_whitelist_del |
( |
const ipv6_addr_t * |
addr | ) |
|
Removes an IPv6 address from the whitelist.
Addresses not in the whitelist will be ignored.
- Parameters
-
◆ gnrc_ipv6_whitelisted()
Checks if an IPv6 address is whitelisted.
- Parameters
-
- Returns
- true, if
addr
is whitelisted.
-
false, if
addr
is not whitelisted.