Skip to content

Comments

link: add Iterator#1392

Merged
lmb merged 1 commit intocilium:mainfrom
mpastyl:main
Mar 26, 2024
Merged

link: add Iterator#1392
lmb merged 1 commit intocilium:mainfrom
mpastyl:main

Conversation

@mpastyl
Copy link
Contributor

@mpastyl mpastyl commented Mar 23, 2024

Add an iterator for links that loops over all links in the system.

This then can be used to get information about attached programs, e.g. to find which XDP program attached to an interface.

The implementations closely mirrors that of the HandleIterator

Copy link
Contributor

@mmat11 mmat11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

Copy link
Contributor

@lmb lmb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, just two small nits. Thanks!

Add an iterator for links that loops over all links in the system.

Signed-off-by: Charalampos (Babis) Stylianopoulos <[email protected]>
Copy link
Contributor

@lmb lmb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

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.

3 participants