/** * 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 * @author Oliver Hahm * @} */ /* 6LoWPAN Border Router header file */ #ifndef _SIXLOWPAN_BORDER_H #define _SIXLOWPAN_BORDER_H #include #include #include #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*/