Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp636826ybi; Fri, 24 May 2019 09:02:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqygrB7TSZwDQOhcNFwQEC56PlYWoWhbw0+lkxRBtVx/CVxA6+omfU+Ji7Y9VQPI1AQdJ9ce X-Received: by 2002:a63:d4c:: with SMTP id 12mr93837652pgn.30.1558713728439; Fri, 24 May 2019 09:02:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558713728; cv=none; d=google.com; s=arc-20160816; b=wLnZoAzxYyOuMLZvjlMrLRFoNn5MqJ3AjcV7OmVBgpJVYicauffLNE3Ub/22ySbj8X u2Ey46Lv/ApzXFQuRvWDfv7v+AkIUaHZtWrg9+jAYae3jfqwLXVMPV6VDH2KJ2oEyR4m UOHVQIKMYP48h0PvVOW6zN7FZHV3/j/922lX6h1ym0SqocPsRHm0lS6f2e+cZxjj2tJ3 pY+oMyg2ZQ4bjyy7q6IztMuDPdiAh2lKjPmfUsI8xJ1fV3LvUHjebLVB3geCOT1ICBA/ nSNOYzdiGr1IEqeay1W5ytJEFdyRaiXnIZgw9RV70G2QDgWFLmo6c0bFj7Nh7FIs4YLL m4Jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=iVMrVxqp5uNYAADGtcNFRrXM8D0V8rtijn49YKBWYRk=; b=YOeww+gRfE9uijkXuQ5mtQEsjwpqo02nPYlsXK11MYw0xPekv1htHLC+g4gBfcBZKQ 7CCrTMPUfxKxrUsX2YVAIitFtsRB3nDi2pgxReK8wIBoHNxPKw0/rxQlW9lXqN9fsMeX ovCg6mbxTgDLlZAQFkqyiUceVCyyIq8sD3G3kgCa2+N7SM1ecBcqY3Yp0wNmhuX0hClb xUYFcH2WYDLo8rWOlnUiApX4ZKFt7C/aconQ6Kh9NidmHWcnXiD6uvL/1OoeDxO2cEe+ 5PfJLJ+JnxEEg6O+n1H3vAaTeBqj7mvhIPhj425tm216FRxp0k1U2jK+hSQRSyMPjnLl yMKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kinvolk.io header.s=google header.b=L6PogmLH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ca10si4649313plb.172.2019.05.24.09.01.51; Fri, 24 May 2019 09:02:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kinvolk.io header.s=google header.b=L6PogmLH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390910AbfEXQAF (ORCPT + 99 others); Fri, 24 May 2019 12:00:05 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:51125 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390550AbfEXP7s (ORCPT ); Fri, 24 May 2019 11:59:48 -0400 Received: by mail-wm1-f65.google.com with SMTP id f204so9932616wme.0 for ; Fri, 24 May 2019 08:59:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kinvolk.io; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iVMrVxqp5uNYAADGtcNFRrXM8D0V8rtijn49YKBWYRk=; b=L6PogmLHo0jNT0q3SHbieEK5uu8kWXU7Q5Gg/0ku3q1S9k/Ebjee+cG+WjBE+RPq9v Y/H8nfILdWj6v/AHbTPrwPz/QybwEzejPfwbeYBRevpYccpVndlyiXhyMbbe9PJW5Vps /rIUeTukoIRPxkSOpnwPUkh+bkJ+/i0xpbCKs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=iVMrVxqp5uNYAADGtcNFRrXM8D0V8rtijn49YKBWYRk=; b=A855Tuzi3fiT5pd60ku5fc387aBsCy71mK8u48CmYQs+YwXHmDQdAfwyoiNkyxK0jy BjClBjAEIW/2JKWSN37phRn3jpa7Atzm/NNTkQtdzxF060esX1h7Ap5Qv2EIcrdeGZQI OZL6KN9b+Y9SejnqfGRGfMFk1YSfCEi52kaH8b6qKVyOQ+LZnIHRh0F2i5XB3uaTysoK IlL9++caLo3N5gMLpIez+Khn+tRpZm4bJaehhH/TRih83+knApcbCKGr922dhxsTMlva JWaPoQU0plTvgwhGltDBLEwojIIiB2GD7jIU04dImDvgcE+CzAZvR6XKMCFz171Ytbjb zreA== X-Gm-Message-State: APjAAAVUv3hecv0ryIb3sdfZ2TcpDLCgNr7CzSmlrzCLAgoAAOoOoVui GDk4bmkBRTsHdm2NuH8zDuUJ/Q== X-Received: by 2002:a1c:eb0c:: with SMTP id j12mr15995872wmh.55.1558713586104; Fri, 24 May 2019 08:59:46 -0700 (PDT) Received: from locke-xps13.localdomain (69.pool85-58-237.dynamic.orange.es. [85.58.237.69]) by smtp.gmail.com with ESMTPSA id i185sm4535054wmg.32.2019.05.24.08.59.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 May 2019 08:59:45 -0700 (PDT) From: =?UTF-8?q?Iago=20L=C3=B3pez=20Galeiras?= To: john.fastabend@gmail.com, ast@kernel.org, daniel@iogearbox.net Cc: alban@kinvolk.io, krzesimir@kinvolk.io, bpf@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH bpf-next v4 2/4] bpf: sync bpf.h to tools/ for bpf_sock_ops->netns* Date: Fri, 24 May 2019 17:59:29 +0200 Message-Id: <20190524155931.7946-3-iago@kinvolk.io> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190524155931.7946-1-iago@kinvolk.io> References: <20190524155931.7946-1-iago@kinvolk.io> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alban Crequy The change in struct bpf_sock_ops is synchronised from: include/uapi/linux/bpf.h to: tools/include/uapi/linux/bpf.h Signed-off-by: Alban Crequy --- Changes since v2: - standalone patch for the sync (requested by Y Song) --- tools/include/uapi/linux/bpf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h index 63e0cf66f01a..e64066a09a5f 100644 --- a/tools/include/uapi/linux/bpf.h +++ b/tools/include/uapi/linux/bpf.h @@ -3261,6 +3261,8 @@ struct bpf_sock_ops { __u32 sk_txhash; __u64 bytes_received; __u64 bytes_acked; + __u64 netns_dev; + __u64 netns_ino; }; /* Definitions for bpf_sock_ops_cb_flags */ -- 2.21.0