This refuses IPv6 addresses that are defined in this list.
More...
This refuses IPv6 addresses that are defined in this list.
◆ gnrc_ipv6_blacklist_add()
int gnrc_ipv6_blacklist_add |
( |
const ipv6_addr_t * |
addr | ) |
|
Adds an IPv6 address to the blacklist.
- Parameters
-
- Returns
- 0, on success.
-
-1, if blacklist is full.
◆ gnrc_ipv6_blacklist_del()
void gnrc_ipv6_blacklist_del |
( |
const ipv6_addr_t * |
addr | ) |
|
Removes an IPv6 address from the blacklist.
Addresses not in the blacklist will be ignored.
- Parameters
-
◆ gnrc_ipv6_blacklisted()
Checks if an IPv6 address is blacklisted.
- Parameters
-
- Returns
- true, if
addr
is blacklisted.
-
false, if
addr
is not blacklisted.