我正在尝试使用 linux-5.6.x 中包含的 MPTCP。我认为这是https://www.multipath-tcp.org/的一个版本,但它似乎并不相同。
内核中的 MPTCP 是否对应于https://www.multipath-tcp.org/的任何版本?
为了进行测试,我使用了一个小程序mptcp.c和一个 VM 设置,例如:
根据wireshark,使用了MPTCP,但默认路径上只有一个子流(上图)。
我必须做什么(配置?)才能使 MPTCP 知道第二条路径存在并利用它?
我正在尝试从ns-3(网络仿真软件)程序中获取错误。
我在gdb下运行它:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff4850195 in ns3::MpTcpBulkSendApplication::StartApplication (this=0x706850) at ../src/applications/model/mp-tcp-bulk-send-application.cc:170
170 m_socket->Bind();
(gdb) bt
#0 0x00007ffff4850195 in ns3::MpTcpBulkSendApplication::StartApplication (this=0x706850) at ../src/applications/model/mp-tcp-bulk-send-application.cc:170
#1 0x00007ffff09f9b45 in ns3::EventImpl* ns3::MakeEvent<void (ns3::Application::*)(), ns3::Application*>(void (ns3::Application::*)(), ns3::Application*)::EventMemberImpl0::Notify() (this=0x62f440) at ./ns3/make-event.h:94
#2 0x00007ffff02e90ef in ns3::EventImpl::Invoke (this=0x62f440) at ../src/core/model/event-impl.cc:45
#3 0x00007ffff02ee3a9 in ns3::DefaultSimulatorImpl::ProcessOneEvent (this=0x6d2d00) at ../src/core/model/default-simulator-impl.cc:141
#4 0x00007ffff02ee7ac in ns3::DefaultSimulatorImpl::Run (this=0x6d2d00) at ../src/core/model/default-simulator-impl.cc:194
#5 0x00007ffff02e9ff5 in ns3::Simulator::Run () at ../src/core/model/simulator.cc:161
#6 0x0000000000410640 in main (argc=1, argv=0x7fffffffdc58) at ../scratch/doordi3.cc:188
Run Code Online (Sandbox Code Playgroud)
我不明白发生了什么,是什么导致了错误。任何帮助都将受到欢迎。
谢谢。
此函数是发生错误的地方:
// Application Methods
void …Run Code Online (Sandbox Code Playgroud)