2011-07-23 22:17:52 +02:00
|
|
|
/* 6LoWPAN Border Router header file */
|
2011-06-22 21:09:06 +02:00
|
|
|
|
2011-07-23 22:17:52 +02:00
|
|
|
#ifndef SIXLOWBORDER_H
|
|
|
|
#define SIXLOWBORDER_H
|
2011-06-22 21:09:06 +02:00
|
|
|
|
|
|
|
#include <stdint.h>
|
2011-07-05 04:24:13 +02:00
|
|
|
#include <mutex.h>
|
2011-07-26 10:31:57 +02:00
|
|
|
#include <transceiver.h>
|
|
|
|
|
2011-06-22 21:09:06 +02:00
|
|
|
#include "sixlowip.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;
|
|
|
|
|
2011-07-25 16:14:15 +02:00
|
|
|
uint16_t border_get_serial_reader();
|
2011-07-23 22:17:52 +02:00
|
|
|
|
2011-07-26 01:59:34 +02:00
|
|
|
uint8_t *get_serial_out_buffer(int offset);
|
|
|
|
uint8_t *get_serial_in_buffer(int offset);
|
|
|
|
|
2011-07-23 22:17:52 +02:00
|
|
|
uint8_t border_initialize(transceiver_type_t trans,ipv6_addr_t *border_router_addr);
|
|
|
|
void border_send_ipv6_over_lowpan(struct ipv6_hdr_t *packet, uint8_t aro_flag, uint8_t sixco_flag);
|
|
|
|
void border_process_lowpan(void);
|
2011-06-22 21:09:06 +02:00
|
|
|
|
2011-07-23 22:17:52 +02:00
|
|
|
#endif /* SIXLOWBORDER_H*/
|