dankamongmen / libnetstack

Small library around rtnetlink to track networking stack elements
https://nick-black.com/dankwiki/index.php/Libnetstack
Apache License 2.0
10 stars 0 forks source link

Add lookup+extract API #34

Closed dankamongmen closed 5 years ago

dankamongmen commented 5 years ago

In the README, we mention three ways to work with ifaces: deepcopy, share, and direct extraction following lookup. The third is not yet implemented. Even though it's lame, we probably ought do so, or otherwise remove that language.

dankamongmen commented 5 years ago

We also need to document all of this when it's done.

dankamongmen commented 5 years ago

I've completed the neighbor accessors.

dankamongmen commented 5 years ago

On further thought, I don't see any real reason to do this weird method. Just deepcopy if you want the object. They're not that big.