milan-avb: cmd-get-counters: add header

This commit is contained in:
hackerman-kl 2026-04-25 10:32:23 +02:00 committed by Wim Taymans
parent 6cc669e4e2
commit 99c9248a17

View file

@ -0,0 +1,24 @@
/* SPDX-FileCopyrightText: Copyright © 2025 Alexandre Malki */
/* SPDX-License-Identifier: MIT */
#ifndef __AVB_AECP_AEM_CMD_GET_COUNTERS_H__
#define __AVB_AECP_AEM_CMD_GET_COUNTERS_H__
#include "../aecp-aem.h"
int handle_cmd_get_counters_milan_v12(struct aecp *aecp, int64_t now,
const void *m, int len);
/**
* \brief Periodic counter unsolicited notification fan-out.
*
* Walks every STREAM_INPUT and STREAM_OUTPUT descriptor and sends a
* GET_COUNTERS-shaped AECP AEM RESPONSE as an unsolicited notification
* to all registered controllers. Intended to be called once per second
* from avb_aecp_aem_periodic.
*
* \see Milan v1.2 Section 5.4.5 Notifications.
*/
void cmd_get_counters_periodic_milan_v12(struct aecp *aecp, int64_t now);
#endif /* __AVB_AECP_AEM_CMD_GET_COUNTERS_H__ */