Commit e36493d3 authored by Navid Nikaein's avatar Navid Nikaein

LIONEL GAUTHIER: Log for GTP

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5357 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent ddd3aadb
......@@ -519,7 +519,7 @@ gtpv1u_new_data_req(
stack_req.apiInfo.sendtoInfo.teid = bearer_p->teid_sgw;
stack_req.apiInfo.sendtoInfo.ipAddr = bearer_p->sgw_ip_addr;
LOG_W(GTPU, "TX TO TEID %u addr 0x%x\n",bearer_p->teid_sgw, bearer_p->sgw_ip_addr);
LOG_I(GTPU, "TX TO TEID %u addr 0x%x\n",bearer_p->teid_sgw, bearer_p->sgw_ip_addr);
rc = nwGtpv1uGpduMsgNew(gtpv1u_data_p->gtpv1u_stack,
bearer_p->teid_sgw,
NW_FALSE,
......@@ -544,7 +544,7 @@ gtpv1u_new_data_req(
LOG_E(GTPU, "nwGtpv1uMsgDelete failed: 0x%x\n", rc);
return -1;
}
LOG_E(GTPU, "%s() return code OK\n", __FUNCTION__);
LOG_I(GTPU, "%s() return code OK\n", __FUNCTION__);
return 0;
}
......
......@@ -205,7 +205,7 @@ nwGtpv1uCreateAndSendMsg( NwGtpv1uStackT *thiz, NwU32T peerIp, NwU16T peerPort,
*((NwU32T *) msgHdr) = htonl(pMsg->teid);
msgHdr += 4;
GTPU_ERROR("nwGtpv1uCreateAndSendMsg to teid %u\n", pMsg->teid);
GTPU_DEBUG("nwGtpv1uCreateAndSendMsg to teid %u\n", pMsg->teid);
if(pMsg->seqNumFlag || pMsg->extHdrFlag || pMsg->npduNumFlag) {
*((NwU16T *) msgHdr) = (pMsg->seqNumFlag ? htons(pMsg->seqNum) : 0x0000);
......
......@@ -43,6 +43,9 @@
#include "NwGtpv1uPrivate.h"
#include "NwGtpv1uMsg.h"
#include "gtpv1u.h"
#include "UTIL/LOG/log.h"
#define NW_GTPV1U_EPC_SPECIFIC_HEADER_SIZE (12) /**< Size of GTPv1u EPC specific header */
#ifdef __cplusplus
......@@ -240,7 +243,7 @@ nwGtpv1uMsgSetTeid(NW_IN NwGtpv1uMsgHandleT hMsg, NwU32T teid)
{
NwGtpv1uMsgT *thiz = (NwGtpv1uMsgT *) hMsg;
thiz->teid = teid;
printf("nwGtpv1uMsgSetTeid() teid %u", teid);
GTPU_DEBUG("nwGtpv1uMsgSetTeid() teid %u", teid);
return NW_GTPV1U_OK;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment