VANC counter library used for diagnostics/debugging.
More...
Go to the source code of this file.
VANC counter library used for diagnostics/debugging.
- Author
- Steven Toth stoth.nosp@m.@ker.nosp@m.nella.nosp@m.bs.c.nosp@m.om
- Copyright
- Copyright (c) 2017 Kernel Labs Inc. All Rights Reserved.
Convert type struct klvanc_packet_kl_u64le_counter_s into a more traditional line of
vanc words, so that we may push out as VANC data. On success, caller MUST free the resulting *words array.
- Parameters
-
[in] | struct | klvanc_packet_kl_u64le_counter_s *pkt - A KL counter VANC entry |
[out] | uint16_t | **words - An array of words representing a fully formed vanc line. |
[out] | uint16_t | *wordCount - Number of words in the array. |
- Returns
- 0 - Success
-
< 0 - Error
-
-ENOMEM - Not enough memory to satisfy request
Create a KL counter packet.
- Parameters
-
- Returns
- 0 - Success
-
< 0 - Error
TODO - Brief description goes here.
- Parameters
-
[in] | struct | vanc_context_s *ctx, void *p - Brief description goes here. |
- Returns
- 0 - Success
-
< 0 - Error