Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5859C28CC0 for ; Thu, 30 May 2019 17:52:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B64A925EC2 for ; Thu, 30 May 2019 17:52:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="TLXHGb81" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726527AbfE3Rwc (ORCPT ); Thu, 30 May 2019 13:52:32 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:42300 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726330AbfE3Rwc (ORCPT ); Thu, 30 May 2019 13:52:32 -0400 Received: by mail-pg1-f194.google.com with SMTP id e6so1183496pgd.9 for ; Thu, 30 May 2019 10:52:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=26hPTiKOnKRy60yRrIATXKYkTmEvDalVnJK3pHQpR90=; b=TLXHGb81nWZFzND5q5MFJsD+mrk1jCOWnHIsyppiAj/TVim1J2KwMYGIzBfQHkLRrw DiYdIN+VneRQhFi0zKYHJYV+CJ9GoFLx/oO1QXSzGBHZl8DswyxLZhey6VOJMZ1KppFN E/LNEodp0wlRevBLmV048JrNlI/NW0owTtXwkTLXNYgWhfo6ISCgxfJQ0+Pf2/KQ7z/n QmM0cgqiRTWf60Hkhqq2gYXOnTW2/6CYDyVJh+JJpS9FgPpaEGIfMh7CM4ppHyL/O1Ox 3MI3l9NCHtS2CY8NODcfPyPrq57bQnCL4tifLoUnE0QxdOV2DhSL15IClOxsZC0uIU9M H4mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=26hPTiKOnKRy60yRrIATXKYkTmEvDalVnJK3pHQpR90=; b=QR5YZx/ZioGIcJOuhXconyr+WHxYCgQELlJW+cbJabLs+aAxQcRQotKQMTC0TCfQ2Z 2RQb+RzZ2GlJ8O24266JgT3ijX82U5xG22FNdoW3sStPzQFDslSnuiG9oAii78wTpqEJ OlUs6Jta2+CCVg6kTD6h/QCL3KwptH9Ah9RWrMSCD43RuB4B5sOM144+0DaaIAtnFWsE NUnTLMYOKDCAbl7EN93tsdg8J8tdRYsdhb8e814bIeqvgry/hlaP6mi0KkAHeZnMwTDT U8Dea2gqqJl4xQOhUBIB0Koc5IyT/SvGUrY5tLMw8Lb5j5vTs78W7UgT1o06JjVmE3w/ ayBA== X-Gm-Message-State: APjAAAXjm3j2SFClrsar7fp1+QqJ47B5spiWg2jhbHzfSVTnbSX2pqSo q+rHYPwoMPj7ZHTH6UOneyRHWHuiKEE= X-Google-Smtp-Source: APXvYqzZ2kMMaU/FlkVfzPITkCB4WUnPuubsVZiD7wLedDGngiu47h0k3cY2oV1haExC1Cz7hfteig== X-Received: by 2002:a17:90a:de14:: with SMTP id m20mr4757153pjv.36.1559238751263; Thu, 30 May 2019 10:52:31 -0700 (PDT) Received: from [172.27.227.250] ([216.129.126.118]) by smtp.googlemail.com with ESMTPSA id t10sm4762286pgk.17.2019.05.30.10.52.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 May 2019 10:52:30 -0700 (PDT) Subject: Re: [PATCH iproute2-next 7/9] Add support for nexthop objects To: Stephen Hemminger , David Ahern Cc: netdev@vger.kernel.org References: <20190530031746.2040-1-dsahern@kernel.org> <20190530031746.2040-8-dsahern@kernel.org> <20190530104521.3600201f@hermes.lan> From: David Ahern Message-ID: Date: Thu, 30 May 2019 11:52:29 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20190530104521.3600201f@hermes.lan> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On 5/30/19 11:45 AM, Stephen Hemminger wrote: > On Wed, 29 May 2019 20:17:44 -0700 > David Ahern wrote: > >> +static struct >> +{ > > kernel style is: > > static struct { > ... > The style I used is consistent with existing code -- e.g., ip/iproute.c. If you want the above, I can do that.