diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-05 03:37:22 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-05 06:10:58 +0800 |
commit | c49212778f84736f1cc59fccf7946595c629ed91 (patch) | |
tree | 8345d1c5ce33c0b94a7c0f825f5524df0ed3e064 /openbsc/include/openbsc/mgcp_internal.h | |
parent | bb89aa1430872598cec1f2508cefd040efaefc87 (diff) |
mgcp: Move the bfd for rtp/rtcp into the port
Stop using the memset in the mgcp_rtp_end_reset as we
will reset the list pointers and then have a mess..
Diffstat (limited to 'openbsc/include/openbsc/mgcp_internal.h')
-rw-r--r-- | openbsc/include/openbsc/mgcp_internal.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/openbsc/include/openbsc/mgcp_internal.h b/openbsc/include/openbsc/mgcp_internal.h index 7f999a35d..357f3bf82 100644 --- a/openbsc/include/openbsc/mgcp_internal.h +++ b/openbsc/include/openbsc/mgcp_internal.h @@ -59,6 +59,12 @@ struct mgcp_rtp_end { int payload_type; + /* + * Each end has a socket... + */ + struct bsc_fd rtp; + struct bsc_fd rtcp; + int local_port; }; @@ -69,14 +75,6 @@ struct mgcp_endpoint { int conn_mode; int orig_mode; - /* - * RTP mangling: - * - we get RTP and RTCP to us and need to forward to the BTS - * - we get RTP and RTCP from the BTS and forward to the network - */ - struct bsc_fd local_rtp; - struct bsc_fd local_rtcp; - /* backpointer */ struct mgcp_config *cfg; |