static int rtp_data_trans_bts(struct osmo_fd *fd, unsigned int what) { struct mgcp_endpoint *endp; endp = (struct mgcp_endpoint *) fd->data; return rtp_data_transcoder(&endp->trans_bts, endp, MGCP_DEST_BTS, fd); }
static int rtp_data_trans_net(struct osmo_fd *fd, unsigned int what) { struct mgcp_endpoint *endp; endp = (struct mgcp_endpoint *) fd->data; return rtp_data_transcoder(&endp->trans_net, endp, DEST_NETWORK, fd); }