abr.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2017 Freie Universit├Ąt Berlin
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
21 #ifndef NET_GNRC_IPV6_NIB_ABR_H
22 #define NET_GNRC_IPV6_NIB_ABR_H
23 
24 #include "net/ipv6/addr.h"
25 #include "net/gnrc/ipv6/nib/conf.h"
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
31 #if (GNRC_IPV6_NIB_CONF_6LBR && GNRC_IPV6_NIB_CONF_MULTIHOP_P6C) || defined(DOXYGEN)
32 
40 int gnrc_ipv6_nib_abr_add(const ipv6_addr_t *addr);
41 
47 void gnrc_ipv6_nib_abr_del(const ipv6_addr_t *addr);
48 #endif /* (GNRC_IPV6_NIB_CONF_6LBR && GNRC_IPV6_NIB_CONF_MULTIHOP_P6C) || defined(DOXYGEN) */
49 
50 #ifdef __cplusplus
51 }
52 #endif
53 
54 #endif /* NET_GNRC_IPV6_NIB_ABR_H */
55 
int gnrc_ipv6_nib_abr_add(const ipv6_addr_t *addr)
Adds the address of an authoritative border router to the NIB.
Definitions for IPv6 addresses.
void gnrc_ipv6_nib_abr_del(const ipv6_addr_t *addr)
Removes an authoritative border router from the NIB.
Configuration macro definitions for neighbor information base.
Data type to represent an IPv6 address.
Definition: ipv6/addr.h:74