docs: netlink: document the sub-type attribute property
authorDonald Hunter <donald.hunter@gmail.com>
Mon, 27 Mar 2023 08:31:38 +0000 (09:31 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 29 Mar 2023 06:54:43 +0000 (23:54 -0700)
commit04eac39361d3506c82ccf932cb288e84d5746969
treee68822bea6118a746cd656ea058680a4a03ec472
parent88e288968412ec1ca3d3b2d96956baa543fdfe82
docs: netlink: document the sub-type attribute property

Add a definition for sub-type to the protocol spec doc and a description of
its usage for C arrays in genetlink-legacy.

Signed-off-by: Donald Hunter <donald.hunter@gmail.com>
Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/userspace-api/netlink/genetlink-legacy.rst
Documentation/userspace-api/netlink/specs.rst