Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp428787imm; Tue, 31 Jul 2018 22:15:48 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeCFz2R2zVqB2goezcx48BHvry1M0H7FdP3ZjiWGIUnjcqxKWeXt/ivXzHLIkQOqTRTurno X-Received: by 2002:a65:5581:: with SMTP id j1-v6mr23716341pgs.203.1533100548269; Tue, 31 Jul 2018 22:15:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533100548; cv=none; d=google.com; s=arc-20160816; b=ksfXAvnJoWYnG9wOhcWTJRYYSw1QYogPAjiqjCFO2Z5CFVIVWtJWtNq7ndAc8yrRob 6n1HT1nYA/xUj7bRgXuo8bp7XcTIq8cVmhn2hOlYTyg10qqTeEDpWjctUkBegPX7tGHU dnkkUQGA3xj7vuK/P2wz5No+KsnarH6i4kD84Xl/2xb7DBrigJfYhigsRNu7/cuTBHuW tGuvgvuQHHIUXWobekzLYk8sLeNpQoGoAfdxp9wGveVASPHMNEXELmQZMerVMnNWItiS FVwJKUaeol1xix8uIjiP86ycIkaxq5v3/pm3kHGk4BAb8zPZ7jgPN4Ls7+c26nF5qUmY ryaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-signature :arc-authentication-results; bh=3uLJA6MooOOL7a/1v1Xk7G0pce3uXZf93kbLuAP1i2E=; b=HoyXEyNir4EwBAZQoGY91Vl60ZqC7dKBs8vI8PwKec+hPiqeacbJ2iofrhtAoVIOxI WSYHmUp+b44cExmS1XD/iJon9IL/cJl2bvgGAxf3VoiSpF4iRx0TG7akNOqi9/tmhfDG CY3iUoGwdSWXmsheR7CTPxY79QpnrNvsnxVwfgN+I9gomhkq/NN2UKQKLfn7auFwiKm7 uLsRU+MULewCGmxSpwLG/vsksQyot6nEHZR4Y9CMGvvsH0T+jgb8cr5PmfBfo/pXtROh f2BjGQ0CVLuQOBevNxF08LU3wKaAuEp72q+se3QF9Vqmh4OXN4ds1t3fhCO8Rt8vI235 xEug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tobin.cc header.s=fm3 header.b=XCt9uXLm; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=kks7xD3D; 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 q17-v6si11303728pll.1.2018.07.31.22.15.10; Tue, 31 Jul 2018 22:15:48 -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=@tobin.cc header.s=fm3 header.b=XCt9uXLm; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=kks7xD3D; 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 S1733236AbeHAGxk (ORCPT + 99 others); Wed, 1 Aug 2018 02:53:40 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:52085 "EHLO wout3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733057AbeHAGxk (ORCPT ); Wed, 1 Aug 2018 02:53:40 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id D7E2562F; Wed, 1 Aug 2018 01:09:55 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 01 Aug 2018 01:09:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobin.cc; h=cc :date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=3uLJA6MooOOL7a/1v 1Xk7G0pce3uXZf93kbLuAP1i2E=; b=XCt9uXLmQVhFe0VPsWGw2tyTepYG8ZbQ6 O/jW+U5IG5XbIUHJONE+4STTKbGChq6i3h2697/7GhEyUHY8RL9vGcrwGvsGzM1f TLqFV3UkCPwvz2omy++ByUEXnxuYORBolRiOK68B2YxsRgicIaGQpq1eQOCvx3kP vM+zTfqOcP1W/F4w5feO4qUJAh87/DTEYAc8vIk752zga9JN86ZZJqts/19XuAei 2kYVY2V9hpO4+XZ4iKEj0itDNpapwxiWAyLLbmE/owTvDvxdmzLINLsveiaBh1LG gMQcd28U+2lEdixdc/DAUtAAW0ivh7mr1FSYQ3tXdAN9lHgzNIF3w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=3uLJA6MooOOL7a/1v1Xk7G0pce3uXZf93kbLuAP1i2E=; b=kks7xD3D yioEpN1ylHbCDADIkmlA8Bkpezf0o2Y4/5ioK50pk1uAUAIaEoCvd+hRg6Xa3/JX 5zBNATDTggTt4y0AUAFEiEDi6ANcZUgPa+xusStkGlpAl7C0p7/Rc0aqqoGK6hxV udgaMqkH42bM52t7lwwJpk/i0J+gvSf0aYJ+JBAfkBc2gvYSpYYF5bW4LHSb+W9R LMcUjPLJVWTU5SOpCoyEHXcbceuwoqp/a/zH8CQH4K5bb0upT81eRp1G+0iFYgga WBYbkmD7EtQsPjBJG0OmZFOPyU2/YSDAsYHvlObSzJ3QHYoug5WANiPL8zkgE6Ja Ld/0himhtvFqjQ== X-ME-Proxy: X-ME-Sender: Received: from localhost (124-169-17-12.dyn.iinet.net.au [124.169.17.12]) by mail.messagingengine.com (Postfix) with ESMTPA id 97858E4621; Wed, 1 Aug 2018 01:09:54 -0400 (EDT) From: "Tobin C. Harding" To: Daniel Borkmann , Alexei Starovoitov Cc: "Tobin C. Harding" , Jonathan Corbet , "David S. Miller" , linux-doc@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH bpf-next 08/13] docs: net: Use double ticks instead of single tick Date: Wed, 1 Aug 2018 15:09:03 +1000 Message-Id: <20180801050908.29970-9-me@tobin.cc> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180801050908.29970-1-me@tobin.cc> References: <20180801050908.29970-1-me@tobin.cc> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Single tick around a command should be converted to a double tick for RST files (excluding ticks in a code snippet section). Use double ticks instead of single tick. Signed-off-by: Tobin C. Harding --- Documentation/networking/filter.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/networking/filter.rst b/Documentation/networking/filter.rst index f9ec58144ed3..dda1afdb5f26 100644 --- a/Documentation/networking/filter.rst +++ b/Documentation/networking/filter.rst @@ -38,9 +38,9 @@ setup a socket, attach a filter, lock it then drop privileges and be assured that the filter will be kept until the socket is closed. The biggest user of this construct might be libpcap. Issuing a high-level -filter command like `tcpdump -i em1 port 22` passes through the libpcap +filter command like ``tcpdump -i em1 port 22`` passes through the libpcap internal compiler that generates a structure that can eventually be loaded -via SO_ATTACH_FILTER to the kernel. `tcpdump -i em1 port 22 -ddd` +via SO_ATTACH_FILTER to the kernel. ``tcpdump -i em1 port 22 -ddd`` displays what is being placed into this structure. Although we were only speaking about sockets here, BPF in Linux is used @@ -375,7 +375,7 @@ Starting bpf_dbg is trivial and just requires issuing:: In case input and output do not equal stdin/stdout, bpf_dbg takes an alternative stdin source as a first argument, and an alternative stdout -sink as a second one, e.g. `./bpf_dbg test_in.txt test_out.txt`. +sink as a second one, e.g. ``./bpf_dbg test_in.txt test_out.txt``. Other than that, a particular libreadline configuration can be set via file "~/.bpf_dbg_init" and the command history is stored in the file @@ -388,7 +388,7 @@ The usual workflow would be to ... > load bpf 6,40 0 0 12,21 0 3 2048,48 0 0 23,21 0 1 1,6 0 0 65535,6 0 0 0 Loads a BPF filter from standard output of bpf_asm, or transformed via - e.g. `tcpdump -iem1 -ddd port 22 | tr '\n' ','`. Note that for JIT + e.g. tcpdump -iem1 -ddd port 22 | tr '\n' ','`. Note that for JIT debugging (next section), this command creates a temporary socket and loads the BPF code into the kernel. Thus, this will also be useful for JIT developers. @@ -523,7 +523,7 @@ generating disassembly out of the kernel log's hexdump:: 44: leaveq 45: retq -Issuing option `-o` will "annotate" opcodes to resulting assembler +Issuing option ``-o`` will "annotate" opcodes to resulting assembler instructions, which can be very useful for JIT developers:: # ./bpf_jit_disasm -o -- 2.17.1