mirror of
https://github.com/brmlab/osmo-tetra.git
synced 2025-06-08 01:45:04 +02:00
20 lines
346 B
C
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
|