blob: 9a9854631165771d7b5e17a4f25a3d7b81b4a00a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
Package tikzPackets provide command for simple build network packets illustration with tikz.
Usage example (UDP):
\begin{tikzpicture}
\packetsInit
\packetsPrintBitScale{31}
\packetsPutField{16}{Source Port}
\packetsPutField{16}{Destination Port}
\packetsEndLine{0}{}
\packetsPutField{16}{Length}
\packetsPutField{16}{Checksum}
\packetsEndLine{32}{}
\packetsPutField[protocolsField, minimum height = 1.5cm]{32}{Data}
\packetsEndLine{64}{}
\end{tikzpicture}
Version 1.0 (2020-07-13): first public release
Copyright (C) 2020, Robert Ryszard Paciorek <rrp@opcode.eu.org>
This is free software distributed under terms of The MIT License.
|