Project

General

Profile

Actions

csInfo #4042 | FMT-0011

open
RA

csInfo #FMT-0002: Kroki examples

PacketDiag

csInfo #4042 | FMT-0011: PacketDiag

Added by Redmine Admin 8 days ago. Updated 7 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

blockdiag packetdiag { colwidth = 32; node_height = 72; 0-15: Source Port; 16-31: Destination Port; 32-63: Sequence Number; 64-95: Acknowledgment Number; 96-99: Data Offset; 100-103: Reserved; 104: CWR [rotate = 270]; 105: ECE [rotate = 270]; 106: URG [rotate = 270]; 107: ACK [rotate = 270]; 108: PSH [rotate = 270]; 109: RST [rotate = 270]; 110: SYN [rotate = 270]; 111: FIN [rotate = 270]; 112-127: Window; 128-143: Checksum; 144-159: Urgent Pointer; 160-191: (Options and Padding); 192-223: data [colheight = 3]; } 0 16 32 Source Port Destination Port Sequence Number Acknowledgment Number Data Offset Reserved CWR ECE URG ACK PSH RST SYN FIN Window Checksum Urgent Pointer (Options and Padding) data

The diagram above is shown by just simply put sample diagram code copied from kroki.io inside a macro.
The macro language is described in redmine-kroki plugin page.

This is the exact code:


{{kroki(packetdiag, max_width=600)
​packetdiag {
  colwidth = 32;
  node_height = 72;

  0-15: Source Port;
  16-31: Destination Port;
  32-63: Sequence Number;
  64-95: Acknowledgment Number;
  96-99: Data Offset;
  100-103: Reserved;
  104: CWR [rotate = 270];
  105: ECE [rotate = 270];
  106: URG [rotate = 270];
  107: ACK [rotate = 270];
  108: PSH [rotate = 270];
  109: RST [rotate = 270];
  110: SYN [rotate = 270];
  111: FIN [rotate = 270];
  112-127: Window;
  128-143: Checksum;
  144-159: Urgent Pointer;
  160-191: (Options and Padding);
  192-223: data [colheight = 3];
}
}}


Document references

No data to display

Actions

Also available in: PDF Atom