log packet size in uplink EPC data flow
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user