lkml.org 
[lkml]   [2018]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH bpf-next 06/13] docs: net: Remove non-standard identifiers
Date
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@tobin.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
\
 
 \ /
  Last update: 2018-08-01 07:12    [W:0.221 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site