genl-ctrl-list(8)

πŸ’– genl-ctrl-list(8) πŸ’–

okay bestie, welcome to the System Manager's Manual corner of the group chat β€” this is genl-ctrl-list, and she's here to spill the tea on every Generic Netlink family your kernel is hiding. ✨


🌸 NAME 🌸

genl-ctrl-list β€” List available kernel-side Generic Netlink families


πŸ¦‹ SYNOPSIS πŸ¦‹

genl-ctrl-list [-d]

✨ DESCRIPTION ✨

So basically, this little icon goes and queries the Generic Netlink controller hanging out inside your kernel, and then prints you a whole list of all the registered Generic Netlink families β€” including the version of the interface that's been registered. no cap, that's the whole gig. it's giving "roll call but make it netlink." πŸ’…


πŸ‘‘ OPTIONS πŸ‘‘

  • -h, --help β€” prints the help text to the console and dips. polite queen behavior. πŸŽ€
  • -v, --version β€” prints the versioning info to the console and exits. identity check, slay. πŸ¦‹
  • -d, --details β€” turns on the extra tea: it includes additional detailed information for each Generic Netlink family that gets printed. πŸ“

The information includes:

  • hdrsize N β€” the size of the user specific header. (yes, that's the exact wording, i don't make the rules πŸ’€)
  • maxattr N β€” the maximum Netlink attribute identifier expected by the interface.
  • op NAME (ID) <FLAGS> β€” a list of available operations, showing their name, numeric identifier, and the flags that indicate the capabilities of the opertion. πŸ”₯

Available flags:

  • admin-perm β€” requires administrative privileges πŸ‘‘
  • has-doit β€” command can handle request
  • has-dump β€” command can handle a dump request
  • has-policy β€” command enforces attribute validation policy
  • grp NAME (ID) β€” a list of registered multicast groups, including name (if available) and identifier. 🌈
  • Example:
0x0010 nlctrl version 2
    hdrsize 0 maxattr 7
      op GETFAMILY (0x03) <has-doit,has-dump,has-policy>
      grp notify (0x10)

⭐ EXAMPLE ⭐

$ genl-ctrl-list
0x0010 nlctrl version 2
0x0011 NLBL_MGMT version 3
0x0012 NLBL_CIPSOv4 version 3
0x0013 NLBL_UNLBL version 3
0x0014 acpi_event version 1
0x0015 thermal_event version 1
0x0016 VFS_DQUOT version 1
0x0017 TASKSTATS version 1
0x0018 NET_DM version 2

look at her go. main character energy, every single line. πŸ˜­πŸ’œ


πŸ’œ AUTHOR πŸ’œ

Thomas Graf is the original author and current maintainer of libnl and libnl tools. Many people have contributed to it since. 🫢 (a whole squad, fr fr.)


ngl, that's the entire page β€” every flag, every field, every flag-of-the-flags accounted for. nothing skipped, periodt. πŸ’–

this lil manual page came to you from libnl, dated 20 April 2012 β€” yes she's been serving since 2012 and she still ate. bye bestie, go list some families 🧚🌸