aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2016-02-15 11:55:47 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-03-03 16:19:10 +0100
commitd6d0d8b86fb16fd5a8d6090d26b6b7848a8281ce (patch)
treed7dada9ebc7ca97f66878891091494f9003e32b4 /openbsc/include
parent38137e84f738167fcb9f9031a1142af78d43a55f (diff)
WIP: Wait for radio bearer before sending pdp context accept
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/iu.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/iu.h b/openbsc/include/openbsc/iu.h
index 3bcc37825..1146d686e 100644
--- a/openbsc/include/openbsc/iu.h
+++ b/openbsc/include/openbsc/iu.h
@@ -1,5 +1,6 @@
#pragma once
+struct sgsn_pdp_ctx;
struct msgb;
struct gprs_ra_id;
@@ -8,8 +9,10 @@ struct iu_cb_ctx {
};
struct ue_conn_ctx {
+ struct llist_head list;
struct osmo_sua_link *link;
uint32_t conn_id;
+ struct sgsn_pdp_ctx *pdp;
};
/* Implementations of iu_recv_cb_t shall find the ue_conn_ctx in msg->dst. */
@@ -23,4 +26,4 @@ int iu_init(void *ctx, const char *listen_addr, uint16_t listen_port,
int iu_tx(struct msgb *msg, uint8_t sapi);
int iu_rab_act_cs(struct ue_conn_ctx *ue_ctx, uint32_t rtp_ip, uint16_t rtp_port);
-int iu_rab_act_ps(struct ue_conn_ctx *ue_ctx, uint32_t gtp_ip, uint32_t gtp_tei);
+int iu_rab_act_ps(struct sgsn_pdp_ctx *pdp, uint32_t gtp_ip, uint32_t gtp_tei);