From owner-freebsd-net@FreeBSD.ORG Sat Sep 14 17:30:58 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B733AF22; Sat, 14 Sep 2013 17:30:58 +0000 (UTC) (envelope-from marcelm@juniper.net) Received: from co9outboundpool.messaging.microsoft.com (co9ehsobe002.messaging.microsoft.com [207.46.163.25]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 74C27210C; Sat, 14 Sep 2013 17:30:57 +0000 (UTC) Received: from mail95-co9-R.bigfish.com (10.236.132.251) by CO9EHSOBE027.bigfish.com (10.236.130.90) with Microsoft SMTP Server id 14.1.225.22; Sat, 14 Sep 2013 17:30:51 +0000 Received: from mail95-co9 (localhost [127.0.0.1]) by mail95-co9-R.bigfish.com (Postfix) with ESMTP id 5191F8C0132; Sat, 14 Sep 2013 17:30:51 +0000 (UTC) X-Forefront-Antispam-Report: CIP:157.56.240.101; KIP:(null); UIP:(null); IPV:NLI; H:BL2PRD0510HT001.namprd05.prod.outlook.com; RD:none; EFVD:NLI X-SpamScore: -4 X-BigFish: VPS-4(zzbb2dI98dI9371I1432Izz1202hzzz2fh2a8h668h839h944he5bhf0ah1220h1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh162dh1631h1758h18e1h1946h19b5h19ceh1ad9h1b0ah1d0ch1d2eh1d3fh1dc1h1dfeh1dffh1e1dh1155h) Received-SPF: pass (mail95-co9: domain of juniper.net designates 157.56.240.101 as permitted sender) client-ip=157.56.240.101; envelope-from=marcelm@juniper.net; helo=BL2PRD0510HT001.namprd05.prod.outlook.com ; .outlook.com ; X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(51704005)(377454003)(479174003)(199002)(189002)(24454002)(65816001)(80022001)(31966008)(47446002)(74662001)(80976001)(74502001)(81686001)(76786001)(81816001)(76176001)(83506001)(76796001)(36756003)(66066001)(74706001)(50986001)(47976001)(53806001)(69226001)(83072001)(76482001)(49866001)(47736001)(46102001)(74366001)(74876001)(81342001)(51856001)(4396001)(81542001)(54316002)(54356001)(56776001)(77096001)(56816003)(79102001)(63696002)(83322001)(19580395003)(19580405001)(59766001)(77982001)(1941001); DIR:OUT; SFP:; SCL:1; SRVR:BY2PR05MB109; H:BY2PR05MB127.namprd05.prod.outlook.com; CLIP:66.129.224.36; RD:InfoNoRecords; A:1; MX:1; LANG:en; Received: from mail95-co9 (localhost.localdomain [127.0.0.1]) by mail95-co9 (MessageSwitch) id 1379179849451054_3462; Sat, 14 Sep 2013 17:30:49 +0000 (UTC) Received: from CO9EHSMHS024.bigfish.com (unknown [10.236.132.244]) by mail95-co9.bigfish.com (Postfix) with ESMTP id 5FFD8500041; Sat, 14 Sep 2013 17:30:49 +0000 (UTC) Received: from BL2PRD0510HT001.namprd05.prod.outlook.com (157.56.240.101) by CO9EHSMHS024.bigfish.com (10.236.130.34) with Microsoft SMTP Server (TLS) id 14.16.227.3; Sat, 14 Sep 2013 17:30:49 +0000 Received: from BY2PR05MB109.namprd05.prod.outlook.com (10.242.38.15) by BL2PRD0510HT001.namprd05.prod.outlook.com (10.255.100.36) with Microsoft SMTP Server (TLS) id 14.16.353.4; Sat, 14 Sep 2013 17:30:48 +0000 Received: from BY2PR05MB127.namprd05.prod.outlook.com (10.242.38.24) by BY2PR05MB109.namprd05.prod.outlook.com (10.242.38.15) with Microsoft SMTP Server (TLS) id 15.0.745.25; Sat, 14 Sep 2013 17:30:46 +0000 Received: from BY2PR05MB127.namprd05.prod.outlook.com ([169.254.8.216]) by BY2PR05MB127.namprd05.prod.outlook.com ([169.254.8.216]) with mapi id 15.00.0775.005; Sat, 14 Sep 2013 17:30:45 +0000 From: Marcel Moolenaar To: Warner Losh , Anuranjan Shukla Subject: Re: IFNAMSIZ/IF_NAMESIZE change proposal Thread-Topic: IFNAMSIZ/IF_NAMESIZE change proposal Thread-Index: AQHOsSaOJ+rmaQHm2keFzzUFg8ShKpnFap2A//+eBIA= Date: Sat, 14 Sep 2013 17:30:45 +0000 Message-ID: In-Reply-To: <19C0CA7F-2857-4533-B5E7-29E1085DE072@bsdimp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.3.6.130613 x-originating-ip: [66.129.224.36] x-forefront-prvs: 096943F07A Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: juniper.net X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% Cc: "freebsd-net@freebsd.org" , "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 17:30:58 -0000 On 9/14/13 9:21 AM, "Warner Losh" wrote: > >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? Yes, but then we need to change Junos' definition to match FreeBSD's and we're not sure yet if that's at all possible. Hence the suggestion to use what we have at Juniper. If a "nicer" length is preferred, then we'll see about making that happen. Thoughts? --=20 Marcel Moolenaar marcelm@juniper.net