Loading...
Searching...
No Matches
blacklist.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2015 Martine Lenders <mlenders@inf.fu-berlin.de>
3 * Copyright (C) 2016 Martin Landsmann <martin.landsmann@haw-hamburg.de>
4 *
5 * This file is subject to the terms and conditions of the GNU Lesser
6 * General Public License v2.1. See the file LICENSE in the top level
7 * directory for more details.
8 */
9
22#ifndef NET_GNRC_IPV6_BLACKLIST_H
23#define NET_GNRC_IPV6_BLACKLIST_H
24
25#include <stdbool.h>
26
27#include "net/ipv6/addr.h"
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
42#ifndef CONFIG_GNRC_IPV6_BLACKLIST_SIZE
43#define CONFIG_GNRC_IPV6_BLACKLIST_SIZE (8)
44#endif
56
65
75
80
81#ifdef __cplusplus
82}
83#endif
84
85#endif /* NET_GNRC_IPV6_BLACKLIST_H */
bool gnrc_ipv6_blacklisted(const ipv6_addr_t *addr)
Checks if an IPv6 address is blacklisted.
int gnrc_ipv6_blacklist_add(const ipv6_addr_t *addr)
Adds an IPv6 address to the blacklist.
void gnrc_ipv6_blacklist_del(const ipv6_addr_t *addr)
Removes an IPv6 address from the blacklist.
void gnrc_ipv6_blacklist_print(void)
Prints the blacklist.
Definitions for IPv6 addresses.
Data type to represent an IPv6 address.
Definition addr.h:72