diff options
author | Peter Krempa <pkrempa@redhat.com> | 2022-05-31 15:07:33 +0200 |
---|---|---|
committer | Peter Krempa <pkrempa@redhat.com> | 2022-06-01 12:27:10 +0200 |
commit | 0ad7ed199e1584baeb57aa5d43d2823ade98f626 (patch) | |
tree | 659087b3bdc43bafb819777648bff6bcb6d30606 /docs/kbase | |
parent | f97e769b63905012b6a585c3435384eb55e268f8 (diff) | |
download | libvirt-0ad7ed199e1584baeb57aa5d43d2823ade98f626.tar.gz |
docs: rpc: Fix broken headings
Remove what seems like links from some headings. This error predates the
conversion to RST where an '<a href' was used instead of '<a id' in the
source document.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Diffstat (limited to 'docs/kbase')
-rw-r--r-- | docs/kbase/internals/rpc.rst | 16 |
1 files 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 <protocolframing>`__ -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 <protocoldata>`__ -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 <protocolheader>`__ -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 <protocolpayload>`__ -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Packet payload +~~~~~~~~~~~~~~ The payload of a packet will vary depending on the ``type`` and ``status`` fields from the header. |