Thread (105 messages) 105 messages, 21 authors, 2009-11-11

Re: PATCH: Network Device Naming mechanism and policy

From: Bryan Kadzban <hidden>
Date: 2009-10-12 16:19:17

Possibly related (same subject, not in this thread)

Bryan Kadzban wrote:
(Now, if open() would return effectively a netlink socket bound to
that ifindex already, such that the program didn't need to fill in
the various ifindex fields for e.g. rtnetlink... but it's probably
really hard to do that, so this isn't a serious suggestion.)
Wait, scratch that.  It's not "really hard", it's "almost impossible".

At open() time, you have no idea which netlink family the program wants
to communicate with.  bind() is also hard.  (In theory, you could
support bind() on this new FD -- but then why is userspace using a file
in the first place, and not a socket?)

So this is even less of a serious suggestion now.

I'd still like to be able to refer to NICs by multiple names though, if
we can find a way that works...

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help