Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2001 19:57:22 +0900
From:      itojun@iijlab.net
To:        skodati@in.ibm.com
Cc:        freebsd-net@freebsd.org
Subject:   Re: Query: SIOCGIFAFLAGS_IN6
Message-ID:  <17792.982666642@coconut.itojun.org>
In-Reply-To: skodati's message of Tue, 20 Feb 2001 16:04:11 %2B0530. <CA2569F9.003AB595.00@d73mta05.au.ibm.com>

next in thread | previous in thread | raw e-mail | index | archive | help

>Iam a newbie to FreeBSD and iam working on DHCPv6. i would like to know the
>importance of SIOCGIFAFLAGS_IN6 defined in in6_var.h
>The definition of structure in6_ifreq differs from the definition of
>in6_ifreq defined in Linux 2.4.0, and creates woes to port it.
>Do i have any alternatives for the above for Linux .

	interface management ioctls are not standardized in any place
	(as far as I know of).  if you would like to support both *BSD and
	linux, you definitely need some #ifdef in your code, or use
	/sbin/ifconfig.

itojun

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?17792.982666642>