osmo-tetra/src/osmo_prim.h
Harald Welte 4911ba91ef TETRA: start to use msgb as part of osmo_prim / tmvsap_prim
This will allow us to pass the same msgb (with different l1h/l2h)
up the stack.
2011-04-24 16:55:42 +02:00

20 lines
346 B
C

#ifndef OSMO_PRIMITIVE_H
#define OSMO_PRIMITIVE_H
#include <stdint.h>
enum osmo_prim_operation {
PRIM_OP_REQUEST,
PRIM_OP_RESPONSE,
PRIM_OP_INDICATION,
PRIM_OP_CONFIRM,
};
struct osmo_prim_hdr {
uint16_t sap;
uint16_t primitive;
enum osmo_prim_operation operation;
struct msgb *msg; /* message containing associated data */
};
#endif