VCD measurements
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6138 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -958,6 +958,7 @@ void *gtpv1u_eNB_task(void *args)
|
|||||||
teid_t enb_s1u_teid = 0;
|
teid_t enb_s1u_teid = 0;
|
||||||
teid_t sgw_s1u_teid = 0;
|
teid_t sgw_s1u_teid = 0;
|
||||||
|
|
||||||
|
vcd_signal_dumper_dump_function_by_name(VCD_SIGNAL_DUMPER_FUNCTIONS_GTPV1U_PROCESS_TUNNEL_DATA_REQ, VCD_FUNCTION_IN);
|
||||||
data_req_p = >PV1U_ENB_TUNNEL_DATA_REQ(received_message_p);
|
data_req_p = >PV1U_ENB_TUNNEL_DATA_REQ(received_message_p);
|
||||||
//ipv4_send_data(ipv4_data_p->sd, data_ind_p->buffer, data_ind_p->length);
|
//ipv4_send_data(ipv4_data_p->sd, data_ind_p->buffer, data_ind_p->length);
|
||||||
|
|
||||||
@@ -1003,6 +1004,7 @@ void *gtpv1u_eNB_task(void *args)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
vcd_signal_dumper_dump_function_by_name(VCD_SIGNAL_DUMPER_FUNCTIONS_GTPV1U_PROCESS_TUNNEL_DATA_REQ, VCD_FUNCTION_OUT);
|
||||||
/* Buffer still needed, do not free it */
|
/* Buffer still needed, do not free it */
|
||||||
//itti_free(ITTI_MSG_ORIGIN_ID(received_message_p), data_req_p->buffer);
|
//itti_free(ITTI_MSG_ORIGIN_ID(received_message_p), data_req_p->buffer);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -50,6 +50,7 @@
|
|||||||
#include "gtpv1u.h"
|
#include "gtpv1u.h"
|
||||||
#if defined(ENB_MODE)
|
#if defined(ENB_MODE)
|
||||||
#include "UTIL/LOG/log.h"
|
#include "UTIL/LOG/log.h"
|
||||||
|
#include "UTIL/LOG/vcd_signal_dumper.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
@@ -240,7 +241,9 @@ nwGtpv1uCreateAndSendMsg( NwGtpv1uStackT *thiz, NwU32T peerIp, NwU16T peerPort,
|
|||||||
peerIp,
|
peerIp,
|
||||||
peerPort);
|
peerPort);
|
||||||
|
|
||||||
|
#if defined(LOG_GTPU) && LOG_GTPU > 0
|
||||||
NW_LEAVE(thiz);
|
NW_LEAVE(thiz);
|
||||||
|
#endif
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -788,6 +791,7 @@ nwGtpv1uProcessUdpReq( NW_IN NwGtpv1uStackHandleT hGtpuStackHandle,
|
|||||||
NwGtpv1uStackT *thiz;
|
NwGtpv1uStackT *thiz;
|
||||||
NwU16T msgType;
|
NwU16T msgType;
|
||||||
|
|
||||||
|
vcd_signal_dumper_dump_function_by_name(VCD_SIGNAL_DUMPER_FUNCTIONS_GTPV1U_PROCESS_UDP_REQ, VCD_FUNCTION_IN);
|
||||||
thiz = (NwGtpv1uStackT *) hGtpuStackHandle;
|
thiz = (NwGtpv1uStackT *) hGtpuStackHandle;
|
||||||
|
|
||||||
NW_ASSERT(thiz);
|
NW_ASSERT(thiz);
|
||||||
@@ -835,6 +839,7 @@ nwGtpv1uProcessUdpReq( NW_IN NwGtpv1uStackHandleT hGtpuStackHandle,
|
|||||||
#if defined(LOG_GTPU) && LOG_GTPU > 0
|
#if defined(LOG_GTPU) && LOG_GTPU > 0
|
||||||
NW_LEAVE(thiz);
|
NW_LEAVE(thiz);
|
||||||
#endif
|
#endif
|
||||||
|
vcd_signal_dumper_dump_function_by_name(VCD_SIGNAL_DUMPER_FUNCTIONS_GTPV1U_PROCESS_UDP_REQ, VCD_FUNCTION_OUT);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -304,7 +304,9 @@ nwGtpv1uMsgSetTeid(NW_IN NwGtpv1uMsgHandleT hMsg, NwU32T teid)
|
|||||||
{
|
{
|
||||||
NwGtpv1uMsgT *thiz = (NwGtpv1uMsgT *) hMsg;
|
NwGtpv1uMsgT *thiz = (NwGtpv1uMsgT *) hMsg;
|
||||||
thiz->teid = teid;
|
thiz->teid = teid;
|
||||||
|
#if defined(LOG_GTPU) && LOG_GTPU > 0
|
||||||
GTPU_DEBUG("nwGtpv1uMsgSetTeid() teid %u", teid);
|
GTPU_DEBUG("nwGtpv1uMsgSetTeid() teid %u", teid);
|
||||||
|
#endif
|
||||||
return NW_GTPV1U_OK;
|
return NW_GTPV1U_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user