tech-kern archive

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

Re: Interface description support

I think if_description in struct ifnet should be moved before the #ifdef _KERNEL block so it stays at the same offset for non-_KERNEL users.


On Mon, 24 Jun 2019, KUSABA Takeshi wrote:


I would like to propose a feature: a description of a network interface.
(FreeBSD and OpenBSD support this feature.)

Here is a patch.

The sammary of this patch is:

- support the commands SIOCGIFDESCR/SIOCSIFDESCR to get/set the description.

- 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.


Internet Initiative Japan Inc.

Device Engineering Section
Product Development Department
Product Division

KUSABA Takeshi <>

Home | Main Index | Thread Index | Old Index