summaryrefslogtreecommitdiffstats
path: root/include/osmocom/core/prim.h
blob: 5494f3c3161577a14141e8d9308c4508a0b24263 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#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 {
	unsigned int sap;
	unsigned int primitive;
	enum osmo_prim_operation operation;
	struct msgb *msg;	/* message containing associated data */
};

#endif