summaryrefslogtreecommitdiff
path: root/lib/avtp_pipeline/tl/openavb_listener.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/avtp_pipeline/tl/openavb_listener.h')
-rw-r--r--lib/avtp_pipeline/tl/openavb_listener.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/avtp_pipeline/tl/openavb_listener.h b/lib/avtp_pipeline/tl/openavb_listener.h
index f802d8cb..bbbeb806 100644
--- a/lib/avtp_pipeline/tl/openavb_listener.h
+++ b/lib/avtp_pipeline/tl/openavb_listener.h
@@ -1,5 +1,6 @@
/*************************************************************************************************************
Copyright (c) 2012-2015, Symphony Teleca Corporation, a Harman International Industries, Incorporated company
+Copyright (c) 2016-2017, Harman International Industries, Incorporated
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -46,7 +47,7 @@ typedef struct {
typedef struct {
// Data from callback
- char ifname[IFNAMSIZ];
+ char ifname[IFNAMSIZ + 10]; // Include space for the socket type prefix (e.g. "simple:eth0")
AVBStreamID_t streamID;
U8 destAddr[ETH_ALEN];
AVBTSpec_t tSpec;
@@ -58,6 +59,7 @@ typedef struct {
unsigned long nReportCalls;
U64 nextReportNS;
U64 nextSecondNS;
+ unsigned long lastReportFrames;
listener_stats_t stats;
} listener_data_t;