diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-03 02:27:21 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-03 02:27:21 +0800 |
commit | 98a3877e979c9e901a7adc6946904a5d535cb93f (patch) | |
tree | 6ad5a66f067a96eeff5d76c2fcca19cedcbdc8aa /openbsc/include | |
parent | 294cfcc1e5465075920d10c3fc66c1bdf004330b (diff) |
mgcp: Implement the "loopback" mode for a connection endpoint.
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/mgcp_internal.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/mgcp_internal.h b/openbsc/include/openbsc/mgcp_internal.h index 918ba4b2f..a17dc9e45 100644 --- a/openbsc/include/openbsc/mgcp_internal.h +++ b/openbsc/include/openbsc/mgcp_internal.h @@ -28,6 +28,15 @@ #define CI_UNUSED 0 +enum mgcp_connection_mode { + MGCP_CONN_NONE = 0, + MGCP_CONN_RECV_ONLY = 1, + MGCP_CONN_SEND_ONLY = 2, + MGCP_CONN_RECV_SEND = MGCP_CONN_RECV_ONLY | MGCP_CONN_SEND_ONLY, + MGCP_CONN_LOOPBACK = 4, +}; + + struct mgcp_endpoint { int ci; char *callid; |