Skip to content
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

examples: include bpf_helpers.h from common.h #614

Merged
merged 1 commit into from
Mar 30, 2022

Conversation

ti-mo
Copy link
Collaborator

@ti-mo ti-mo commented Mar 30, 2022

Since bpf_helpers.h includes bpf_helper_defs.h, which depends on certain types like __u64 being defined, work with a single common.h include in examples to make sure this is all set up properly.

This ensures any future vendor updates to bpf_*.h continue to function.

Since bpf_helpers.h includes bpf_helper_defs.h, which depends on certain
types like __u64 being defined, work with a single common.h include in
examples to make sure this is all set up properly.

This ensures any future vendor updates to bpf_*.h continue to function.

Signed-off-by: Timo Beckers <[email protected]>
@ti-mo ti-mo requested a review from lmb March 30, 2022 08:05
@ti-mo ti-mo merged commit e0ada27 into cilium:master Mar 30, 2022
@ti-mo ti-mo deleted the tb/examples-common-h branch March 30, 2022 08:10
@lmb
Copy link
Collaborator

lmb commented Mar 30, 2022

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants