IPv6 address blacklist

This refuses IPv6 addresses that are defined in this list. More...

Detailed Description

This refuses IPv6 addresses that are defined in this list.

Modules

 GNRC IPv6 address blacklisting compile configurations
 

Files

file  blacklist.h
 IPv6 blacklist definitions.
 

Functions

int gnrc_ipv6_blacklist_add (const ipv6_addr_t *addr)
 Adds an IPv6 address to the blacklist. More...
 
void gnrc_ipv6_blacklist_del (const ipv6_addr_t *addr)
 Removes an IPv6 address from the blacklist. More...
 
bool gnrc_ipv6_blacklisted (const ipv6_addr_t *addr)
 Checks if an IPv6 address is blacklisted. More...
 
void gnrc_ipv6_blacklist_print (void)
 Prints the blacklist.
 

Function Documentation

◆ gnrc_ipv6_blacklist_add()

int gnrc_ipv6_blacklist_add ( const ipv6_addr_t addr)

Adds an IPv6 address to the blacklist.

Parameters
[in]addrAn IPv6 address.
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
[in]addrAn IPv6 address.

◆ gnrc_ipv6_blacklisted()

bool gnrc_ipv6_blacklisted ( const ipv6_addr_t addr)

Checks if an IPv6 address is blacklisted.

Parameters
[in]addrAn IPv6 address.
Returns
true, if addr is blacklisted.
false, if addr is not blacklisted.