Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5588582pxj; Wed, 23 Jun 2021 04:51:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycCwA8ZDl8e1HaB0FGxnxt5GjztN/p5uh6X7kwdXAy5Z5C6PKDDL/xhvDWsNL1MU+aXr1h X-Received: by 2002:a17:906:d288:: with SMTP id ay8mr9229519ejb.230.1624449069761; Wed, 23 Jun 2021 04:51:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624449069; cv=none; d=google.com; s=arc-20160816; b=t1RYmuQ9ycrazL7J07RFiVDGden0/vwpWE5SKmUn1BPja6D4WQ7q/vOaTDtyPSbLxw 5Can0d2yJ7oflg3bP74XBcWGsZphnO5F8EVF+/OuFWOgJu6R5QNc5fkM125SnC6J21wW YgdNWgYdD1LAUt+gU62Z+VOoPYpUpAOc/db6tvTlpdJSmiqKWif+klfQA6dnAzWNNPok 8qSZqvFVDohl31NCzvr7kGLNo/fAhNyvtJNdU94Ex7W9hSQ+exjcVdFXkuvE+voPFaou aRKO25ANEsmqcsFSJcVfw5AVhIoeEF39u8IiQgOESdg7hPKZJCjAnyjEtS9N7hU6e7O1 Lczw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=4OqR9GqcQlf9eOgxP8lrcUktCrawobkheHlBLXwo7E4=; b=VMpT8GpNntRGAm7sNZIaujNdgFZacIorVC7pK8S1j2/MmQhEktMN20ybS0vu4v0Wxb uugvqdW6DXtvge3z6qzDV0x1OgCVsZrQeg6nUgrqnoYk5CsErTt/0k5X/E8T8362KLf1 SgNSBf0vZkTizSioNnmyTBYjTdGmayjssSsn7Ll4S/LGYxUTWqSU6aCl08+uTTIbIjf+ KCjDSMFastWtFqmH5PQ7yCtiinkLOQEBmmTWJbuYd95zshgnzNV9hWoxotMK/w8IynBK vtgcUVRfLK4mSrCr+hNZ8K9OvM++fZGPfMYY/GGzwO76or0nmmNrLI0GTM7HeFg2uraH 1rLQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b26si15823337edw.185.2021.06.23.04.50.46; Wed, 23 Jun 2021 04:51:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230241AbhFWLwG (ORCPT + 99 others); Wed, 23 Jun 2021 07:52:06 -0400 Received: from mailgw01.mediatek.com ([60.244.123.138]:55181 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S230019AbhFWLwF (ORCPT ); Wed, 23 Jun 2021 07:52:05 -0400 X-UUID: ae228bc0d58a4ed3beff7636e4ac8608-20210623 X-UUID: ae228bc0d58a4ed3beff7636e4ac8608-20210623 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1720885147; Wed, 23 Jun 2021 19:49:44 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 23 Jun 2021 19:49:43 +0800 Received: from localhost.localdomain (10.15.20.246) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 23 Jun 2021 19:49:41 +0800 From: Rocco Yue To: "David S . Miller" , Jakub Kicinski , Jonathan Corbet , Hideaki YOSHIFUJI , David Ahern , Matthias Brugger , Felix Fietkau , John Crispin , Sean Wang , Mark Lee CC: , , , , , , , , , , Rocco Yue Subject: [PATCH 1/4] net: if_arp: add ARPHRD_PUREIP type Date: Wed, 23 Jun 2021 19:34:49 +0800 Message-ID: <20210623113452.5671-1-rocco.yue@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch add the definition of ARPHRD_PUREIP which can for example be used by mobile ccmni device as device type. ARPHRD_PUREIP means that this device doesn't need kernel to generate ipv6 link-local address in any addr_gen_mode. Signed-off-by: Rocco Yue --- include/uapi/linux/if_arp.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/if_arp.h b/include/uapi/linux/if_arp.h index c3cc5a9e5eaf..4463c9e9e8b4 100644 --- a/include/uapi/linux/if_arp.h +++ b/include/uapi/linux/if_arp.h @@ -61,6 +61,7 @@ #define ARPHRD_DDCMP 517 /* Digital's DDCMP protocol */ #define ARPHRD_RAWHDLC 518 /* Raw HDLC */ #define ARPHRD_RAWIP 519 /* Raw IP */ +#define ARPHRD_PUREIP 520 /* Pure IP */ #define ARPHRD_TUNNEL 768 /* IPIP tunnel */ #define ARPHRD_TUNNEL6 769 /* IP6IP6 tunnel */ -- 2.18.0