forked from xdp-project/xdp-tools
-
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.
xdp-sni: change lpm trie map to hash map
switch LPM trie map to hash map to reduce code complexity so we can drop reverse_string to avoid verifier error. it will be less convienent though since now we need to add each domain and it's subdomain to hash map to block the domain and subdomain site. Signed-off-by: Vincent Li <[email protected]>
- Loading branch information
1 parent
0bf620f
commit afc1a9c
Showing
2 changed files
with
24 additions
and
65 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