forked from nmap/npcap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create NPF devices as filter modules are attached
Previous behavior was to go through the Registry for adapter names and create NPF devices for each one, then correlate the name back to the appropriate filter module that had been attached to that adapter. Instead, we now create the NPF device when the filter module is attached, meaning we use the same source of names for both NPF devices and filter modules. This saves a trip to the Registry and ensures a 1-to-1 relationship between NPF devices and filter modules.
- Loading branch information
1 parent
1fafdb5
commit c2666f3
Showing
3 changed files
with
20 additions
and
21 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