diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-02-13 15:50:43 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-02-13 15:50:43 +0100 |
commit | cca849a825200741f8e24ba7ccedabd5bbb1972d (patch) | |
tree | 07ecefcecd9526beebcb0f31e57eaeeeb13d0837 /openbsc/src/input/lapd.h | |
parent | 09cefee4db4e5dcec3adf75788690189f856b2e6 (diff) | |
parent | 0896b50197f1d423803c30f5edd1e99524316310 (diff) |
Merge branch 'rbs2000'
Diffstat (limited to 'openbsc/src/input/lapd.h')
-rw-r--r-- | openbsc/src/input/lapd.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/openbsc/src/input/lapd.h b/openbsc/src/input/lapd.h index 724d0cff8..fd11edaa3 100644 --- a/openbsc/src/input/lapd.h +++ b/openbsc/src/input/lapd.h @@ -36,6 +36,11 @@ struct lapd_instance *lapd_instance_alloc(int network_side, void (*tx_cb)(uint8_t *data, int len, void *cbdata), void *cbdata); -int lapd_send_sabm(struct lapd_instance *li, uint8_t tei, uint8_t sapi); + +/* Start a (user-side) SAP for the specified TEI/SAPI on the LAPD instance */ +int lapd_sap_start(struct lapd_instance *li, uint8_t tei, uint8_t sapi); + +/* Stop a (user-side) SAP for the specified TEI/SAPI on the LAPD instance */ +int lapd_sap_stop(struct lapd_instance *li, uint8_t tei, uint8_t sapi); #endif /* OPENBSC_LAPD_H */ |