Date: Tue, 19 May 1998 19:38:25 +0900 From: Kenjiro Cho <kjc@csl.sony.co.jp> To: Luigi Rizzo <luigi@labinfo.iet.unipi.it> Cc: current@FreeBSD.ORG Subject: Re: struct ifnet handling... Message-ID: <199805191038.TAA25933@hotaka.csl.sony.co.jp> In-Reply-To: Your message of "Mon, 18 May 1998 16:58:54 %2B0200." <199805181458.QAA07273@labinfo.iet.unipi.it>
next in thread | previous in thread | raw e-mail | index | archive | help
>> When this is done, matching interface names requires only a pointer >> comparison (and furthermore, a NULL pointer can be used as an >> indication that no interface match is required). Use if_index instead of a pointer to the interface name. if_index is a unique interface number start from 1. Many routing related programs use if_index as an interface identifier and if_index is defined in RFC2133 (Basic Socket Interface Extensions for IPv6). --Kenjiro To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805191038.TAA25933>
