1#Diagram demonstrating sending in a No-Split/Allow-Split ring buffer
2#Buffer of 128 bytes, and 3 items of size 18, 3, and 27 bytes sent
3
4packetdiag ring_buffer_send_non_byte_buf {
5    node_width = 6
6    node_height = 24
7    default_fontsize = 12
8    colwidth = 128
9
10    #Add 18 byte item
11    0-7: 8 [color = lightblue];
12    8-27: 20 [color = lightyellow];
13    28-127: 100 Free
14
15    #Add 3 byte item
16    128-135: 8 [color = lightblue];
17    136-155: 20 [color = lightyellow];
18    156-163: 8 [color = lightblue];
19    164-167: 4 [color = lightyellow];
20    168-255: 88 Free
21
22    #Add 27 byte item
23    256-263: 8 [color = lightblue];
24    264-283: 20 [color = lightyellow];
25    284-291: 8 [color = lightblue];
26    292-295: 4 [color = lightyellow];
27    296-303: 8 [color = lightblue];
28    304-331: 28 [color = lightyellow];
29    332-383: 52 Free
30}
31