From owner-freebsd-net@FreeBSD.ORG Sat Feb 23 14:32:01 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 749E4AE6 for ; Sat, 23 Feb 2013 14:32:01 +0000 (UTC) (envelope-from ihsan@grep.my) Received: from svc02-kul.b.n3labs.my (svc02-kul.b.n3labs.my [124.108.16.61]) by mx1.freebsd.org (Postfix) with ESMTP id 24FD4F63 for ; Sat, 23 Feb 2013 14:32:00 +0000 (UTC) Received: from [IPv6:2400:3700:49::9d5b:f003:b040:19ea] (unknown [IPv6:2400:3700:49:0:9d5b:f003:b040:19ea]) by svc02-kul.b.n3labs.my (Postfix) with ESMTPSA id 4593DC60237 for ; Sat, 23 Feb 2013 22:31:50 +0800 (MYT) From: Ihsan Junaidi Ibrahim Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: SIOCIFCREATE and SIOCIFCREATE2 difference Message-Id: <8EEF3678-6911-4BC7-A440-DAA3588EF826@grep.my> Date: Sat, 23 Feb 2013 22:32:11 +0800 To: "freebsd-net@freebsd.org" Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) X-Mailer: Apple Mail (2.1499) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2013 14:32:01 -0000 Hi, What's the internal difference between these two ioctl socket flags? = I've looked at sockio.h and notice that they refer to different = identifiers. I've created gif(4) via both flags and they both seem to work. Why prefer one over the other? ihsan=