Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp793682yba; Fri, 26 Apr 2019 08:51:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqyORhL75IywWxlP6noqAOFnku/shtdnvRYRrnSN61hQ8tow6auscflAZrjFDTIdlligJ3Ft X-Received: by 2002:a62:1690:: with SMTP id 138mr46319801pfw.28.1556293863827; Fri, 26 Apr 2019 08:51:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556293863; cv=none; d=google.com; s=arc-20160816; b=YotshmduF9huaQeqX6HhvtPBLhblI59IZ2NTPslrUE+v5Zm6PT8gmkKBu1ehw0x78c t8UesL3D2SzvA2Z2YZjK+LqDG4ns9RZh7TAGA3g6FJkmV+Mvwtvo/yA6YMktm5iqdk/Q 2QrFzuD+/v+PtugKG2/+/VjRxyANbrZ83PpUu71gUv5bLvz4F8kYoukHGs4vR+ygqFXQ sAtDU7tc85qWHRdL6ds36S8/4dsEI6xBidnHVwpQv62jU71SDx7O+YYWDxoT3mD9r56F kd5MusWB/LWsM0BpWwDRHG7LX8rBq38gfOCgiAJbFYbxgmpnqlJeI9da+PoDoB1Odc25 hslA== 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=bAwdcNNwsHxSmWuLiJIrpPJgHydtjnCp4Y4NYOp8uI0=; b=rWBho3zdPNYXt8U+aGiBlhkCpbORv/HcrjDd/TZWFHiGkE0RRo4IOyKtFVbPkB8TuR T3JbBSGw6+BIeXY2UiNuTnOQ8RBGQQnbLsUyhvPuVixO7yZzChjzb0P6uivHjIsVK1vo gyem8PNnlcBj2zuD3s5qiKnekOuxzcSAQdel89yBsZ9oRxZ+PY82RgKrczPEXjl/OwmV GiwVfJWqZch4YMB8BRpROciVbkfzXY8Nvpw87nzpiXGspT0qRyRqBtt83WvLE/OoN4XG Mx7db2kbqDsC0AHXgnBsDlUbkibHUkohoFeSMyimKQF9ukBvFxkK7cA15uzQRcwDly1k VQhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=aAZ5IYVJ; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 92si25845638plw.138.2019.04.26.08.50.48; Fri, 26 Apr 2019 08:51:03 -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=fail header.i=@gmail.com header.s=20161025 header.b=aAZ5IYVJ; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726545AbfDZPto (ORCPT + 99 others); Fri, 26 Apr 2019 11:49:44 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:42170 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726176AbfDZPtm (ORCPT ); Fri, 26 Apr 2019 11:49:42 -0400 Received: by mail-ed1-f65.google.com with SMTP id l25so3544664eda.9; Fri, 26 Apr 2019 08:49:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bAwdcNNwsHxSmWuLiJIrpPJgHydtjnCp4Y4NYOp8uI0=; b=aAZ5IYVJgBU0TKKoWVJAg4Ei1qp/FRc4xK7iHDR4Go7I7HBVLSX+zba/za4OFq8WCg qZPUU4lG+/l2u+OqBpla28f3jMHDcMHqrQZz7OGkPhQmu1BP+OL/c7cJ42bLLDU/W9yC JnaM+vV8SmbPcAZawX5qI8aW2nleYthwi/khjV/A0VO53BdL8qnDqo9aTM+A+flLOmFw M7/sOvuua5eZ8EkAiv+WzLJSYT6744qsiDM4/SgV/K1S8wRXo69hcLXctHnslXzB9m2k YkqSHpWWM/LCc+mYPTowxnEA9tHLluP8OlqCwgLvMz7CTMeY0HJ69fgcXtBs59qgBaZT /IaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=bAwdcNNwsHxSmWuLiJIrpPJgHydtjnCp4Y4NYOp8uI0=; b=QkOdd8ux4SeblAqeoEwllJkYzxjTn1NEAoXiJW7YV+n0SJbm5d/vsliHEgVPeYMBvc uYHaBHLxokQ77GJrfCRuJfTKhACvXAFR0aq7prSQzKdCBmLK+f6Qcjt9ggHs9+uCdsnb j8HwkqCDY+Aly6/1/Zr4ZymqPN7bDQRO8ceH+sLAtbhBsxuwZvtk9P3/3loj3rJHHzbN UHZrxQs7nMG83QBfY/9Cb/Ci5hlA3ZCY+Z6otch+Fk+nKCxWWafRTCVlNCD1iMkRjohS Wvct8+eutTm6mCWuqU/X+QociWw3hU0zGWjCbyWd3+LCVmOmMRJsIZqHOdhdHiDaiR9W hxIw== X-Gm-Message-State: APjAAAX3aPX700YzMZceoBluGPmjKDTpDBtkaGSEWIHXGY1GZSqbIdWe dbNPGRAgujqCPG/9p8V/8UU= X-Received: by 2002:a05:6402:13d4:: with SMTP id a20mr28735831edx.279.1556293780571; Fri, 26 Apr 2019 08:49:40 -0700 (PDT) Received: from neptune.fritz.box ([178.19.216.175]) by smtp.gmail.com with ESMTPSA id f15sm4603002eja.39.2019.04.26.08.49.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Apr 2019 08:49:39 -0700 (PDT) From: Alban Crequy X-Google-Original-From: Alban Crequy To: john.fastabend@gmail.com, ast@kernel.org, daniel@iogearbox.net Cc: bpf@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, alban@kinvolk.io, iago@kinvolk.io Subject: [PATCH bpf-next v3 2/4] bpf: sync bpf.h to tools/ for bpf_sock_ops->netns* Date: Fri, 26 Apr 2019 17:48:46 +0200 Message-Id: <20190426154848.23490-2-alban@kinvolk.io> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190426154848.23490-1-alban@kinvolk.io> References: <20190426154848.23490-1-alban@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 704bb69514a2..eb56620a9d7a 100644 --- a/tools/include/uapi/linux/bpf.h +++ b/tools/include/uapi/linux/bpf.h @@ -3206,6 +3206,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.20.1