From patchwork Wed Nov 15 23:50:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 838363 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-87183-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="THLYH/LR"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3ych3J4JBMz9s7B for ; Thu, 16 Nov 2017 10:51:08 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; q=dns; s=default; b=C3hfzOFq8kRb2TMMSOqyHeqnBM3y/ a3K/6CrzUJlGYwkYEW8/1yu+EOahL+0qMP25RnOHM0tnmYrPO4dN7rPUrgBLuNjB 7ARgu5jg1xdolqSpa4NjZeKbiDr23jePsGBqdcsf2gdm5EqzDbCQrnpre5tMI+tQ RuFmBkV+eJsQbU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; s=default; bh=7y7AjrfXb6QnuYtfxPh8aMt6c+A=; b=THL YH/LRDzidtJKg8/D+1cMtuXbuWqvbgRFil+WFcn/9SPY3X/EXd6JHSHEy70L84cp yR30jpvXhYlIgC0Fn9XtpmvRTWp4qYVAoPoBnsN1TRAYCeGPZdGAFaXq4agC5KcA VcWi8TuiC76CZfFGBbVdZfm5bSEkjcDoaxVuUNhU= Received: (qmail 52556 invoked by alias); 15 Nov 2017 23:51:01 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 52518 invoked by uid 89); 15 Nov 2017 23:51:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.3 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KB_WAM_FROM_NAME_SINGLEWORD, RCVD_IN_DNSWL_NONE, SPF_PASS, URIBL_RED autolearn=ham version=3.3.2 spammy=tunnel X-HELO: relay1.mentorg.com Date: Wed, 15 Nov 2017 23:50:53 +0000 From: Joseph Myers To: Subject: Add Linux 4.14 ARPHRD_RAWIP to net/if_arp.h Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To SVR-IES-MBX-03.mgc.mentorg.com (139.181.222.3) This patch adds ARPHRD_RAWIP from Linux 4.14 to the Linux net/if_arp.h. Tested for x86_64. 2017-11-15 Joseph Myers * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro. diff --git a/sysdeps/unix/sysv/linux/net/if_arp.h b/sysdeps/unix/sysv/linux/net/if_arp.h index 9b00644..95a7708 100644 --- a/sysdeps/unix/sysv/linux/net/if_arp.h +++ b/sysdeps/unix/sysv/linux/net/if_arp.h @@ -101,6 +101,7 @@ struct arphdr #define ARPHRD_LAPB 516 /* LAPB. */ #define ARPHRD_DDCMP 517 /* Digital's DDCMP. */ #define ARPHRD_RAWHDLC 518 /* Raw HDLC. */ +#define ARPHRD_RAWIP 519 /* Raw IP. */ #define ARPHRD_TUNNEL 768 /* IPIP tunnel. */ #define ARPHRD_TUNNEL6 769 /* IPIP6 tunnel. */