log packet size in uplink EPC data flow

This commit is contained in:
Nicola Baldo
2012-01-20 14:33:18 +01:00
parent 4f5f556f93
commit aa6b8373fe
2 changed files with 2 additions and 0 deletions

View File

@@ -195,6 +195,7 @@ void
EpcSgwPgwApplication::SendToTunDevice (Ptr<Packet> packet, uint32_t teid)
{
NS_LOG_FUNCTION (this << packet << teid);
NS_LOG_LOGIC (" packet size: " << packet->GetSize () << " bytes");
m_tunDevice->Receive (packet, 0x0800, m_tunDevice->GetAddress (), m_tunDevice->GetAddress (), NetDevice::PACKET_HOST);
}

View File

@@ -242,6 +242,7 @@ LteUeRrc::Send (Ptr<Packet> packet)
}
else
{
NS_LOG_LOGIC (this << " RNTI=" << m_rnti << " sending " << packet << "on LCID " << (uint32_t) lcid << " (" << packet->GetSize () << " bytes)");
it->second->m_pdcp->GetLtePdcpSapProvider ()->TransmitRrcPdu (params);
return true;
}