From owner-freebsd-net@FreeBSD.ORG Sat Sep 14 16:27:51 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 05BB2A49 for ; Sat, 14 Sep 2013 16:27:51 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CF07E2E46 for ; Sat, 14 Sep 2013 16:27:50 +0000 (UTC) Received: by mail-pb0-f50.google.com with SMTP id uo5so2453199pbc.9 for ; Sat, 14 Sep 2013 09:27:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=UuM2F4Cd7SGqOWVDzT4jPsStz/HsrmK1gJpu6DlJwRc=; b=FU399cKsss6lJNPX2lIn3lPAJl98n3iftAJg47V8TegBvzmhf744/NQu3ihVkm6U1w Or/+3sZujcZ+elARyCquwYqWtAKBeQ6h8GHzh1gutmxgXmLNL79lnq74FeSdWWOgahZk 0VGEcRdyy3R7wW+UIhbTLBG3lYMD23wm3680dEco/Q2FT2V6550xtjIib6khfarZH7Hi PMKioEjd+pbnQYw56JXVmyAIKBkbofUUrEUjBB1Z5vAB/cH5Y7uCWYuwIm0855KRP3Ip HiSbZQu1abIJGExd1joUu6/UBfZVxBnj6OgvRzCYj37WrKZJjH+iv1yKyur6wo5uFkPt qa1g== X-Gm-Message-State: ALoCoQkSMabsTFJAve+56JqKXOrKiQK9OfqBjGvmMcGt7QhyJAjpJFoVlbwrsBZ5EIiysKB+aF1I X-Received: by 10.66.26.112 with SMTP id k16mr21187903pag.65.1379175686312; Sat, 14 Sep 2013 09:21:26 -0700 (PDT) Received: from 53.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPSA id vz4sm26015491pab.11.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 14 Sep 2013 09:21:25 -0700 (PDT) Sender: Warner Losh Subject: Re: IFNAMSIZ/IF_NAMESIZE change proposal Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <9527D72E-5871-4C5E-B2AB-A3BECA4925D4@juniper.net> Date: Sat, 14 Sep 2013 10:21:25 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <19C0CA7F-2857-4533-B5E7-29E1085DE072@bsdimp.com> References: <9527D72E-5871-4C5E-B2AB-A3BECA4925D4@juniper.net> To: Anuranjan Shukla X-Mailer: Apple Mail (2.1085) Cc: "freebsd-net@freebsd.org" , Marcel Moolenaar , "freebsd-arch@freebsd.org" 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, 14 Sep 2013 16:27:51 -0000 On Sep 14, 2013, at 2:44 AM, Anuranjan Shukla wrote: > At Juniper Networks, interface name size was needed to be longer than = what FreeBSD has. We're trying to reduce our local changes to FreeBSD to = allow us an easier time upgrading to newer FreeBSD releases, and support = the modularization of the network stack we'd proposed earlier. I'm = sending this out to propose changing IFNAMSIZ from 16 to 60 (this is = the size we use) in FreeBSD. We don't see any downside (other than = increasing the ifreq structure size for one) to doing this, as allowing = longer interface names can be handy for vendors. I'd like to hear if = there's a strong objection to this. If not, we'd like to get this into = to the FreeBSD codebase. Any thoughts/objections highly appreciated. 56 or 64 would be better for alignment, wouldn't it? Warner