-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace
unsafe
calls to C-functions with Direction::want_pktap
Use the safe `pcap` function `Direction::want_pktap` to initialize the packet capture in the macOS split tunnel implemenation. This replaces parts of our auto-generated FFI to interface with `libpcap`, thus getting rid of some use of `unsafe`.
- Loading branch information
1 parent
a6496e1
commit 27c4644
Showing
2 changed files
with
9 additions
and
53 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