lockd.yaml 882 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
  2. ---
  3. name: lockd
  4. protocol: genetlink
  5. uapi-header: linux/lockd_netlink.h
  6. doc: lockd configuration over generic netlink
  7. attribute-sets:
  8. -
  9. name: server
  10. attributes:
  11. -
  12. name: gracetime
  13. type: u32
  14. -
  15. name: tcp-port
  16. type: u16
  17. -
  18. name: udp-port
  19. type: u16
  20. operations:
  21. list:
  22. -
  23. name: server-set
  24. doc: set the lockd server parameters
  25. attribute-set: server
  26. flags: [admin-perm]
  27. do:
  28. request:
  29. attributes:
  30. - gracetime
  31. - tcp-port
  32. - udp-port
  33. -
  34. name: server-get
  35. doc: get the lockd server parameters
  36. attribute-set: server
  37. do:
  38. reply:
  39. attributes:
  40. - gracetime
  41. - tcp-port
  42. - udp-port