ring_buffer_wrap_byte_buf.diag 575 B

1234567891011121314151617181920212223
  1. #Diagram demonstrating wrap around in byte buffer
  2. #Buffer of 128 bytes, with 56 bytes free, and 28 bytes sent
  3. packetdiag ring_buffer_wrap_byte_buf {
  4. node_width = 6
  5. node_height = 24
  6. default_fontsize = 12
  7. colwidth = 128
  8. #Initial state
  9. 0-39: 40 Free
  10. 40-111: 72 [color = lightyellow];
  11. 112-127: 16 Free
  12. #Fill up free space at the end of the buffer
  13. 128-167: 40 Free
  14. 168-255: 88 [color = lightyellow];
  15. #Wrap around remaining data
  16. 256-267: 12 [color = lightyellow];
  17. 268-295: 28 Free
  18. 296-383: 88 [color = lightyellow];
  19. }