VIRT-PHY: Don't redefine GSMTAP port number, use libosmocore

Change-Id: I11d04d76292c52ec5ab70893e8c6a2e55586b2ec
This commit is contained in:
Harald Welte 2017-07-19 00:32:36 +02:00
parent 7b6071208e
commit ef9ee6116b
2 changed files with 2 additions and 4 deletions

View File

@ -17,9 +17,7 @@
#define VIRT_UM_MSGB_SIZE 256
#define DEFAULT_MS_MCAST_GROUP "239.193.23.1"
#define DEFAULT_MS_MCAST_PORT 4729 /* IANA-registered port for GSMTAP */
#define DEFAULT_BTS_MCAST_GROUP "239.193.23.2"
#define DEFAULT_BTS_MCAST_PORT 4729 /* IANA-registered port for GSMTAP */
struct virt_um_inst {
void *priv;

View File

@ -21,6 +21,7 @@
#include <osmocom/core/msgb.h>
#include <osmocom/core/select.h>
#include <osmocom/core/gsmtap.h>
#include <stdint.h>
#include <string.h>
#include <stdio.h>
@ -34,12 +35,11 @@
#include <virtphy/logging.h>
#include <virtphy/virt_l1_sched.h>
#define DEFAULT_MCAST_PORT 4729 /* IANA-registered port for GSMTAP */
#define DEFAULT_LOG_MASK "DL1C,1:DVIRPHY,1"
static char *dl_rx_grp = DEFAULT_MS_MCAST_GROUP;
static char *ul_tx_grp = DEFAULT_BTS_MCAST_GROUP;
static int port = DEFAULT_MCAST_PORT;
static int port = GSMTAP_UDP_PORT;
static char *log_mask = DEFAULT_LOG_MASK;
static char *l1ctl_sock_path = L1CTL_SOCK_PATH;
static char *arfcn_sig_lev_red_mask = NULL;