-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reworked how `tcpdump` picks up STDIN/STDOUT pipes. Converted from old-style socket pairs to modern `pipe` structures. Found that on 64-bit machines, `struct pcap_pkthdr` is not the same size as the similar array in the actual PCAP file. Added a new structure to compensate. Reworked `poll`, `write` and `read` to make them more robust. Works on Linux. Still haveing some issues on macOS.
- Loading branch information
Showing
3 changed files
with
173 additions
and
96 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
Oops, something went wrong.