mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-09-11 05:43:16 -04:00
batman-adv: add missing kernel-doc comments
batman-adv requires kernel-doc for all functions and data types visible outside their own translation unit. Promoting a function from static to module-wide visibility currently requires adding documentation from scratch. However, this burden falls on whoever promotes a function from static to module-wide visibility, rather than its original implementer. Add the missing kernel-doc comments for the remaining undocumented functions and data types to reduce the complexity for new contributions. Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:
@@ -192,13 +192,19 @@ enum batadv_tvlv_type {
|
||||
};
|
||||
|
||||
#pragma pack(2)
|
||||
/* the destination hardware field in the ARP frame is used to
|
||||
* transport the claim type and the group id
|
||||
/**
|
||||
* struct batadv_bla_claim_dst - layout of the destination MAC of a BLA claim
|
||||
* frame
|
||||
* @magic: fixed magic prefix (FF:43:05) identifying claim frames
|
||||
* @type: claim frame type, see &enum batadv_bla_claimframe
|
||||
* @group: group identifier of the announcing backbone gateway
|
||||
*
|
||||
* used in the destination hardware field of the ARP frame
|
||||
*/
|
||||
struct batadv_bla_claim_dst {
|
||||
__u8 magic[3]; /* FF:43:05 */
|
||||
__u8 type; /* bla_claimframe */
|
||||
__be16 group; /* group id */
|
||||
__u8 magic[3];
|
||||
__u8 type;
|
||||
__be16 group;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user