-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
set UDP/DNS rate limit at XDP program run time #6
Comments
technical background to update global data variable at runtime quote from above discussion below for BPF code in general
|
get decimal input from user cli/WeBUI, convert to hex as bash or perl example below, then use bpftool map update
or perl
|
if xdp program has two global variables, for example:
the global data map value would be:
value has 8 bytes, so when use bpftool to update the value, need to keep the number of bytes in mind, and if only update the cpus, then
|
No description provided.
The text was updated successfully, but these errors were encountered: