Skip to content

Allow TrafficGetFilterRequest to get ingress or egress filters #101

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

azdle
Copy link

@azdle azdle commented Apr 9, 2025

I'm using this library to make sure there aren't any other bpf programs bound to a qdisc before deleting it. Bpf programs show up as ingress and egress traffic control filters which it seems this library isn't currently able to query.

These changes are based on what bpftool does, copying the already existing root (just above these changes) but setting ingress and egress. And I'm just noticing that it ended up being an exact copy of functions from TrafficFilterNewRequest


These options are the equivalent of:

tc filter show dev DEV ingress

and

tc filter show dev DEV egress

These options are the equivalent of:

    tc filter show dev DEV ingress

and

    tc filter show dev DEV egress
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.

1 participant