hdlc_opts.def 758 B

1234567891011121314151617181920212223242526272829303132333435
  1. /* Add the flag definitions for your plugin here */
  2. /* rewrite HDLC control */
  3. flag = {
  4. name = hdlc-control;
  5. max = 1;
  6. descrip = "Specify HDLC control value";
  7. arg-type = "number";
  8. range = "0->255";
  9. doc = <<- EOText
  10. The Cisco HDLC header has a 1 byte "control" field. Apparently this should
  11. always be 0, but if you can use any 1 byte value.
  12. EOText;
  13. };
  14. flag = {
  15. name = hdlc-address;
  16. max = 1;
  17. descrip = "Specify HDLC address";
  18. arg-type = "number";
  19. range = "0->255";
  20. doc = <<- EOText
  21. The Cisco HDLC header has a 1 byte "address" field which has two valid
  22. values:
  23. @table @bullet
  24. @item
  25. @var{0x0F}
  26. Unicast
  27. @item
  28. @var{0xBF}
  29. Broadcast
  30. @end table
  31. You can however specify any single byte value.
  32. EOText;
  33. };