2013-06-22 05:11:53 +02:00
|
|
|
/*
|
|
|
|
* 6lowpan neighbor discovery
|
|
|
|
*
|
|
|
|
* Copyright (C) 2013 INRIA.
|
|
|
|
*
|
2013-11-22 20:47:05 +01:00
|
|
|
* This file is subject to the terms and conditions of the GNU Lesser General
|
2013-06-22 05:11:53 +02:00
|
|
|
* Public License. See the file LICENSE in the top level directory for more
|
|
|
|
* details.
|
2014-04-16 12:09:49 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @ingroup net_sixlowpan
|
2013-06-22 05:11:53 +02:00
|
|
|
* @{
|
2014-05-16 13:36:05 +02:00
|
|
|
* @file sixlowpan/icmp.h
|
2013-06-22 05:11:53 +02:00
|
|
|
* @brief 6lowpan neighbor discovery constants, data structs, and prototypes
|
|
|
|
* @author Stephan Zeisberg <zeisberg@mi.fu-berlin.de>
|
|
|
|
* @author Martin Lenders <mlenders@inf.fu-berlin.de>
|
|
|
|
* @author Oliver Gesch <oliver.gesch@googlemail.com>
|
|
|
|
* @}
|
|
|
|
*/
|
2011-06-19 13:54:49 +02:00
|
|
|
|
2013-08-05 16:10:54 +02:00
|
|
|
#ifndef _SIXLOWPAN_ICMP_H
|
|
|
|
#define _SIXLOWPAN_ICMP_H
|
2011-06-19 13:54:49 +02:00
|
|
|
|
2010-10-14 13:14:16 +02:00
|
|
|
#include <stdint.h>
|
2013-08-14 04:35:58 +02:00
|
|
|
|
2011-01-18 11:02:48 +01:00
|
|
|
#include "vtimer.h"
|
2013-08-09 03:13:37 +02:00
|
|
|
#include "sixlowpan/icmp.h"
|
2013-08-14 04:35:58 +02:00
|
|
|
#include "sixlowpan/ndp.h"
|
|
|
|
#include "sixlowpan/types.h"
|
|
|
|
|
2013-08-05 16:10:54 +02:00
|
|
|
#include "lowpan.h"
|
|
|
|
#include "ip.h"
|
2010-10-14 13:14:16 +02:00
|
|
|
|
2011-01-18 11:02:48 +01:00
|
|
|
enum option_types_t {
|
|
|
|
OPT_SLLAO = 1,
|
|
|
|
OPT_TLLAO,
|
|
|
|
OPT_PI,
|
|
|
|
OPT_MTU,
|
|
|
|
OPT_ARO,
|
|
|
|
OPT_6CO,
|
|
|
|
OPT_ABRO,
|
|
|
|
OPT_DAR,
|
2013-06-22 05:11:53 +02:00
|
|
|
OPT_DAC,
|
2011-01-18 11:02:48 +01:00
|
|
|
};
|
|
|
|
|
2014-02-13 13:57:59 +01:00
|
|
|
extern int nd_nbr_cache_rem_pid;
|
2011-01-18 11:02:48 +01:00
|
|
|
|
|
|
|
|
2013-07-24 17:06:25 +02:00
|
|
|
void recv_echo_req(void);
|
|
|
|
void recv_echo_repl(void);
|
2013-08-14 04:35:58 +02:00
|
|
|
void recv_rtr_sol(void);
|
|
|
|
void recv_rtr_adv(void);
|
|
|
|
void recv_nbr_adv(void);
|
|
|
|
void recv_nbr_sol(void);
|
|
|
|
|
|
|
|
void nbr_cache_auto_rem(void);
|
|
|
|
ndp_a6br_cache_t *abr_add_context(uint16_t version, ipv6_addr_t *abr_addr,
|
2013-08-14 17:04:17 +02:00
|
|
|
uint8_t cid);
|
2011-07-26 13:35:58 +02:00
|
|
|
void abr_remove_context(uint8_t cid);
|
2013-08-05 16:10:54 +02:00
|
|
|
#endif /* _SIXLOWPAN_ICMP_H*/
|