mixedqueue-02.testie
来自「COPE the first practical network coding 」· TESTIE 代码 · 共 29 行
TESTIE
29 行
%scriptclick CONFIG < DUMP | grep -v '^!'%file CONFIGFromIPSummaryDump(-, STOP true) -> c::IPClassifier(src 1.0.0.1, src 1.0.0.2) -> m::MixedQueue(5) -> u::Unqueue(ACTIVE false) -> ToIPSummaryDump(-, CONTENTS ip_dst);c[1] -> [1]m;DriverManager(wait, write u.active true, wait_time 0.1s, stop)%file DUMP!data ip_src ip_dst ip_proto1.0.0.1 1.0.0.1 U1.0.0.1 1.0.0.2 U1.0.0.2 1.0.0.3 U1.0.0.1 1.0.0.4 U1.0.0.2 1.0.0.5 U1.0.0.1 1.0.0.6 U # should drop 1.0.0.61.0.0.2 1.0.0.7 U # should drop 1.0.0.1%expect stdout1.0.0.71.0.0.51.0.0.31.0.0.11.0.0.2
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?