mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
43 lines
1.0 KiB
C
43 lines
1.0 KiB
C
/**
|
|
* 6lowpan border router prototypes
|
|
*
|
|
* Copyright (C) 2013 INRIA.
|
|
*
|
|
* This file 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 sixlowpan
|
|
* @{
|
|
* @file sixlowborder.h
|
|
* @brief header for 6lowpan border router
|
|
* @author Martin Lenders <mlenders@inf.fu-berlin.de>
|
|
* @author Oliver Hahm <oliver.hahm@inria.fr>
|
|
* @}
|
|
*/
|
|
|
|
/* 6LoWPAN Border Router header file */
|
|
|
|
#ifndef _SIXLOWPAN_BORDER_H
|
|
#define _SIXLOWPAN_BORDER_H
|
|
|
|
#include <stdint.h>
|
|
#include <mutex.h>
|
|
#include <transceiver.h>
|
|
|
|
#include "ip.h"
|
|
#include "semaphore.h"
|
|
|
|
extern ipv6_addr_t abr_addr;
|
|
|
|
uint16_t border_get_serial_reader(void);
|
|
|
|
uint8_t *get_serial_out_buffer(int offset);
|
|
uint8_t *get_serial_in_buffer(int offset);
|
|
|
|
uint8_t border_initialize(transceiver_type_t trans, ipv6_addr_t *border_router_addr);
|
|
void border_send_ipv6_over_lowpan(ipv6_hdr_t *packet, uint8_t aro_flag, uint8_t sixco_flag);
|
|
void border_process_lowpan(void);
|
|
|
|
#endif /* _SIXLOWPAN_BORDER_H*/
|