diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-09-20 18:16:35 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-09-29 15:49:32 +0200 |
commit | 775234a8a980e178c8a305a44535d3b9c766534a (patch) | |
tree | bc94adcd4809cc5bd69e3796e9df3d6488dbb1a1 /openbsc/include/openbsc/mgcp.h | |
parent | 16bf8526094971f2d083a7719235ad5d1e0fd06f (diff) |
libmgcp: move mgcp_connection_mode to public header
mgcp_connection_mode will be used by the upcoming mgcpgw_client.h API.
Change-Id: I7a3f8905723320d968f1a53c1036904107b4fb2d
Diffstat (limited to 'openbsc/include/openbsc/mgcp.h')
-rw-r--r-- | openbsc/include/openbsc/mgcp.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/mgcp.h b/openbsc/include/openbsc/mgcp.h index b2262bc8d..12e0e9ce1 100644 --- a/openbsc/include/openbsc/mgcp.h +++ b/openbsc/include/openbsc/mgcp.h @@ -170,6 +170,14 @@ enum mgcp_role { MGCP_BSC_NAT, }; +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 | MGCP_CONN_RECV_SEND, +}; + struct mgcp_config { int source_port; char *local_ip; |