mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
983d056c75
Instead of using differing integer types use kernel_pid_t for process identifier. This type is introduced in a new header file to avoid circular dependencies.
62 lines
1.3 KiB
C
62 lines
1.3 KiB
C
/*
|
|
* 6lowpan neighbor discovery
|
|
*
|
|
* Copyright (C) 2013 INRIA.
|
|
*
|
|
* This file is subject to the terms and conditions of the GNU Lesser General
|
|
* Public License. See the file LICENSE in the top level directory for more
|
|
* details.
|
|
*/
|
|
|
|
/**
|
|
* @ingroup net_sixlowpan
|
|
* @{
|
|
* @file sixlowpan/icmp.h
|
|
* @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>
|
|
* @}
|
|
*/
|
|
|
|
#ifndef _SIXLOWPAN_ICMP_H
|
|
#define _SIXLOWPAN_ICMP_H
|
|
|
|
#include <stdint.h>
|
|
|
|
#include "vtimer.h"
|
|
#include "sixlowpan/icmp.h"
|
|
#include "sixlowpan/ndp.h"
|
|
#include "sixlowpan/types.h"
|
|
|
|
#include "lowpan.h"
|
|
#include "ip.h"
|
|
|
|
enum option_types_t {
|
|
OPT_SLLAO = 1,
|
|
OPT_TLLAO,
|
|
OPT_PI,
|
|
OPT_MTU,
|
|
OPT_ARO,
|
|
OPT_6CO,
|
|
OPT_ABRO,
|
|
OPT_DAR,
|
|
OPT_DAC,
|
|
};
|
|
|
|
extern kernel_pid_t nd_nbr_cache_rem_pid;
|
|
|
|
|
|
void recv_echo_req(void);
|
|
void recv_echo_repl(void);
|
|
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,
|
|
uint8_t cid);
|
|
void abr_remove_context(uint8_t cid);
|
|
#endif /* _SIXLOWPAN_ICMP_H*/
|