1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/* librist. Copyright © 2020 SipRadius LLC. All right reserved.
* Author: Gijs Peskens <gijs@in2ip.nl>
* Author: Sergio Ammirata, Ph.D. <sergio@ammirata.net>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
/*
Needed for nullpacket deletion, values are for null packets:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Sync Byte |E|P|T| PID |TSC| AF| CC |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Sync Byte 0x47
E: Transport error indicator (TEI) 0
P: Payload unit start indicator (PUSI) 0
T: Transport Priority 0
PID: 0x1ff (null packet pid)
TSC: Transport scambling control 0
AF: Adaptation field control 1 (payload only)
CC: Continuity counter 0
*/
RIST_PRIV int ;
RIST_PRIV int ;