Skip to content

Implement if_nameindex#1705

Open
no92 wants to merge 5 commits intomanagarm:masterfrom
no92:if_nameindex
Open

Implement if_nameindex#1705
no92 wants to merge 5 commits intomanagarm:masterfrom
no92:if_nameindex

Conversation

@no92
Copy link
Copy Markdown
Member

@no92 no92 commented Mar 13, 2026

This adds a sysdep and implements it using rtnetlink for Linux and managarm.

no92 added 5 commits April 8, 2026 13:48
This maintains symmetry with `if_nameindex` and with regards to
ownership; the `getifaddrs` sysdep is responsible for allocating the
structs, so the corresponding sysdep should deallocate.
@no92
Copy link
Copy Markdown
Member Author

no92 commented Apr 8, 2026

Updated the PR. This now adds sysdeps for freeing the structures allocated by if_nameindex and getifaddrs sysdeps. With this, the responsibility for both allocating and deallocating falls to the sysdeps exclusively.

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