ns3,路由选择

Breakpoint 2, ns3::AnimationInterface::TrackIpv4RoutePaths (this=0x7547f0) at ../src/netanim/model/animation-interface.cc:1707
1707      if (m_ipv4RouteTrackElements.empty ())
(gdb) c
Continuing.

Breakpoint 3, ns3::AnimationInterface::TrackIpv4RoutePaths (this=0x7547f0) at ../src/netanim/model/animation-interface.cc:1739
1739          Ptr <Ipv4Route> rt = rp->RouteOutput (pkt, header, 0, sockerr);
(gdb) bt
#0  ns3::AnimationInterface::TrackIpv4RoutePaths (this=0x7547f0) at ../src/netanim/model/animation-interface.cc:1739
#1  0x00007ffff4d6ae60 in ns3::AnimationInterface::TrackIpv4Route (this=0x7547f0) at ../src/netanim/model/animation-interface.cc:1874
#2  0x00007ffff4d78e31 in ns3::EventImpl* ns3::MakeEvent<void (ns3::AnimationInterface::*)(), ns3::AnimationInterface*>(void (ns3::AnimationInterface::*)(), ns3::AnimationInterface*)::EventMemberImpl0::Notify() (this=0x64d030) at ./ns3/make-event.h:323
#3  0x00007ffff70c52f7 in ns3::EventImpl::Invoke (this=0x64d030) at ../src/core/model/event-impl.cc:51
#4  0x00007ffff70c9fbc in ns3::DefaultSimulatorImpl::ProcessOneEvent (this=0x6c1240) at ../src/core/model/default-simulator-impl.cc:147
#5  0x00007ffff70ca348 in ns3::DefaultSimulatorImpl::Run (this=0x6c1240) at ../src/core/model/default-simulator-impl.cc:200
#6  0x00007ffff70c6088 in ns3::Simulator::Run () at ../src/core/model/simulator.cc:204
#7  0x000000000041a108 in main (argc=1, argv=0x7fffffffdec8) at ../myscripts/ns-3-dce-quagga/example/dce-zebra-simple.cc:541
(gdb) bt
#0  ns3::AnimationInterface::TrackIpv4RoutePaths (this=0x7547f0) at ../src/netanim/model/animation-interface.cc:1739
#1  0x00007ffff4d6ae60 in ns3::AnimationInterface::TrackIpv4Route (this=0x7547f0) at ../src/netanim/model/animation-interface.cc:1874
#2  0x00007ffff4d78e31 in ns3::EventImpl* ns3::MakeEvent<void (ns3::AnimationInterface::*)(), ns3::AnimationInterface*>(void (ns3::AnimationInterface::*)(), ns3::AnimationInterface*)::EventMemberImpl0::Notify() (this=0x64d030) at ./ns3/make-event.h:323
#3  0x00007ffff70c52f7 in ns3::EventImpl::Invoke (this=0x64d030) at ../src/core/model/event-impl.cc:51
#4  0x00007ffff70c9fbc in ns3::DefaultSimulatorImpl::ProcessOneEvent (this=0x6c1240) at ../src/core/model/default-simulator-impl.cc:147
#5  0x00007ffff70ca348 in ns3::DefaultSimulatorImpl::Run (this=0x6c1240) at ../src/core/model/default-simulator-impl.cc:200
#6  0x00007ffff70c6088 in ns3::Simulator::Run () at ../src/core/model/simulator.cc:204
#7  0x000000000041a108 in main (argc=1, argv=0x7fffffffdec8) at ../myscripts/ns-3-dce-quagga/example/dce-zebra-simple.cc:541
(gdb) s
ns3::Ptr<ns3::Ipv4RoutingProtocol>::operator-> (this=0x7fffffffc470) at /mnt/n/new/dce/build/include/ns3.23/ns3/ptr.h:781
781      return m_ptr;
(gdb) fin
Run till exit from #0  ns3::Ptr<ns3::Ipv4RoutingProtocol>::operator-> (this=0x7fffffffc470) at /mnt/n/new/dce/build/include/ns3.23/ns3/ptr.h:781
0x00007ffff4d68ac1 in ns3::AnimationInterface::TrackIpv4RoutePaths (this=0x7547f0) at ../src/netanim/model/animation-interface.cc:1739
1739          Ptr <Ipv4Route> rt = rp->RouteOutput (pkt, header, 0, sockerr);
Value returned is $6 = (ns3::Ipv4RoutingProtocol *) 0x663500
(gdb) s
ns3::Ptr<ns3::NetDevice>::Ptr (this=0x7fffffffc510, ptr=0x0) at ./ns3/ptr.h:722
722      : m_ptr (ptr)
(gdb) fin
Run till exit from #0  ns3::Ptr<ns3::NetDevice>::Ptr (this=0x7fffffffc510, ptr=0x0) at ./ns3/ptr.h:722
0x00007ffff4d68ae2 in ns3::AnimationInterface::TrackIpv4RoutePaths (this=0x7547f0) at ../src/netanim/model/animation-interface.cc:1739
1739          Ptr <Ipv4Route> rt = rp->RouteOutput (pkt, header, 0, sockerr);
(gdb) s
ns3::Ptr<ns3::Packet>::Ptr (this=0x7fffffffc520, o=...) at /mnt/n/new/dce/build/include/ns3.23/ns3/ptr.h:739
739      : m_ptr (PeekPointer (o))
(gdb) fin
Run till exit from #0  ns3::Ptr<ns3::Packet>::Ptr (this=0x7fffffffc520, o=...) at /mnt/n/new/dce/build/include/ns3.23/ns3/ptr.h:739
0x00007ffff4d68afb in ns3::AnimationInterface::TrackIpv4RoutePaths (this=0x7547f0) at ../src/netanim/model/animation-interface.cc:1739
1739          Ptr <Ipv4Route> rt = rp->RouteOutput (pkt, header, 0, sockerr);
(gdb) s
ns3::Ipv4StaticRouting::RouteOutput (this=0x663500, p=..., header=..., oif=..., sockerr=@0x7fffffffc45c: ns3::Socket::ERROR_NOTERROR)
    at ../src/internet/model/ipv4-static-routing.cc:458
458      NS_LOG_FUNCTION (this << p<< header << oif << sockerr);
(gdb) b 458
Breakpoint 4 at 0x7ffff601b604: file ../src/internet/model/ipv4-static-routing.cc, line 458.
(gdb)

你可能感兴趣的:(ns3,路由选择)