libklvanc
vanc-kl_u64le_counter.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2017 Kernel Labs Inc. All Rights Reserved
3  *
4  * Address: Kernel Labs Inc., PO Box 745, St James, NY. 11780
5  * Contact: sales@kernellabs.com
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20  */
21 
29 #ifndef _VANC_KL_U64LE_COUNTER_H
30 #define _VANC_KL_U64LE_COUNTER_H
31 
32 #include <libklvanc/vanc-packets.h>
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
42 {
43  struct klvanc_packet_header_s hdr;
44  uint64_t counter;
45 };
46 
54 
61 int klvanc_dump_KL_U64LE_COUNTER(struct klvanc_context_s *ctx, void *p);
62 
75  uint16_t **words, uint16_t *wordCount);
76 
77 #ifdef __cplusplus
78 };
79 #endif
80 
81 #endif /* _VANC_KL_U64LE_COUNTER_H */
TODO - Brief description goes here.
Definition: vanc-packets.h:57
int klvanc_create_KL_U64LE_COUNTER(struct klvanc_packet_kl_u64le_counter_s **pkt)
Create a KL counter packet.
int klvanc_dump_KL_U64LE_COUNTER(struct klvanc_context_s *ctx, void *p)
TODO - Brief description goes here.
TODO - Brief description goes here.
Definition: vanc-kl_u64le_counter.h:41
int klvanc_convert_KL_U64LE_COUNTER_to_words(struct klvanc_packet_kl_u64le_counter_s *pkt, uint16_t **words, uint16_t *wordCount)
Convert type struct klvanc_packet_kl_u64le_counter_s into a more traditional line of vanc words...
Application specific context, the library allocates and stores user specific instance information...
Definition: vanc.h:118
VANC Headers and packet structure.