Date: Wed, 17 Nov 1999 12:06:46 +0600 (ALMT) From: Boris Popov <bp@butya.kz> To: Alex Feldman <al.feldman@sangoma.com> Cc: net@FreeBSD.ORG Subject: Re: Network interface name Message-ID: <Pine.BSF.4.10.9911171159160.6462-100000@lion.butya.kz> In-Reply-To: <004001bf3074$33255f10$7801a8c0@alex.SANGOMA.COM>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 16 Nov 1999, Alex Feldman wrote: > I'm writting multiple device/protocol driver. > My netowork interface name includes number in the middle of the name (ex. > xx1_xxx12). when I check is network interface is already attached to kernel, > I use 'ifunit' function. But, as I see its source code, FreeBSD not permit > the number inside the network interface name. > Is someone went into this problem? How can I solve this problem (without > changing the name)? > I think that enoght to change only 'ifunit' function.. Is it correct? Right, only ifunit() code depends on it. Having ability to create subinterfaces (like ed0f1) is very useful and this syntax is already supported for disks (wd0s1a). Patches for ifunit() function you can extract from the if_ef driver: ftp://ftp.butya.kz/pub/ipx/ifef-1.2.tar.gz -- Boris Popov http://www.butya.kz/~bp/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9911171159160.6462-100000>