From mboxrd@z Thu Jan 1 00:00:00 1970 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=-6.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY,USER_AGENT_GIT autolearn=no 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 DBB32C49EA7 for ; Fri, 25 Jun 2021 06:16:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BC89F613FA for ; Fri, 25 Jun 2021 06:16:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230228AbhFYGSg (ORCPT ); Fri, 25 Jun 2021 02:18:36 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:57156 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S230192AbhFYGSg (ORCPT ); Fri, 25 Jun 2021 02:18:36 -0400 X-UUID: 81f0045238004a81bdd54952ca6ea636-20210625 X-UUID: 81f0045238004a81bdd54952ca6ea636-20210625 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 266820426; Fri, 25 Jun 2021 14:16:10 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 25 Jun 2021 14:16:03 +0800 Received: from localhost.localdomain (10.15.20.246) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 25 Jun 2021 14:15:55 +0800 From: Rocco Yue To: Greg KH CC: "David S . Miller" , Jakub Kicinski , Jonathan Corbet , Hideaki YOSHIFUJI , David Ahern , Matthias Brugger , Felix Fietkau , John Crispin , Sean Wang , Mark Lee , , , , , , , , , , Rocco Yue Subject: Re: [PATCH 1/4] net: if_arp: add ARPHRD_PUREIP type Date: Fri, 25 Jun 2021 14:01:07 +0800 Message-ID: <20210625060107.14098-1-rocco.yue@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org > Does changelog mean adding these details to the commit message ? > > Yes please. > will do. > > > And are these user-visable flags documented in a man page or something > > > else somewhere? If not, how does userspace know about them? > > > > > > > There are mappings of these device types value in the libc: > > "/bionic/libc/kernel/uapi/linux/if_arp.h". > > userspace can get it from here. > > Yes, they will show up in a libc definition, but where is it documented > in text form what the flag does? Judging from the changes of ARPHRD_xxx submitted before, I am sorry I could not find the corresponding doucuments to describe their respective behaviors in details. Perhaps the best way to understand their behaviors is to read the code directly. Thanks, Rocco