mirror of
https://github.com/waaraawa/ByteGrid.git
synced 2026-07-22 06:41:47 +00:00
- Add legendPosition option (right, left, bottom, none) to control legend placement - Add showFooter option to show/hide footer info - Support both config (YAML) and render options for flexibility - Fix legend overlapping issue when positioned at bottom - Maintain backward compatibility with showLegend option
24 lines
527 B
YAML
24 lines
527 B
YAML
name: IPv4 Header (Bit Layout)
|
|
size: 4B
|
|
layout: 32b
|
|
fields:
|
|
- offset: 0-3b
|
|
name: Version
|
|
type: bits
|
|
description: "IP version (4 for IPv4)"
|
|
color: blue
|
|
- offset: 4-7b
|
|
name: IHL
|
|
type: bits
|
|
description: "Header length in 32-bit words"
|
|
color: cyan
|
|
- offset: 1B
|
|
name: DSCP+ECN
|
|
type: uint8_t
|
|
description: "Byte 1 using B suffix"
|
|
color: yellow
|
|
- offset: 16-31b
|
|
name: TotalLength
|
|
type: uint16_t
|
|
description: "Total packet length (2 bytes = 16 bits)"
|
|
color: green
|