Open dankamongmen opened 4 years ago
I'm using libnetstack in a proprietary program at work, and ran into this exact issue. We definitely need to expose them for first-order lookup. Doing something as quotidian as "tell me what iface this address is on" is otherwise a gigantic pain in the ass.
You can currently get addr/neigh/route information via callbacks, but not direct access. I'm not sure I want to expose them for direct access, necessarily (enumerations wouldn't be a problem), but they ought be available in one form or another through their iface objects. The "one form or another" is kinda critical there, hrmm.