genl-ctrl-list.8 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. .TH genl\-ctrl-list 8 "20 April 2012" "libnl"
  2. .SH NAME
  3. genl\-ctrl\-list \- List available kernel-side Generic Netlink families
  4. .SH SYNOPSIS
  5. .B genl\-ctrl\-list [-d]
  6. .SH DESCRIPTION
  7. .PP
  8. Queries the Generic Netlink controller in kernel and prints a list of all
  9. registered Generic Netlink families including the version of the interface
  10. that has been registered.
  11. .SH OPTIONS
  12. .TP
  13. .BR \-\^h " or " \-\-help
  14. Print help text to console and exit.
  15. .TP
  16. .BR \-\^v " or " \-\-version
  17. Print versioning information to console and exit.
  18. .TP
  19. .BR \-\^d " or " \-\-details
  20. Include additional detailed information for each Generic Netlink
  21. family that is printed.
  22. The information includes:
  23. .RS
  24. .TP
  25. .B hdrsize N
  26. The size of the user specific header.
  27. .TP
  28. .B maxattr N
  29. The maximum Netlink attribute identifier expected by the interface.
  30. .TP
  31. .B op NAME (ID) <FLAGS>
  32. A list of available operations including their name, numeric identifier
  33. and the flags indicating the capabilities of the opertion.
  34. Available flags:
  35. .RS
  36. .TP
  37. .I admin-perm
  38. Requires administrative privileges
  39. .TP
  40. .I has-doit
  41. Command can handle request
  42. .TP
  43. .I has-dump
  44. Command can handle a dump request
  45. .TP
  46. .I has-policy
  47. Command enforces attribute validation policy
  48. .RE
  49. .TP
  50. .B grp NAME (ID)
  51. A list of registered multicast groups including name (if available)
  52. and identifier.
  53. .RE
  54. .RS
  55. .B Example:
  56. .RS
  57. 0x0010 nlctrl version 2
  58. .RS 0
  59. hdrsize 0 maxattr 7
  60. .RS 0
  61. op GETFAMILY (0x03) <has-doit,has-dump,has-policy>
  62. .RS 0
  63. grp notify (0x10)
  64. .RE
  65. .SH EXAMPLE
  66. .RS 0
  67. $ genl-ctrl-list
  68. .RS 0
  69. 0x0010 nlctrl version 2
  70. .RS 0
  71. 0x0011 NLBL_MGMT version 3
  72. .RS 0
  73. 0x0012 NLBL_CIPSOv4 version 3
  74. .RS 0
  75. 0x0013 NLBL_UNLBL version 3
  76. .RS 0
  77. 0x0014 acpi_event version 1
  78. .RS 0
  79. 0x0015 thermal_event version 1
  80. .RS 0
  81. 0x0016 VFS_DQUOT version 1
  82. .RS 0
  83. 0x0017 TASKSTATS version 1
  84. .RS 0
  85. 0x0018 NET_DM version 2
  86. .SH AUTHOR
  87. .PP
  88. Thomas Graf is the original author and current maintainer of libnl and
  89. libnl tools. Many people have contributed to it since.