Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试更改 NS-2 中特定数据包的 tcp 标头中的 ECN 标记,但找不到方法。有谁能帮我一把吗?非常感谢!
我在 ns2.35/tcp/tcp-full.cc 的第 874 行找到了它。下面是标记 ECN 的代码(或者我们可以在这里说 ECE)。
if (ecn_ && ect_ && recent_ce_ ) { // This is needed here for the ACK in a SYN, SYN/ACK, ACK // sequence. pflags |= TH_ECE; }