1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/net/sixlowpan/border.h

43 lines
1.0 KiB
C
Raw Normal View History

/**
* 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 */
2013-08-05 16:10:54 +02:00
#ifndef _SIXLOWPAN_BORDER_H
#define _SIXLOWPAN_BORDER_H
#include <stdint.h>
#include <mutex.h>
2011-07-26 10:31:57 +02:00
#include <transceiver.h>
2013-08-05 16:10:54 +02:00
#include "ip.h"
2011-07-11 18:26:12 +02:00
#include "semaphore.h"
2011-07-27 02:12:30 +02:00
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);
2013-08-05 16:10:54 +02:00
#endif /* _SIXLOWPAN_BORDER_H*/