30 Jun 2012 05:08
Re: Specifying names for tap interfaces
Darren Reed <darrenr <at> netbsd.org>
2012-06-30 03:08:01 GMT
2012-06-30 03:08:01 GMT
On 30/06/2012 2:47 AM, Roger Pau Monné wrote: ... >> > For example being able to name Xen virtual interfaces in the >> > Dom0 with a user defined name, but I'm sure other users will come up with >> > other uses. What would you require for this functionality? >> >> At the very last, being able to get the driver name and instance >> number in a convenient way (e.g. in ifconfig output). > > Ok, I will take a look at that, which I guess will require the > introduction of a new ioctl and a corresponding field in ifnet. > You could always find the original name in dmesg, since everytime > the name changes a line is printed, but I agree it might be > confusing and difficult if you perform a lot of renames. Start with making the information available through drvctl as part of the property list for the driver and don't worry about ifconfig. Darren
(But yeah, Linux is not Unix, so I need to find a different example...)
gert
RSS Feed