[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180801050908.29970-7-me@tobin.cc>
Date: Wed, 1 Aug 2018 15:09:01 +1000
From: "Tobin C. Harding" <me@...in.cc>
To: Daniel Borkmann <daniel@...earbox.net>,
Alexei Starovoitov <ast@...nel.org>
Cc: "Tobin C. Harding" <me@...in.cc>, Jonathan Corbet <corbet@....net>,
"David S. Miller" <davem@...emloft.net>, linux-doc@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH bpf-next 06/13] docs: net: Remove non-standard identifiers
File uses a custom identifier '**'. Documentation build is cleaner if
we use standard identifiers. Usage is not _really_ a list and its not
_really_ a section header. Lets just remove the double stars since
we just added code snippet format for following text so the identifiers
are redundant now.
Remove non-standard identifiers '**'.
Signed-off-by: Tobin C. Harding <me@...in.cc>
---
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 916e7ac01576..62630e8f023a 100644
--- a/Documentation/networking/filter.rst
+++ b/Documentation/networking/filter.rst
@@ -292,14 +292,14 @@ Possible BPF extensions are shown in the following table::
These extensions can also be prefixed with '#'.
Examples for low-level BPF:
-** ARP packets::
+ARP packets::
ldh [12]
jne #0x806, drop
ret #-1
drop: ret #0
-** IPv4 TCP packets::
+IPv4 TCP packets::
ldh [12]
jne #0x800, drop
@@ -308,14 +308,14 @@ Examples for low-level BPF:
ret #-1
drop: ret #0
-** (Accelerated) VLAN w/ id 10::
+(Accelerated) VLAN w/ id 10::
ld vlan_tci
jneq #10, drop
ret #-1
drop: ret #0
-** icmp random packet sampling, 1 in 4::
+icmp random packet sampling, 1 in 4::
ldh [12]
jne #0x800, drop
@@ -328,7 +328,7 @@ Examples for low-level BPF:
ret #-1
drop: ret #0
-** SECCOMP filter example::
+SECCOMP filter example::
ld [4] /* offsetof(struct seccomp_data, arch) */
jne #0xc000003e, bad /* AUDIT_ARCH_X86_64 */
--
2.17.1
Powered by blists - more mailing lists