From patchwork Wed Apr 5 14:52:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Nault X-Patchwork-Id: 747347 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3vypjt2yW8z9rxw for ; Thu, 6 Apr 2017 00:53:06 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755627AbdDEOw6 (ORCPT ); Wed, 5 Apr 2017 10:52:58 -0400 Received: from zimbra.alphalink.fr ([217.15.80.77]:59410 "EHLO zimbra.alphalink.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754726AbdDEOwk (ORCPT ); Wed, 5 Apr 2017 10:52:40 -0400 Received: from localhost (localhost [127.0.0.1]) by mail-2-cbv2.admin.alphalink.fr (Postfix) with ESMTP id F3FFB2B52070; Wed, 5 Apr 2017 16:52:37 +0200 (CEST) Received: from zimbra.alphalink.fr ([127.0.0.1]) by localhost (mail-2-cbv2.admin.alphalink.fr [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id epLc9a5kKm4b; Wed, 5 Apr 2017 16:52:36 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail-2-cbv2.admin.alphalink.fr (Postfix) with ESMTP id 7A6632B5208E; Wed, 5 Apr 2017 16:52:36 +0200 (CEST) X-Virus-Scanned: amavisd-new at mail-2-cbv2.admin.alphalink.fr Received: from zimbra.alphalink.fr ([127.0.0.1]) by localhost (mail-2-cbv2.admin.alphalink.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 6M_PD1t97SPG; Wed, 5 Apr 2017 16:52:36 +0200 (CEST) Received: from c-dev-0.admin.alphalink.fr (94-84-15-217.reverse.alphalink.fr [217.15.84.94]) by zimbra.alphalink.fr (Postfix) with ESMTP id 340CB2B52070; Wed, 5 Apr 2017 16:52:36 +0200 (CEST) Received: by c-dev-0.admin.alphalink.fr (Postfix, from userid 1000) id 086B960199; Wed, 5 Apr 2017 16:52:35 +0200 (CEST) Date: Wed, 5 Apr 2017 16:52:35 +0200 From: Guillaume Nault To: netdev@vger.kernel.org Cc: James Chapman Subject: [PATCH net] l2tp: define SOL_PPPOL2TP in uapi Message-ID: <28884134c7944f005e4872256742b10765cc2770.1491402366.git.g.nault@alphalink.fr> MIME-Version: 1.0 Content-Disposition: inline X-Mutt-Fcc: =Sent User-Agent: NeoMutt/20170306 (1.8.0) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Userspace needs SOL_PPPOL2TP to be defined for using PPPOL2TP_SO_* socket options. Signed-off-by: Guillaume Nault --- include/uapi/linux/if_pppol2tp.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/linux/if_pppol2tp.h b/include/uapi/linux/if_pppol2tp.h index 6418c4d10241..90ce1abd2c4b 100644 --- a/include/uapi/linux/if_pppol2tp.h +++ b/include/uapi/linux/if_pppol2tp.h @@ -73,6 +73,8 @@ struct pppol2tpv3in6_addr { struct sockaddr_in6 addr; /* IP address and port to send to */ }; +#define SOL_PPPOL2TP 273 + /* Socket options: * DEBUG - bitmask of debug message categories * SENDSEQ - 0 => don't send packets with sequence numbers