46#define LOG_MODULE "BR"
47#define LOG_LEVEL LOG_LEVEL_NONE
49extern uint16_t slip_config_basedelay;
51#if CLOCK_SECOND != 1000
52#error The system clock must be ticking in milliseconds
54static struct timer delay_timer;
57tun_input_callback(
void)
65 if(slip_config_basedelay) {
66 timer_set(&delay_timer, slip_config_basedelay);
78 if(!tun6_net_init(tun_input_callback)) {
79 err(EXIT_FAILURE,
"failed to open tun device %s", tun6_net_get_tun_name());
98const struct uip_fallback_interface rpl_interface = {
Border router header file.
void tcpip_input(void)
Deliver an incoming packet to the TCP/IP stack.
void timer_set(struct timer *t, clock_time_t interval)
Set a timer.
bool timer_expired(struct timer *t)
Check if a timer has expired.
#define uip_buf
Macro to access uip_aligned_buf as an array of bytes.
uint16_t uip_len
The length of the packet in the uip_buf buffer.
Header file for the logging system.