底层网卡发送报文流程


Breakpoint 9, ns3::PointToPointNetDevice::TransmitComplete (this=0x68a4e0) at ../src/point-to-point/model/point-to-point-net-device.cc:327
327      NS_ASSERT_MSG (m_txMachineState == BUSY, "Must be BUSY if transmitting");
(gdb) bt
#0  ns3::PointToPointNetDevice::TransmitComplete (this=0x68a4e0) at ../src/point-to-point/model/point-to-point-net-device.cc:327
#1  0x00007ffff5c0cb69 in ns3::EventImpl* ns3::MakeEvent(void (ns3::PointToPointNetDevice::*)(), ns3::PointToPointNetDevice*)::EventMemberImpl0::Notify() (this=0x677a00) at ./ns3/make-event.h:323
#2  0x00007ffff733e5e7 in ns3::EventImpl::Invoke (this=0x677a00) at ../src/core/model/event-impl.cc:51
#3  0x00007ffff73432ac in ns3::DefaultSimulatorImpl::ProcessOneEvent (this=0x6b1870) at ../src/core/model/default-simulator-impl.cc:147
#4  0x00007ffff7343638 in ns3::DefaultSimulatorImpl::Run (this=0x6b1870) at ../src/core/model/default-simulator-impl.cc:200
#5  0x00007ffff733f378 in ns3::Simulator::Run () at ../src/core/model/simulator.cc:204
#6  0x000000000040c564 in main (argc=1, argv=0x7fffffffdc08) at ../myscripts/ns-3-dce-quagga/example/dce-quagga-mpls.cc:194
(gdb) c
Continuing.

Breakpoint 10, ns3::PointToPointNetDevice::TransmitStart (this=0x68a4e0, p=...) at ../src/point-to-point/model/point-to-point-net-device.cc:277
277      bool result = m_channel->TransmitStart (p, this, txTime);
(gdb) bt
#0  ns3::PointToPointNetDevice::TransmitStart (this=0x68a4e0, p=...) at ../src/point-to-point/model/point-to-point-net-device.cc:277
#1  0x00007ffff5c03794 in ns3::PointToPointNetDevice::TransmitComplete (this=0x68a4e0) at ../src/point-to-point/model/point-to-point-net-device.cc:349
#2  0x00007ffff5c0cb69 in ns3::EventImpl* ns3::MakeEvent(void (ns3::PointToPointNetDevice::*)(), ns3::PointToPointNetDevice*)::EventMemberImpl0::Notify() (this=0x677a00) at ./ns3/make-event.h:323
#3  0x00007ffff733e5e7 in ns3::EventImpl::Invoke (this=0x677a00) at ../src/core/model/event-impl.cc:51
#4  0x00007ffff73432ac in ns3::DefaultSimulatorImpl::ProcessOneEvent (this=0x6b1870) at ../src/core/model/default-simulator-impl.cc:147
#5  0x00007ffff7343638 in ns3::DefaultSimulatorImpl::Run (this=0x6b1870) at ../src/core/model/default-simulator-impl.cc:200
#6  0x00007ffff733f378 in ns3::Simulator::Run () at ../src/core/model/simulator.cc:204
#7  0x000000000040c564 in main (argc=1, argv=0x7fffffffdc08) at ../myscripts/ns-3-dce-quagga/example/dce-quagga-mpls.cc:194
(gdb)

你可能感兴趣的:(ns3,quagga)