Loading...
Searching...
No Matches
nd.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
23#ifndef NET_GNRC_SIXLOWPAN_ND_H
24#define NET_GNRC_SIXLOWPAN_ND_H
25
26#include <stdint.h>
27
28#include "net/gnrc/pkt.h"
30#include "net/ipv6/addr.h"
31#include "net/ndp.h"
32#include "net/sixlowpan/nd.h"
33#include "timex.h"
34
35#ifdef __cplusplus
36extern "C" {
37#endif
38
50gnrc_pktsnip_t *gnrc_sixlowpan_nd_opt_ar_build(uint8_t status, uint16_t ltime, eui64_t *eui64,
51 gnrc_pktsnip_t *next);
52
65gnrc_pktsnip_t *gnrc_sixlowpan_nd_opt_6ctx_build(uint8_t prefix_len, uint8_t flags, uint16_t ltime,
66 ipv6_addr_t *prefix, gnrc_pktsnip_t *next);
67
79gnrc_pktsnip_t *gnrc_sixlowpan_nd_opt_abr_build(uint32_t version, uint16_t ltime,
80 ipv6_addr_t *braddr, gnrc_pktsnip_t *next);
81
82#ifdef __cplusplus
83}
84#endif
85
86#endif /* NET_GNRC_SIXLOWPAN_ND_H */
gnrc_pktsnip_t * gnrc_sixlowpan_nd_opt_6ctx_build(uint8_t prefix_len, uint8_t flags, uint16_t ltime, ipv6_addr_t *prefix, gnrc_pktsnip_t *next)
Builds the 6LoWPAN context option.
gnrc_pktsnip_t * gnrc_sixlowpan_nd_opt_abr_build(uint32_t version, uint16_t ltime, ipv6_addr_t *braddr, gnrc_pktsnip_t *next)
Builds the authoritative border router option.
gnrc_pktsnip_t * gnrc_sixlowpan_nd_opt_ar_build(uint8_t status, uint16_t ltime, eui64_t *eui64, gnrc_pktsnip_t *next)
Builds the address registration option.
Definitions for IPv6 addresses.
IPv6 neighbor discovery message type definitions.
General definitions for network packets and their helper functions.
Message type and helper function definitions for 6LoWPAN-ND.
Type to represent parts (either headers or payload) of a packet, called snips.
Definition pkt.h:108
Configuration macros for 6LoWPAN.
Utility library for comparing and computing timestamps.
Data type to represent an EUI-64.
Definition eui64.h:55
Data type to represent an IPv6 address.
Definition addr.h:72