Contiki 3.x
tsch-queue.c File Reference

    Per-neighbor packet queues for TSCH MAC.
More...

#include "contiki.h"
#include "lib/list.h"
#include "lib/memb.h"
#include "lib/random.h"
#include "net/queuebuf.h"
#include "net/mac/rdc.h"
#include "net/mac/tsch/tsch.h"
#include "net/mac/tsch/tsch-private.h"
#include "net/mac/tsch/tsch-queue.h"
#include "net/mac/tsch/tsch-schedule.h"
#include "net/mac/tsch/tsch-slot-operation.h"
#include "net/mac/tsch/tsch-log.h"
#include <string.h>
#include "net/net-debug.h"

Go to the source code of this file.

Detailed Description

    Per-neighbor packet queues for TSCH MAC.

The list of neighbors uses the TSCH lock, but per-neighbor packet array are lock-free. Read-only operation on neighbor and packets are allowed from interrupts and outside of them. Other operations are allowed outside of interrupt only.

Author
Simon Duquennoy simon.nosp@m.duq@.nosp@m.sics..nosp@m.se Beshr Al Nahas beshr.nosp@m.@sic.nosp@m.s.se Domenico De Guglielmo <d.deg.nosp@m.ugli.nosp@m.elmo@.nosp@m.iet..nosp@m.unipi.nosp@m..it >

Definition in file tsch-queue.c.