The friendly Operating System for the Internet of Things
node.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015 Martine Lenders <mlenders@inf.fu-berlin.de>
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 
20 #ifndef GNRC_NDP_NODE_H
21 #define GNRC_NDP_NODE_H
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
44 kernel_pid_t gnrc_ndp_node_next_hop_l2addr(uint8_t *l2addr, uint8_t *l2addr_len,
45  kernel_pid_t iface, ipv6_addr_t *dst,
46  gnrc_pktsnip_t *pkt);
47 
48 #ifdef __cplusplus
49 }
50 #endif
51 
52 #endif /* GNRC_NDP_NODE_H */
53 
kernel_pid_t gnrc_ndp_node_next_hop_l2addr(uint8_t *l2addr, uint8_t *l2addr_len, kernel_pid_t iface, ipv6_addr_t *dst, gnrc_pktsnip_t *pkt)
Get link-layer address and interface for next hop to destination IPv6 address.
int16_t kernel_pid_t
Unique process identifier.
Definition: kernel_types.h:83
Type to represent parts (either headers or payload) of a packet, called snips.
Data type to represent an IPv6 address.
Definition: ipv6/addr.h:74