blob: 6a890b790993a444d96d8deadf63b0d4585c39b9 [file] [log] [blame]
Harald Welte318e4d52015-09-10 18:47:08 +02001#pragma once
2
Neels Hofmeyrdf63de22016-08-18 13:13:55 +02003#include <osmocom/iuh/hnbgw.h>
Neels Hofmeyrf1f2d7c2016-01-05 12:00:06 +01004#include <osmocom/rua/RUA_Cause.h>
Harald Welte318e4d52015-09-10 18:47:08 +02005
6int hnbgw_rua_rx(struct hnb_context *hnb, struct msgb *msg);
7int hnbgw_rua_init(void);
Harald Weltee2e5d4d2015-09-10 23:49:45 +02008
Harald Weltecd5e9812015-12-23 22:14:16 +01009int rua_tx_udt(struct hnb_context *hnb, const uint8_t *data, unsigned int len);
10int rua_tx_dt(struct hnb_context *hnb, int is_ps, uint32_t context_id,
11 const uint8_t *data, unsigned int len);
12int rua_tx_disc(struct hnb_context *hnb, int is_ps, uint32_t context_id,
13 const RUA_Cause_t *cause, const uint8_t *data, unsigned int len);