udpipencap-01.testie

来自「COPE the first practical network coding 」· TESTIE 代码 · 共 20 行

TESTIE
20
字号
%infoTests UDPIPEncap and PortInfo functionality.%scriptclick -e "InfiniteSource(LIMIT 3, STOP true)  -> r :: RoundRobinSwitch  -> UDPIPEncap(1.0.0.1, foo, 1.0.0.1, ssh)  -> p :: ToIPSummaryDump(-, CONTENTS ip_src sport ip_dst dport ip_proto);r[1] -> UDPIPEncap(1.0.0.2, 20, 1.0.0.2, 30) -> p;r[2] -> { input -> UDPIPEncap(1.0.0.3, foo, 1.0.0.3, ssh) -> output;    PortInfo(foo 80/udp ssh) } -> p;PortInfo(foo 79/udp # ssh 25/udp comment, # ssh 26/udp comment, )" | grep -v '^!'%expect stdout1.0.0.1 79 1.0.0.1 22 U1.0.0.2 20 1.0.0.2 30 U1.0.0.3 80 1.0.0.3 80 U

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?