forked from evilsocket/opensnitch
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We were checking several times if a packet was IPv6. Additionally we were itereating over all the layers of the packet, when in reality we're only interested in network layer and transport layer. This change brings down packets parsing from ~200µs to ~2µs.
- Loading branch information
1 parent
99afc6c
commit e8683e7
Showing
1 changed file
with
32 additions
and
41 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