aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc/gsm_04_11.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/openbsc/gsm_04_11.h')
-rw-r--r--include/openbsc/gsm_04_11.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/openbsc/gsm_04_11.h b/include/openbsc/gsm_04_11.h
index 1c044677f..7167a554b 100644
--- a/include/openbsc/gsm_04_11.h
+++ b/include/openbsc/gsm_04_11.h
@@ -46,8 +46,28 @@ struct sms_submit {
u_int8_t *user_data;
};
+/* SMS deliver PDU */
+struct sms_deliver {
+ u_int8_t *smsc;
+ u_int8_t mti:2;
+ u_int8_t rd:1;
+ u_int8_t vpf:2;
+ u_int8_t srr:1;
+ u_int8_t udhi:1;
+ u_int8_t rp:1;
+ u_int8_t msg_ref;
+ u_int8_t *orig_addr;
+ u_int8_t pid;
+ u_int8_t dcs;
+ u_int8_t vp;
+ u_int8_t ud_len;
+ u_int8_t *user_data;
+};
+
struct msgb;
int gsm0411_rcv_sms(struct msgb *msg);
+int gsm0411_send_sms(struct gsm_lchan *lchan, struct sms_deliver *sms);
+
#endif