-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bpf: ct: introduce scope parameter for CT lookup
A CT lookup is usually done in two directions - first the reverse direction (to match replies), then the actual direction. Currently the only exception is CT_SERVICE lookups, where we only check the reverse direction. Control this behaviour independently of the CT_SERVICE type, so that we can introduce more uni-directional lookups with subsequent patches. No functional change intended. Note that users of SCOPE_REVERSE need to tolerate that their passed-in CT tuple won't be reversed after the CT lookup. Signed-off-by: Julian Wiedmann <jwi@isovalent.com>
- Loading branch information
1 parent
8c36f8a
commit bde55cd
Showing
6 changed files
with
81 additions
and
60 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
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