Neels Hofmeyr | b5ce49f | 2018-07-24 17:42:14 +0200 | [diff] [blame] | 1 | /* GSM 08.08 function declarations for osmo-bsc */ |
Holger Hans Peter Freyther | ec32b58 | 2010-03-23 07:40:46 +0100 | [diff] [blame] | 2 | |
Neels Hofmeyr | b5ce49f | 2018-07-24 17:42:14 +0200 | [diff] [blame] | 3 | #pragma once |
Holger Hans Peter Freyther | 05a379b | 2010-06-14 15:50:35 +0800 | [diff] [blame] | 4 | |
Neels Hofmeyr | b5ce49f | 2018-07-24 17:42:14 +0200 | [diff] [blame] | 5 | #include <stdint.h> |
Holger Hans Peter Freyther | ec32b58 | 2010-03-23 07:40:46 +0100 | [diff] [blame] | 6 | |
Neels Hofmeyr | b5ce49f | 2018-07-24 17:42:14 +0200 | [diff] [blame] | 7 | struct gsm_subscriber_connection; |
Holger Hans Peter Freyther | 9764331 | 2010-06-17 16:41:25 +0800 | [diff] [blame] | 8 | |
Neels Hofmeyr | c19581f | 2018-05-27 03:05:18 +0200 | [diff] [blame] | 9 | void bsc_sapi_n_reject(struct gsm_subscriber_connection *conn, int dlci); |
| 10 | void bsc_cipher_mode_compl(struct gsm_subscriber_connection *conn, struct msgb *msg, uint8_t chosen_encr); |
| 11 | int bsc_compl_l3(struct gsm_subscriber_connection *conn, struct msgb *msg, uint16_t chosen_channel); |
| 12 | void bsc_dtap(struct gsm_subscriber_connection *conn, uint8_t link_id, struct msgb *msg); |
Neels Hofmeyr | c19581f | 2018-05-27 03:05:18 +0200 | [diff] [blame] | 13 | void bsc_cm_update(struct gsm_subscriber_connection *conn, |
| 14 | const uint8_t *cm2, uint8_t cm2_len, |
| 15 | const uint8_t *cm3, uint8_t cm3_len); |