-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sizes for "packetblaster lwaftr" are frame sizes
This change makes it so that the sizes passed to "packetblaster lwaftr" are frame sizes instead of packet sizes without the ethernet headers. This seems to better correspond to the intent of including 64 as a default size. Often you want to generate test traffic of the minimum frame size, and this makes that goal more attainable. Additionally this commit fixes a bug whereby the frame size was longer than the actual packet data, because the length in the UDP headers was wrong.
- Loading branch information
Showing
3 changed files
with
85 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters