tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Interface description support



On Mon, Jun 24, 2019 at 01:52:18PM +0900, KUSABA Takeshi wrote:
> Hi,
> 
> I would like to propose a feature: a description of a network interface.
> (FreeBSD and OpenBSD support this feature.)
> 
> Here is a patch.
> 
> https://gist.githubusercontent.com/maleic1618/f4881717cbd3b1e3182984f9773b1001/raw/114b5d6c4fbe1fd9cd473fdc802b003c072c2794/description.patch
> 
> The sammary of this patch is:
> 
> ioctl(2):
> - support the commands SIOCGIFDESCR/SIOCSIFDESCR to get/set the description.
> 
> ifconfig(8):
> - add the commands description,descr/-description,-descr to set/clear the
> description.
> 
> 
> Could you comment on this patch?
> I hope that this patch will be merged.

I'd like to see this in NetBSD. I'd also like packet filters to be able
to use the description instead of the name for interfaces. This would make
my life much easier for e.g. ipfilter in Xen dom0, where the domU's virtual
interfaces have unpredicatble names.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index