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.
if insert 6bpfire3net in LPM trie map domain 3foo6bpfire3net will not match because only the common suffix 6bpfire3net matches, LPM trie is for prefix match, need to reverse the suffix to prefix, which is to reverse the 6bpfire3net string and insert in LPM trie map then reverse 3foo6bpfire3net and do LPM trie map lookup which will match the common prefix with reversed 6bpfire3net Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
- Loading branch information
1 parent
872c9b9
commit c5d7e3b
Showing
2 changed files
with
81 additions
and
25 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