From 0ad7ed199e1584baeb57aa5d43d2823ade98f626 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Tue, 31 May 2022 15:07:33 +0200 Subject: [PATCH] docs: rpc: Fix broken headings MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Remove what seems like links from some headings. This error predates the conversion to RST where an ' Reviewed-by: Ján Tomko --- docs/kbase/internals/rpc.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/kbase/internals/rpc.rst b/docs/kbase/internals/rpc.rst index 02bc880044..d38db1410d 100644 --- a/docs/kbase/internals/rpc.rst +++ b/docs/kbase/internals/rpc.rst @@ -27,8 +27,8 @@ outstanding method. The protocol was loosely inspired by the design of SunRPC. The definition of the RPC protocol is in the file ``src/rpc/virnetprotocol.x`` in the libvirt source tree. -`Packet framing `__ -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Packet framing +~~~~~~~~~~~~~~ On the wire, there is no explicit packet framing marker. Instead each packet is preceded by an unsigned 32-bit integer giving the total length of the packet in @@ -45,8 +45,8 @@ the framing looks like this: |~ Len ~|~ Data ~|~ Len ~|~ Data ~|~ Len ~|~ Data ~|~ -`Packet data `__ -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Packet data +~~~~~~~~~~~ The data in each packet is split into two parts, a short fixed length header, followed by a variable length payload. So a packet from the illustration above @@ -61,8 +61,8 @@ is more correctly shown as |~ Len ~|~ Header ~|~ Payload .... ~| -`Packet header `__ -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Packet header +~~~~~~~~~~~~~ The header contains 6 fields, encoded as signed/unsigned 32-bit integers. @@ -119,8 +119,8 @@ The header contains 6 fields, encoded as signed/unsigned 32-bit integers. #. continue: for streams this indicates that further data packets will be following -`Packet payload `__ -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Packet payload +~~~~~~~~~~~~~~ The payload of a packet will vary depending on the ``type`` and ``status`` fields from the header. -- 2.47.2