From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10424 Path: news.gmane.org!.POSTED!not-for-mail From: Daniel Sabogal Newsgroups: gmane.linux.lib.musl.general Subject: [PATCH] add missing if_ether.h constants Date: Sun, 4 Sep 2016 22:30:43 -0400 Message-ID: <20160905023043.7495-2-dsabogalcc@gmail.com> References: <20160905023043.7495-1-dsabogalcc@gmail.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1473042737 32046 195.159.176.226 (5 Sep 2016 02:32:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 5 Sep 2016 02:32:17 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-10437-gllmg-musl=m.gmane.org@lists.openwall.com Mon Sep 05 04:32:13 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1bgjhk-0007jb-7f for gllmg-musl@m.gmane.org; Mon, 05 Sep 2016 04:32:12 +0200 Original-Received: (qmail 19503 invoked by uid 550); 5 Sep 2016 02:32:08 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 18415 invoked from network); 5 Sep 2016 02:32:06 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:in-reply-to:references; bh=MZbLXBVTYInwh21RJkUrh+P7dz2Y77/ml/dj9ndFixA=; b=UsLba98sXiNZWDn8aFHBqrcp3tztuWI0O1v2Gc2TrBCipfm6AtUfHHoiBEC+XZlAp3 eQOpvltZtCQ9zTd4nfjvsQredo11+98kkhpBk9HHPaaQ0A542rui8LVjnTSdg/zhXD7C MRlTTjIu44ZqXjCYjbt0jdjzriFq6j3nTYPwaFfAKBnvJ6kWUOnQiTlB9kCjiIXXi4Bu bDPo+6iDP/9p1IjguaMSfLSZP7WzBfE6+HAhN14/ym7bVhIEZZFAyj5MvCyW6Gdhbid3 DflxHiQKnGOBTs9w6YyuSg92NSXhnsRFBBC0mSIecHu8oSrLbuk3hC1Krq5S1zm9mkBL gehQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=MZbLXBVTYInwh21RJkUrh+P7dz2Y77/ml/dj9ndFixA=; b=ZwWk21tLrhXyJV5+unnRxiX0OVdV/nh78VelstB+3/Qrw/4ZdPrNYGhJAsg8wBB7Gr HtlGxC1VzgUjVC2/4N7gKNVmqT0Geifz73JHAqFaUVrgecUtWcNaZWRh+7BXj6do2Vdk 4wCJtWMN+xHg61OVqTDaPbV9JbiKbIrxB6hszUMHaxkElgV+Hb/iXIQcPQzXY9xe8BPZ DvGTfQf2PlKFTwx6ztZUu3LzyoYj9810wa99cw/SkqBtRqirDsDFzHwBM2rMSyzFK1MV DRGYOHBrEskQbnFCOmSSTgqA2I9vZoZVbmigos0iuO5HL2GMjWPrZIwVhNnpkH3XRM5K lFoA== X-Gm-Message-State: AE9vXwN0LKfuwUfiKSnivtdQcF+3p8SDcA0bS7kq+TKYfT66S/icYc6KkjuQTdPXLEA/WA== X-Received: by 10.157.18.168 with SMTP id g37mr29567434otg.48.1473042714766; Sun, 04 Sep 2016 19:31:54 -0700 (PDT) X-Mailer: git-send-email 2.10.0 In-Reply-To: <20160905023043.7495-1-dsabogalcc@gmail.com> Xref: news.gmane.org gmane.linux.lib.musl.general:10424 Archived-At: ETH_P_HSR (IEC 62439-3 HSRv1) added in linux 4.7 commit ee1c27977284907d40f7f72c2d078d709f15811f ETH_P_TSN (IEEE 1722) added in linux 4.3 commit 1ab1e895492d8084dfc1c854efacde219e56b8c1 this constant breaks the ascending order to match the kernel header ETH_P_XDSA (Multiplexed DSA protocol) added in linux 3.18 commit 3e8a72d1dae374cf6fc1dba97cec663585845ff9 --- include/netinet/if_ether.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/netinet/if_ether.h b/include/netinet/if_ether.h index 4c2322b..d81f7f2 100644 --- a/include/netinet/if_ether.h +++ b/include/netinet/if_ether.h @@ -14,6 +14,7 @@ #define ETH_P_LOOP 0x0060 #define ETH_P_PUP 0x0200 #define ETH_P_PUPAT 0x0201 +#define ETH_P_TSN 0x22F0 #define ETH_P_IP 0x0800 #define ETH_P_X25 0x0805 #define ETH_P_ARP 0x0806 @@ -60,6 +61,7 @@ #define ETH_P_TDLS 0x890D #define ETH_P_FIP 0x8914 #define ETH_P_80221 0x8917 +#define ETH_P_HSR 0x892F #define ETH_P_LOOPBACK 0x9000 #define ETH_P_QINQ1 0x9100 #define ETH_P_QINQ2 0x9200 @@ -93,6 +95,7 @@ #define ETH_P_PHONET 0x00F5 #define ETH_P_IEEE802154 0x00F6 #define ETH_P_CAIF 0x00F7 +#define ETH_P_XDSA 0x00F8 struct ethhdr { uint8_t h_dest[ETH_ALEN]; -- 2.10.0