You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
structrtnl_link*link;
if (!(link=rtnl_link_alloc()))
/* error */rtnl_link_set_name(link, "my_vlan");
if (rtnl_link_delete(sock, link) <0)
/* error */rtnl_link_put(link);
Since I'm not in a hurry (it's for a side project), I might as well to the right thing and contribute to this project.
So I have a few newbie questions: you just wrap the C libnl, that's it?
So if I want the "route" part (or at least the rtnl_link_* stuff, I just write the wrappers around the C lib using your style, in a "route" mod?
Also, are you ok with me just doing the part I need? (I can work on a bit more, to at least provide a whole API for the "route" module, not just half of the functions.)
Thanks for your time answering this, and thanks for this lib :)
The text was updated successfully, but these errors were encountered:
Hey Jodu
Just wanted to say I wasn't ignoring you in the.... what? 5 months since you posted this. I've been doing training and that took all my focus and been working through another account. I've only just logged back in here.
I'm sure you've gone off and done some interesting things with rust since then
I can do it, but I'm starting with rust, and I'm a bit lost in libnl.
What I'm looking for is a way to delete a link.
So, on in libnl documentation I found this:
Since I'm not in a hurry (it's for a side project), I might as well to the right thing and contribute to this project.
So I have a few newbie questions: you just wrap the C libnl, that's it?
So if I want the "route" part (or at least the
rtnl_link_*
stuff, I just write the wrappers around the C lib using your style, in a "route" mod?Also, are you ok with me just doing the part I need? (I can work on a bit more, to at least provide a whole API for the "route" module, not just half of the functions.)
Thanks for your time answering this, and thanks for this lib :)
The text was updated successfully, but these errors were encountered: