には、公式の FAQによると、パラメータで呼び出されるtcpreplay
非常に便利な機能があります。-T
パケット長 (この場合は 8892 バイト) が、発信インターフェイスの最大伝送単位 (MTU) よりも大きい。Tcpreplay はパケットをスキップする必要があります。または、 -T オプションを指定すると、 tcpreplay はパケットを MTU サイズに切り捨て、チェックサムを修正して送信します。
残念ながら、-T
manページでは何か違うようです:
-T string, --timer=string
Select packet timing mode: select, ioport, rdtsc, gtod, nano, abstime. This option may appear up to 1 times. The default string for this option is:
gtod
Allows you to select the packet timing method to use:
nano - Use nanosleep() API
select - Use select() API
ioport - Write to the i386 IO Port 0x80
rdtsc - Use the x86/x86_64/PPC RDTSC
gtod [default] - Use a gettimeofday() loop
abstime - Use OS X's AbsoluteTime API
このオプションは tcpreplay の最近のバージョンでは削除されましたか?