Code Coverage: vinyl-cache/lib/libvsc/VSC_vbe.c
 
82217aa4fc7094b3610340078afaf78cd95a8ec9
 
0
/*
1
 * NB:  This file is machine generated, DO NOT EDIT!
2
 *
3
 * Edit vbe.vsc and run lib/libvsc/vsctool.py instead.
4
 */
5
6
#include "config.h"
7
#include <stdio.h>
8
#include <stdarg.h>
9
#include "vdef.h"
10
#include "vas.h"
11
#include "vrt.h"
12
#include "VSC_vbe.h"
13
14
static const char vsc_vbe_name[] = "VBE";
15
16
#define PARANOIA(a,n)                           \
17
    v_static_assert(                            \
18
        offsetof(struct VSC_vbe, a) == n,       \
19
        "VSC element '" #a "' at wrong offset")
20
21
PARANOIA(happy, 0);
22
PARANOIA(bereq_hdrbytes, 8);
23
PARANOIA(bereq_bodybytes, 16);
24
PARANOIA(beresp_hdrbytes, 24);
25
PARANOIA(beresp_bodybytes, 32);
26
PARANOIA(pipe_hdrbytes, 40);
27
PARANOIA(pipe_out, 48);
28
PARANOIA(pipe_in, 56);
29
PARANOIA(conn, 64);
30
PARANOIA(req, 72);
31
PARANOIA(unhealthy, 80);
32
PARANOIA(busy, 88);
33
PARANOIA(closed, 96);
34
PARANOIA(closed_err, 104);
35
PARANOIA(rem_close, 112);
36
PARANOIA(req_close, 120);
37
PARANOIA(req_http10, 128);
38
PARANOIA(rx_bad, 136);
39
PARANOIA(rx_body, 144);
40
PARANOIA(rx_junk, 152);
41
PARANOIA(rx_overflow, 160);
42
PARANOIA(rx_timeout, 168);
43
PARANOIA(tx_proxy, 176);
44
PARANOIA(tx_pipe, 184);
45
PARANOIA(tx_error, 192);
46
PARANOIA(tx_eof, 200);
47
PARANOIA(resp_close, 208);
48
PARANOIA(overload, 216);
49
PARANOIA(fail, 224);
50
PARANOIA(fail_eacces, 232);
51
PARANOIA(fail_eaddrnotavail, 240);
52
PARANOIA(fail_econnrefused, 248);
53
PARANOIA(fail_enetunreach, 256);
54
PARANOIA(fail_etimedout, 264);
55
PARANOIA(fail_other, 272);
56
PARANOIA(helddown, 280);
57
#undef PARANOIA
58
59
static const unsigned char vsc_vbe_json[7617] = {
60
        123,34,118,101,114,115,105,111,110,34,58,34,49,34,44,34,110,97,109,101,
61
        34,58,34,118,98,101,34,44,34,111,110,101,108,105,110,101,114,34,58,34,
62
        66,97,99,107,101,110,100,32,67,111,117,110,116,101,114,115,34,44,34,
63
        111,114,100,101,114,34,58,54,48,44,34,100,111,99,115,34,58,34,34,44,
64
        34,101,108,101,109,101,110,116,115,34,58,51,54,44,34,101,108,101,109,
65
        34,58,123,34,104,97,112,112,121,34,58,123,34,116,121,112,101,34,58,34,
66
        98,105,116,109,97,112,34,44,34,99,116,121,112,101,34,58,34,117,105,110,
67
        116,54,52,95,116,34,44,34,108,101,118,101,108,34,58,34,105,110,102,111,
68
        34,44,34,111,110,101,108,105,110,101,114,34,58,34,72,97,112,112,121,
69
        32,104,101,97,108,116,104,32,112,114,111,98,101,115,34,44,34,102,111,
70
        114,109,97,116,34,58,34,98,105,116,109,97,112,34,44,34,105,110,100,101,
71
        120,34,58,48,44,34,110,97,109,101,34,58,34,104,97,112,112,121,34,44,
72
        34,100,111,99,115,34,58,34,92,116,82,101,112,114,101,115,101,110,116,
73
        115,32,116,104,101,32,108,97,115,116,32,112,114,111,98,101,32,114,101,
74
        115,117,108,116,115,32,97,115,32,97,32,98,105,116,109,97,112,46,32,72,
75
        97,112,112,121,32,112,114,111,98,101,115,32,97,114,101,32,98,105,116,
76
        115,32,115,101,116,92,110,92,116,116,111,32,49,44,32,97,110,100,32,116,
77
        104,101,32,117,110,104,97,112,112,121,32,111,110,101,115,32,97,114,101,
78
        32,115,101,116,32,116,111,32,48,46,32,84,104,101,32,104,105,103,104,
79
        101,115,116,32,98,105,116,115,32,114,101,112,114,101,115,101,110,116,
80
        32,116,104,101,92,110,92,116,111,108,100,101,115,116,32,112,114,111,
81
        98,101,115,46,34,125,44,34,98,101,114,101,113,95,104,100,114,98,121,
82
        116,101,115,34,58,123,34,116,121,112,101,34,58,34,99,111,117,110,116,
83
        101,114,34,44,34,99,116,121,112,101,34,58,34,117,105,110,116,54,52,95,
84
        116,34,44,34,108,101,118,101,108,34,58,34,105,110,102,111,34,44,34,111,
85
        110,101,108,105,110,101,114,34,58,34,82,101,113,117,101,115,116,32,104,
86
        101,97,100,101,114,32,98,121,116,101,115,34,44,34,102,111,114,109,97,
87
        116,34,58,34,98,121,116,101,115,34,44,34,105,110,100,101,120,34,58,56,
88
        44,34,110,97,109,101,34,58,34,98,101,114,101,113,95,104,100,114,98,121,
89
        116,101,115,34,44,34,100,111,99,115,34,58,34,92,116,84,111,116,97,108,
90
        32,98,97,99,107,101,110,100,32,114,101,113,117,101,115,116,32,104,101,
91
        97,100,101,114,32,98,121,116,101,115,32,115,101,110,116,34,125,44,34,
92
        98,101,114,101,113,95,98,111,100,121,98,121,116,101,115,34,58,123,34,
93
        116,121,112,101,34,58,34,99,111,117,110,116,101,114,34,44,34,99,116,
94
        121,112,101,34,58,34,117,105,110,116,54,52,95,116,34,44,34,108,101,118,
95
        101,108,34,58,34,105,110,102,111,34,44,34,111,110,101,108,105,110,101,
96
        114,34,58,34,82,101,113,117,101,115,116,32,98,111,100,121,32,98,121,
97
        116,101,115,34,44,34,102,111,114,109,97,116,34,58,34,98,121,116,101,
98
        115,34,44,34,105,110,100,101,120,34,58,49,54,44,34,110,97,109,101,34,
99
        58,34,98,101,114,101,113,95,98,111,100,121,98,121,116,101,115,34,44,
100
        34,100,111,99,115,34,58,34,92,116,84,111,116,97,108,32,98,97,99,107,
101
        101,110,100,32,114,101,113,117,101,115,116,32,98,111,100,121,32,98,121,
102
        116,101,115,32,115,101,110,116,34,125,44,34,98,101,114,101,115,112,95,
103
        104,100,114,98,121,116,101,115,34,58,123,34,116,121,112,101,34,58,34,
104
        99,111,117,110,116,101,114,34,44,34,99,116,121,112,101,34,58,34,117,
105
        105,110,116,54,52,95,116,34,44,34,108,101,118,101,108,34,58,34,105,110,
106
        102,111,34,44,34,111,110,101,108,105,110,101,114,34,58,34,82,101,115,
107
        112,111,110,115,101,32,104,101,97,100,101,114,32,98,121,116,101,115,
108
        34,44,34,102,111,114,109,97,116,34,58,34,98,121,116,101,115,34,44,34,
109
        105,110,100,101,120,34,58,50,52,44,34,110,97,109,101,34,58,34,98,101,
110
        114,101,115,112,95,104,100,114,98,121,116,101,115,34,44,34,100,111,99,
111
        115,34,58,34,92,116,84,111,116,97,108,32,98,97,99,107,101,110,100,32,
112
        114,101,115,112,111,110,115,101,32,104,101,97,100,101,114,32,98,121,
113
        116,101,115,32,114,101,99,101,105,118,101,100,34,125,44,34,98,101,114,
114
        101,115,112,95,98,111,100,121,98,121,116,101,115,34,58,123,34,116,121,
115
        112,101,34,58,34,99,111,117,110,116,101,114,34,44,34,99,116,121,112,
116
        101,34,58,34,117,105,110,116,54,52,95,116,34,44,34,108,101,118,101,108,
117
        34,58,34,105,110,102,111,34,44,34,111,110,101,108,105,110,101,114,34,
118
        58,34,82,101,115,112,111,110,115,101,32,98,111,100,121,32,98,121,116,
119
        101,115,34,44,34,102,111,114,109,97,116,34,58,34,98,121,116,101,115,
120
        34,44,34,105,110,100,101,120,34,58,51,50,44,34,110,97,109,101,34,58,
121
        34,98,101,114,101,115,112,95,98,111,100,121,98,121,116,101,115,34,44,
122
        34,100,111,99,115,34,58,34,92,116,84,111,116,97,108,32,98,97,99,107,
123
        101,110,100,32,114,101,115,112,111,110,115,101,32,98,111,100,121,32,
124
        98,121,116,101,115,32,114,101,99,101,105,118,101,100,34,125,44,34,112,
125
        105,112,101,95,104,100,114,98,121,116,101,115,34,58,123,34,116,121,112,
126
        101,34,58,34,99,111,117,110,116,101,114,34,44,34,99,116,121,112,101,
127
        34,58,34,117,105,110,116,54,52,95,116,34,44,34,108,101,118,101,108,34,
128
        58,34,105,110,102,111,34,44,34,111,110,101,108,105,110,101,114,34,58,
129
        34,80,105,112,101,32,114,101,113,117,101,115,116,32,104,101,97,100,101,
130
        114,32,98,121,116,101,115,34,44,34,102,111,114,109,97,116,34,58,34,98,
131
        121,116,101,115,34,44,34,105,110,100,101,120,34,58,52,48,44,34,110,97,
132
        109,101,34,58,34,112,105,112,101,95,104,100,114,98,121,116,101,115,34,
133
        44,34,100,111,99,115,34,58,34,92,116,84,111,116,97,108,32,114,101,113,
134
        117,101,115,116,32,98,121,116,101,115,32,115,101,110,116,32,102,111,
135
        114,32,112,105,112,101,100,32,115,101,115,115,105,111,110,115,34,125,
136
        44,34,112,105,112,101,95,111,117,116,34,58,123,34,116,121,112,101,34,
137
        58,34,99,111,117,110,116,101,114,34,44,34,99,116,121,112,101,34,58,34,
138
        117,105,110,116,54,52,95,116,34,44,34,108,101,118,101,108,34,58,34,105,
139
        110,102,111,34,44,34,111,110,101,108,105,110,101,114,34,58,34,80,105,
140
        112,101,100,32,98,121,116,101,115,32,116,111,32,98,97,99,107,101,110,
141
        100,34,44,34,102,111,114,109,97,116,34,58,34,98,121,116,101,115,34,44,
142
        34,105,110,100,101,120,34,58,52,56,44,34,110,97,109,101,34,58,34,112,
143
        105,112,101,95,111,117,116,34,44,34,100,111,99,115,34,58,34,92,116,84,
144
        111,116,97,108,32,110,117,109,98,101,114,32,111,102,32,98,121,116,101,
145
        115,32,102,111,114,119,97,114,100,101,100,32,116,111,32,98,97,99,107,
146
        101,110,100,32,105,110,32,112,105,112,101,32,115,101,115,115,105,111,
147
        110,115,34,125,44,34,112,105,112,101,95,105,110,34,58,123,34,116,121,
148
        112,101,34,58,34,99,111,117,110,116,101,114,34,44,34,99,116,121,112,
149
        101,34,58,34,117,105,110,116,54,52,95,116,34,44,34,108,101,118,101,108,
150
        34,58,34,105,110,102,111,34,44,34,111,110,101,108,105,110,101,114,34,
151
        58,34,80,105,112,101,100,32,98,121,116,101,115,32,102,114,111,109,32,
152
        98,97,99,107,101,110,100,34,44,34,102,111,114,109,97,116,34,58,34,98,
153
        121,116,101,115,34,44,34,105,110,100,101,120,34,58,53,54,44,34,110,97,
154
        109,101,34,58,34,112,105,112,101,95,105,110,34,44,34,100,111,99,115,
155
        34,58,34,92,116,84,111,116,97,108,32,110,117,109,98,101,114,32,111,102,
156
        32,98,121,116,101,115,32,102,111,114,119,97,114,100,101,100,32,102,114,
157
        111,109,32,98,97,99,107,101,110,100,32,105,110,32,112,105,112,101,32,
158
        115,101,115,115,105,111,110,115,34,125,44,34,99,111,110,110,34,58,123,
159
        34,116,121,112,101,34,58,34,103,97,117,103,101,34,44,34,99,116,121,112,
160
        101,34,58,34,117,105,110,116,54,52,95,116,34,44,34,108,101,118,101,108,
161
        34,58,34,105,110,102,111,34,44,34,111,110,101,108,105,110,101,114,34,
162
        58,34,67,111,110,99,117,114,114,101,110,116,32,99,111,110,110,101,99,
163
        116,105,111,110,115,32,117,115,101,100,34,44,34,102,111,114,109,97,116,
164
        34,58,34,105,110,116,101,103,101,114,34,44,34,105,110,100,101,120,34,
165
        58,54,52,44,34,110,97,109,101,34,58,34,99,111,110,110,34,44,34,100,111,
166
        99,115,34,58,34,92,116,84,104,101,32,110,117,109,98,101,114,32,111,102,
167
        32,99,117,114,114,101,110,116,108,121,32,117,115,101,100,32,99,111,110,
168
        110,101,99,116,105,111,110,115,32,116,111,32,116,104,101,32,98,97,99,
169
        107,101,110,100,46,32,84,104,105,115,92,110,92,116,110,117,109,98,101,
170
        114,32,105,115,32,97,108,119,97,121,115,32,108,101,115,115,32,111,114,
171
        32,101,113,117,97,108,32,116,111,32,116,104,101,32,110,117,109,98,101,
172
        114,32,111,102,32,99,111,110,110,101,99,116,105,111,110,115,32,116,111,
173
        92,110,92,116,116,104,101,32,98,97,99,107,101,110,100,32,40,97,115,44,
174
        32,102,111,114,32,101,120,97,109,112,108,101,32,115,104,111,119,110,
175
        32,97,115,32,69,83,84,65,66,76,73,83,72,69,68,32,102,111,114,32,84,67,
176
        80,92,110,92,116,99,111,110,110,101,99,116,105,111,110,115,32,105,110,
177
        32,110,101,116,115,116,97,116,41,32,100,117,101,32,116,111,32,99,111,
178
        110,110,101,99,116,105,111,110,32,112,111,111,108,105,110,103,46,34,
179
        125,44,34,114,101,113,34,58,123,34,116,121,112,101,34,58,34,99,111,117,
180
        110,116,101,114,34,44,34,99,116,121,112,101,34,58,34,117,105,110,116,
181
        54,52,95,116,34,44,34,108,101,118,101,108,34,58,34,105,110,102,111,34,
182
        44,34,111,110,101,108,105,110,101,114,34,58,34,66,97,99,107,101,110,
183
        100,32,114,101,113,117,101,115,116,115,32,115,101,110,116,34,44,34,102,
184
        111,114,109,97,116,34,58,34,105,110,116,101,103,101,114,34,44,34,105,
185
        110,100,101,120,34,58,55,50,44,34,110,97,109,101,34,58,34,114,101,113,
186
        34,44,34,100,111,99,115,34,58,34,34,125,44,34,117,110,104,101,97,108,
187
        116,104,121,34,58,123,34,116,121,112,101,34,58,34,99,111,117,110,116,
188
        101,114,34,44,34,99,116,121,112,101,34,58,34,117,105,110,116,54,52,95,
189
        116,34,44,34,108,101,118,101,108,34,58,34,105,110,102,111,34,44,34,111,
190
        110,101,108,105,110,101,114,34,58,34,70,101,116,99,104,101,115,32,110,
191
        111,116,32,97,116,116,101,109,112,116,101,100,32,100,117,101,32,116,
192
        111,32,98,97,99,107,101,110,100,32,98,101,105,110,103,32,117,110,104,
193
        101,97,108,116,104,121,34,44,34,102,111,114,109,97,116,34,58,34,105,
194
        110,116,101,103,101,114,34,44,34,105,110,100,101,120,34,58,56,48,44,
195
        34,110,97,109,101,34,58,34,117,110,104,101,97,108,116,104,121,34,44,
196
        34,100,111,99,115,34,58,34,34,125,44,34,98,117,115,121,34,58,123,34,
197
        116,121,112,101,34,58,34,99,111,117,110,116,101,114,34,44,34,99,116,
198
        121,112,101,34,58,34,117,105,110,116,54,52,95,116,34,44,34,108,101,118,
199
        101,108,34,58,34,105,110,102,111,34,44,34,111,110,101,108,105,110,101,
200
        114,34,58,34,70,101,116,99,104,101,115,32,110,111,116,32,97,116,116,
201
        101,109,112,116,101,100,32,100,117,101,32,116,111,32,98,97,99,107,101,
202
        110,100,32,98,101,105,110,103,32,98,117,115,121,34,44,34,102,111,114,
203
        109,97,116,34,58,34,105,110,116,101,103,101,114,34,44,34,105,110,100,
204
        101,120,34,58,56,56,44,34,110,97,109,101,34,58,34,98,117,115,121,34,
205
        44,34,100,111,99,115,34,58,34,92,116,78,117,109,98,101,114,32,111,102,
206
        32,116,105,109,101,115,32,116,104,101,32,109,97,120,95,99,111,110,110,
207
        101,99,116,105,111,110,115,32,108,105,109,105,116,32,119,97,115,32,114,
208
        101,97,99,104,101,100,34,125,44,34,99,108,111,115,101,100,34,58,123,
209
        34,116,121,112,101,34,58,34,99,111,117,110,116,101,114,34,44,34,99,116,
210
        121,112,101,34,58,34,117,105,110,116,54,52,95,116,34,44,34,108,101,118,
211
        101,108,34,58,34,105,110,102,111,34,44,34,111,110,101,108,105,110,101,
212
        114,34,58,34,67,111,110,110,101,99,116,105,111,110,32,99,108,111,115,
213
        101,100,34,44,34,102,111,114,109,97,116,34,58,34,105,110,116,101,103,
214
        101,114,34,44,34,105,110,100,101,120,34,58,57,54,44,34,110,97,109,101,
215
        34,58,34,99,108,111,115,101,100,34,44,34,100,111,99,115,34,58,34,34,
216
        125,44,34,99,108,111,115,101,100,95,101,114,114,34,58,123,34,116,121,
217
        112,101,34,58,34,99,111,117,110,116,101,114,34,44,34,99,116,121,112,
218
        101,34,58,34,117,105,110,116,54,52,95,116,34,44,34,108,101,118,101,108,
219
        34,58,34,105,110,102,111,34,44,34,111,110,101,108,105,110,101,114,34,
220
        58,34,67,111,110,110,101,99,116,105,111,110,32,99,108,111,115,101,100,
221
        32,119,105,116,104,32,101,114,114,111,114,34,44,34,102,111,114,109,97,
222
        116,34,58,34,105,110,116,101,103,101,114,34,44,34,105,110,100,101,120,
223
        34,58,49,48,52,44,34,110,97,109,101,34,58,34,99,108,111,115,101,100,
224
        95,101,114,114,34,44,34,100,111,99,115,34,58,34,34,125,44,34,114,101,
225
        109,95,99,108,111,115,101,34,58,123,34,116,121,112,101,34,58,34,99,111,
226
        117,110,116,101,114,34,44,34,99,116,121,112,101,34,58,34,117,105,110,
227
        116,54,52,95,116,34,44,34,108,101,118,101,108,34,58,34,105,110,102,111,
228
        34,44,34,111,110,101,108,105,110,101,114,34,58,34,67,111,110,110,101,
229
        99,116,105,111,110,32,99,108,111,115,101,100,32,98,121,32,98,97,99,107,
230
        101,110,100,34,44,34,102,111,114,109,97,116,34,58,34,105,110,116,101,
231
        103,101,114,34,44,34,105,110,100,101,120,34,58,49,49,50,44,34,110,97,
232
        109,101,34,58,34,114,101,109,95,99,108,111,115,101,34,44,34,100,111,
233
        99,115,34,58,34,34,125,44,34,114,101,113,95,99,108,111,115,101,34,58,
234
        123,34,116,121,112,101,34,58,34,99,111,117,110,116,101,114,34,44,34,
235
        99,116,121,112,101,34,58,34,117,105,110,116,54,52,95,116,34,44,34,108,
236
        101,118,101,108,34,58,34,105,110,102,111,34,44,34,111,110,101,108,105,
237
        110,101,114,34,58,34,67,111,110,110,101,99,116,105,111,110,32,99,108,
238
        111,115,117,114,101,32,114,101,113,117,101,115,116,101,100,32,98,121,
239
        32,98,97,99,107,101,110,100,34,44,34,102,111,114,109,97,116,34,58,34,
240
        105,110,116,101,103,101,114,34,44,34,105,110,100,101,120,34,58,49,50,
241
        48,44,34,110,97,109,101,34,58,34,114,101,113,95,99,108,111,115,101,34,
242
        44,34,100,111,99,115,34,58,34,34,125,44,34,114,101,113,95,104,116,116,
243
        112,49,48,34,58,123,34,116,121,112,101,34,58,34,99,111,117,110,116,101,
244
        114,34,44,34,99,116,121,112,101,34,58,34,117,105,110,116,54,52,95,116,
245
        34,44,34,108,101,118,101,108,34,58,34,105,110,102,111,34,44,34,111,110,
246
        101,108,105,110,101,114,34,58,34,67,111,110,110,101,99,116,105,111,110,
247
        32,99,108,111,115,101,100,32,102,111,114,32,112,114,111,116,111,32,60,
248
        32,72,84,84,80,47,49,46,49,34,44,34,102,111,114,109,97,116,34,58,34,
249
        105,110,116,101,103,101,114,34,44,34,105,110,100,101,120,34,58,49,50,
250
        56,44,34,110,97,109,101,34,58,34,114,101,113,95,104,116,116,112,49,48,
251
        34,44,34,100,111,99,115,34,58,34,34,125,44,34,114,120,95,98,97,100,34,
252
        58,123,34,116,121,112,101,34,58,34,99,111,117,110,116,101,114,34,44,
253
        34,99,116,121,112,101,34,58,34,117,105,110,116,54,52,95,116,34,44,34,
254
        108,101,118,101,108,34,58,34,105,110,102,111,34,44,34,111,110,101,108,
255
        105,110,101,114,34,58,34,67,111,110,110,101,99,116,105,111,110,32,99,
256
        108,111,115,101,100,32,102,111,114,32,114,101,99,101,105,118,101,100,
257
        32,98,97,100,32,114,101,115,112,111,110,115,101,34,44,34,102,111,114,
258
        109,97,116,34,58,34,105,110,116,101,103,101,114,34,44,34,105,110,100,
259
        101,120,34,58,49,51,54,44,34,110,97,109,101,34,58,34,114,120,95,98,97,
260
        100,34,44,34,100,111,99,115,34,58,34,34,125,44,34,114,120,95,98,111,
261
        100,121,34,58,123,34,116,121,112,101,34,58,34,99,111,117,110,116,101,
262
        114,34,44,34,99,116,121,112,101,34,58,34,117,105,110,116,54,52,95,116,
263
        34,44,34,108,101,118,101,108,34,58,34,105,110,102,111,34,44,34,111,110,
264
        101,108,105,110,101,114,34,58,34,67,111,110,110,101,99,116,105,111,110,
265
        32,99,108,111,115,101,100,32,102,111,114,32,102,97,105,108,101,100,32,
266
        114,101,99,101,105,118,105,110,103,32,114,101,113,117,101,115,116,32,
267
        98,111,100,121,34,44,34,102,111,114,109,97,116,34,58,34,105,110,116,
268
        101,103,101,114,34,44,34,105,110,100,101,120,34,58,49,52,52,44,34,110,
269
        97,109,101,34,58,34,114,120,95,98,111,100,121,34,44,34,100,111,99,115,
270
        34,58,34,34,125,44,34,114,120,95,106,117,110,107,34,58,123,34,116,121,
271
        112,101,34,58,34,99,111,117,110,116,101,114,34,44,34,99,116,121,112,
272
        101,34,58,34,117,105,110,116,54,52,95,116,34,44,34,108,101,118,101,108,
273
        34,58,34,105,110,102,111,34,44,34,111,110,101,108,105,110,101,114,34,
274
        58,34,67,111,110,110,101,99,116,105,111,110,32,99,108,111,115,101,100,
275
        32,102,111,114,32,114,101,99,101,105,118,101,100,32,106,117,110,107,
276
        32,100,97,116,97,34,44,34,102,111,114,109,97,116,34,58,34,105,110,116,
277
        101,103,101,114,34,44,34,105,110,100,101,120,34,58,49,53,50,44,34,110,
278
        97,109,101,34,58,34,114,120,95,106,117,110,107,34,44,34,100,111,99,115,
279
        34,58,34,34,125,44,34,114,120,95,111,118,101,114,102,108,111,119,34,
280
        58,123,34,116,121,112,101,34,58,34,99,111,117,110,116,101,114,34,44,
281
        34,99,116,121,112,101,34,58,34,117,105,110,116,54,52,95,116,34,44,34,
282
        108,101,118,101,108,34,58,34,105,110,102,111,34,44,34,111,110,101,108,
283
        105,110,101,114,34,58,34,67,111,110,110,101,99,116,105,111,110,32,99,
284
        108,111,115,101,100,32,102,111,114,32,114,101,99,101,105,118,101,32,
285
        98,117,102,102,101,114,32,111,118,101,114,102,108,111,119,34,44,34,102,
286
        111,114,109,97,116,34,58,34,105,110,116,101,103,101,114,34,44,34,105,
287
        110,100,101,120,34,58,49,54,48,44,34,110,97,109,101,34,58,34,114,120,
288
        95,111,118,101,114,102,108,111,119,34,44,34,100,111,99,115,34,58,34,
289
        34,125,44,34,114,120,95,116,105,109,101,111,117,116,34,58,123,34,116,
290
        121,112,101,34,58,34,99,111,117,110,116,101,114,34,44,34,99,116,121,
291
        112,101,34,58,34,117,105,110,116,54,52,95,116,34,44,34,108,101,118,101,
292
        108,34,58,34,105,110,102,111,34,44,34,111,110,101,108,105,110,101,114,
293
        34,58,34,67,111,110,110,101,99,116,105,111,110,32,99,108,111,115,101,
294
        100,32,102,111,114,32,114,101,99,101,105,118,101,32,116,105,109,101,
295
        111,117,116,34,44,34,102,111,114,109,97,116,34,58,34,105,110,116,101,
296
        103,101,114,34,44,34,105,110,100,101,120,34,58,49,54,56,44,34,110,97,
297
        109,101,34,58,34,114,120,95,116,105,109,101,111,117,116,34,44,34,100,
298
        111,99,115,34,58,34,34,125,44,34,116,120,95,112,114,111,120,121,34,58,
299
        123,34,116,121,112,101,34,58,34,99,111,117,110,116,101,114,34,44,34,
300
        99,116,121,112,101,34,58,34,117,105,110,116,54,52,95,116,34,44,34,108,
301
        101,118,101,108,34,58,34,105,110,102,111,34,44,34,111,110,101,108,105,
302
        110,101,114,34,58,34,67,111,110,110,101,99,116,105,111,110,32,99,108,
303
        111,115,101,100,32,102,111,114,32,112,114,111,120,121,32,116,114,97,
304
        110,115,97,99,116,105,111,110,34,44,34,102,111,114,109,97,116,34,58,
305
        34,105,110,116,101,103,101,114,34,44,34,105,110,100,101,120,34,58,49,
306
        55,54,44,34,110,97,109,101,34,58,34,116,120,95,112,114,111,120,121,34,
307
        44,34,100,111,99,115,34,58,34,34,125,44,34,116,120,95,112,105,112,101,
308
        34,58,123,34,116,121,112,101,34,58,34,99,111,117,110,116,101,114,34,
309
        44,34,99,116,121,112,101,34,58,34,117,105,110,116,54,52,95,116,34,44,
310
        34,108,101,118,101,108,34,58,34,105,110,102,111,34,44,34,111,110,101,
311
        108,105,110,101,114,34,58,34,67,111,110,110,101,99,116,105,111,110,32,
312
        99,108,111,115,101,100,32,102,111,114,32,112,105,112,101,100,32,116,
313
        114,97,110,115,97,99,116,105,111,110,34,44,34,102,111,114,109,97,116,
314
        34,58,34,105,110,116,101,103,101,114,34,44,34,105,110,100,101,120,34,
315
        58,49,56,52,44,34,110,97,109,101,34,58,34,116,120,95,112,105,112,101,
316
        34,44,34,100,111,99,115,34,58,34,34,125,44,34,116,120,95,101,114,114,
317
        111,114,34,58,123,34,116,121,112,101,34,58,34,99,111,117,110,116,101,
318
        114,34,44,34,99,116,121,112,101,34,58,34,117,105,110,116,54,52,95,116,
319
        34,44,34,108,101,118,101,108,34,58,34,105,110,102,111,34,44,34,111,110,
320
        101,108,105,110,101,114,34,58,34,67,111,110,110,101,99,116,105,111,110,
321
        32,99,108,111,115,101,100,32,102,111,114,32,101,114,114,111,114,32,116,
322
        114,97,110,115,97,99,116,105,111,110,34,44,34,102,111,114,109,97,116,
323
        34,58,34,105,110,116,101,103,101,114,34,44,34,105,110,100,101,120,34,
324
        58,49,57,50,44,34,110,97,109,101,34,58,34,116,120,95,101,114,114,111,
325
        114,34,44,34,100,111,99,115,34,58,34,34,125,44,34,116,120,95,101,111,
326
        102,34,58,123,34,116,121,112,101,34,58,34,99,111,117,110,116,101,114,
327
        34,44,34,99,116,121,112,101,34,58,34,117,105,110,116,54,52,95,116,34,
328
        44,34,108,101,118,101,108,34,58,34,105,110,102,111,34,44,34,111,110,
329
        101,108,105,110,101,114,34,58,34,67,111,110,110,101,99,116,105,111,110,
330
        32,99,108,111,115,101,100,32,102,111,114,32,69,79,70,32,116,114,97,110,
331
        115,109,105,115,115,105,111,110,34,44,34,102,111,114,109,97,116,34,58,
332
        34,105,110,116,101,103,101,114,34,44,34,105,110,100,101,120,34,58,50,
333
        48,48,44,34,110,97,109,101,34,58,34,116,120,95,101,111,102,34,44,34,
334
        100,111,99,115,34,58,34,34,125,44,34,114,101,115,112,95,99,108,111,115,
335
        101,34,58,123,34,116,121,112,101,34,58,34,99,111,117,110,116,101,114,
336
        34,44,34,99,116,121,112,101,34,58,34,117,105,110,116,54,52,95,116,34,
337
        44,34,108,101,118,101,108,34,58,34,105,110,102,111,34,44,34,111,110,
338
        101,108,105,110,101,114,34,58,34,67,111,110,110,101,99,116,105,111,110,
339
        32,99,108,111,115,101,100,32,102,111,114,32,98,97,99,107,101,110,100,
340
        47,86,67,76,32,114,101,113,117,101,115,116,101,100,32,99,108,111,115,
341
        101,34,44,34,102,111,114,109,97,116,34,58,34,105,110,116,101,103,101,
342
        114,34,44,34,105,110,100,101,120,34,58,50,48,56,44,34,110,97,109,101,
343
        34,58,34,114,101,115,112,95,99,108,111,115,101,34,44,34,100,111,99,115,
344
        34,58,34,34,125,44,34,111,118,101,114,108,111,97,100,34,58,123,34,116,
345
        121,112,101,34,58,34,99,111,117,110,116,101,114,34,44,34,99,116,121,
346
        112,101,34,58,34,117,105,110,116,54,52,95,116,34,44,34,108,101,118,101,
347
        108,34,58,34,105,110,102,111,34,44,34,111,110,101,108,105,110,101,114,
348
        34,58,34,67,111,110,110,101,99,116,105,111,110,32,99,108,111,115,101,
349
        100,32,102,111,114,32,111,117,116,32,111,102,32,115,111,109,101,32,114,
350
        101,115,111,117,114,99,101,34,44,34,102,111,114,109,97,116,34,58,34,
351
        105,110,116,101,103,101,114,34,44,34,105,110,100,101,120,34,58,50,49,
352
        54,44,34,110,97,109,101,34,58,34,111,118,101,114,108,111,97,100,34,44,
353
        34,100,111,99,115,34,58,34,46,46,92,110,92,116,61,61,61,32,65,110,121,
354
        116,104,105,110,103,32,98,101,108,111,119,32,105,115,32,97,99,116,117,
355
        97,108,108,121,32,112,101,114,32,86,67,80,32,101,110,116,114,121,44,
356
        32,98,117,116,32,99,111,108,108,101,99,116,101,100,32,112,101,114,92,
357
        110,92,116,61,61,61,32,98,97,99,107,101,110,100,32,102,111,114,32,115,
358
        105,109,112,108,105,99,105,116,121,34,125,44,34,102,97,105,108,34,58,
359
        123,34,116,121,112,101,34,58,34,99,111,117,110,116,101,114,34,44,34,
360
        99,116,121,112,101,34,58,34,117,105,110,116,54,52,95,116,34,44,34,108,
361
        101,118,101,108,34,58,34,105,110,102,111,34,44,34,111,110,101,108,105,
362
        110,101,114,34,58,34,67,111,110,110,101,99,116,105,111,110,115,32,102,
363
        97,105,108,101,100,34,44,34,102,111,114,109,97,116,34,58,34,105,110,
364
        116,101,103,101,114,34,44,34,105,110,100,101,120,34,58,50,50,52,44,34,
365
        110,97,109,101,34,58,34,102,97,105,108,34,44,34,100,111,99,115,34,58,
366
        34,92,116,67,111,117,110,116,101,114,32,111,102,32,102,97,105,108,101,
367
        100,32,111,112,101,110,115,46,32,68,101,116,97,105,108,101,100,32,114,
368
        101,97,115,111,110,115,32,97,114,101,32,103,105,118,101,110,32,105,110,
369
        32,116,104,101,92,110,92,116,102,97,105,108,95,42,32,99,111,117,110,
370
        116,101,114,115,32,40,68,73,65,71,32,108,101,118,101,108,41,32,97,110,
371
        100,32,105,110,32,116,104,101,32,108,111,103,32,117,110,100,101,114,
372
        32,116,104,101,32,70,101,116,99,104,69,114,114,111,114,32,116,97,103,
373
        46,92,110,92,110,92,116,84,104,105,115,32,99,111,117,110,116,101,114,
374
        32,105,115,32,116,104,101,32,115,117,109,32,111,102,32,97,108,108,32,
375
        100,101,116,97,105,108,101,100,32,102,97,105,108,95,42,32,99,111,117,
376
        110,116,101,114,115,46,92,110,92,110,92,116,65,108,108,32,102,97,105,
377
        108,95,42,32,99,111,117,110,116,101,114,115,32,109,97,121,32,98,101,
378
        32,115,108,105,103,104,116,108,121,32,105,110,97,99,99,117,114,97,116,
379
        101,32,102,111,114,32,101,102,102,105,99,105,101,110,99,121,46,34,125,
380
        44,34,102,97,105,108,95,101,97,99,99,101,115,34,58,123,34,116,121,112,
381
        101,34,58,34,99,111,117,110,116,101,114,34,44,34,99,116,121,112,101,
382
        34,58,34,117,105,110,116,54,52,95,116,34,44,34,108,101,118,101,108,34,
383
        58,34,100,105,97,103,34,44,34,111,110,101,108,105,110,101,114,34,58,
384
        34,67,111,110,110,101,99,116,105,111,110,115,32,102,97,105,108,101,100,
385
        32,119,105,116,104,32,69,65,67,67,69,83,32,111,114,32,69,80,69,82,77,
386
        34,44,34,102,111,114,109,97,116,34,58,34,105,110,116,101,103,101,114,
387
        34,44,34,105,110,100,101,120,34,58,50,51,50,44,34,110,97,109,101,34,
388
        58,34,102,97,105,108,95,101,97,99,99,101,115,34,44,34,100,111,99,115,
389
        34,58,34,34,125,44,34,102,97,105,108,95,101,97,100,100,114,110,111,116,
390
        97,118,97,105,108,34,58,123,34,116,121,112,101,34,58,34,99,111,117,110,
391
        116,101,114,34,44,34,99,116,121,112,101,34,58,34,117,105,110,116,54,
392
        52,95,116,34,44,34,108,101,118,101,108,34,58,34,100,105,97,103,34,44,
393
        34,111,110,101,108,105,110,101,114,34,58,34,67,111,110,110,101,99,116,
394
        105,111,110,115,32,102,97,105,108,101,100,32,119,105,116,104,32,69,65,
395
        68,68,82,78,79,84,65,86,65,73,76,34,44,34,102,111,114,109,97,116,34,
396
        58,34,105,110,116,101,103,101,114,34,44,34,105,110,100,101,120,34,58,
397
        50,52,48,44,34,110,97,109,101,34,58,34,102,97,105,108,95,101,97,100,
398
        100,114,110,111,116,97,118,97,105,108,34,44,34,100,111,99,115,34,58,
399
        34,34,125,44,34,102,97,105,108,95,101,99,111,110,110,114,101,102,117,
400
        115,101,100,34,58,123,34,116,121,112,101,34,58,34,99,111,117,110,116,
401
        101,114,34,44,34,99,116,121,112,101,34,58,34,117,105,110,116,54,52,95,
402
        116,34,44,34,108,101,118,101,108,34,58,34,100,105,97,103,34,44,34,111,
403
        110,101,108,105,110,101,114,34,58,34,67,111,110,110,101,99,116,105,111,
404
        110,115,32,102,97,105,108,101,100,32,119,105,116,104,32,69,67,79,78,
405
        78,82,69,70,85,83,69,68,34,44,34,102,111,114,109,97,116,34,58,34,105,
406
        110,116,101,103,101,114,34,44,34,105,110,100,101,120,34,58,50,52,56,
407
        44,34,110,97,109,101,34,58,34,102,97,105,108,95,101,99,111,110,110,114,
408
        101,102,117,115,101,100,34,44,34,100,111,99,115,34,58,34,34,125,44,34,
409
        102,97,105,108,95,101,110,101,116,117,110,114,101,97,99,104,34,58,123,
410
        34,116,121,112,101,34,58,34,99,111,117,110,116,101,114,34,44,34,99,116,
411
        121,112,101,34,58,34,117,105,110,116,54,52,95,116,34,44,34,108,101,118,
412
        101,108,34,58,34,100,105,97,103,34,44,34,111,110,101,108,105,110,101,
413
        114,34,58,34,67,111,110,110,101,99,116,105,111,110,115,32,102,97,105,
414
        108,101,100,32,119,105,116,104,32,69,78,69,84,85,78,82,69,65,67,72,34,
415
        44,34,102,111,114,109,97,116,34,58,34,105,110,116,101,103,101,114,34,
416
        44,34,105,110,100,101,120,34,58,50,53,54,44,34,110,97,109,101,34,58,
417
        34,102,97,105,108,95,101,110,101,116,117,110,114,101,97,99,104,34,44,
418
        34,100,111,99,115,34,58,34,34,125,44,34,102,97,105,108,95,101,116,105,
419
        109,101,100,111,117,116,34,58,123,34,116,121,112,101,34,58,34,99,111,
420
        117,110,116,101,114,34,44,34,99,116,121,112,101,34,58,34,117,105,110,
421
        116,54,52,95,116,34,44,34,108,101,118,101,108,34,58,34,100,105,97,103,
422
        34,44,34,111,110,101,108,105,110,101,114,34,58,34,67,111,110,110,101,
423
        99,116,105,111,110,115,32,102,97,105,108,101,100,32,69,84,73,77,69,68,
424
        79,85,84,34,44,34,102,111,114,109,97,116,34,58,34,105,110,116,101,103,
425
        101,114,34,44,34,105,110,100,101,120,34,58,50,54,52,44,34,110,97,109,
426
        101,34,58,34,102,97,105,108,95,101,116,105,109,101,100,111,117,116,34,
427
        44,34,100,111,99,115,34,58,34,34,125,44,34,102,97,105,108,95,111,116,
428
        104,101,114,34,58,123,34,116,121,112,101,34,58,34,99,111,117,110,116,
429
        101,114,34,44,34,99,116,121,112,101,34,58,34,117,105,110,116,54,52,95,
430
        116,34,44,34,108,101,118,101,108,34,58,34,100,105,97,103,34,44,34,111,
431
        110,101,108,105,110,101,114,34,58,34,67,111,110,110,101,99,116,105,111,
432
        110,115,32,102,97,105,108,101,100,32,102,111,114,32,111,116,104,101,
433
        114,32,114,101,97,115,111,110,34,44,34,102,111,114,109,97,116,34,58,
434
        34,105,110,116,101,103,101,114,34,44,34,105,110,100,101,120,34,58,50,
435
        55,50,44,34,110,97,109,101,34,58,34,102,97,105,108,95,111,116,104,101,
436
        114,34,44,34,100,111,99,115,34,58,34,34,125,44,34,104,101,108,100,100,
437
        111,119,110,34,58,123,34,116,121,112,101,34,58,34,99,111,117,110,116,
438
        101,114,34,44,34,99,116,121,112,101,34,58,34,117,105,110,116,54,52,95,
439
        116,34,44,34,108,101,118,101,108,34,58,34,100,105,97,103,34,44,34,111,
440
        110,101,108,105,110,101,114,34,58,34,67,111,110,110,101,99,116,105,111,
441
        110,32,111,112,101,110,115,32,110,111,116,32,97,116,116,101,109,112,
442
        116,101,100,34,44,34,102,111,114,109,97,116,34,58,34,105,110,116,101,
443
        103,101,114,34,44,34,105,110,100,101,120,34,58,50,56,48,44,34,110,97,
444
        109,101,34,58,34,104,101,108,100,100,111,119,110,34,44,34,100,111,99,
445
        115,34,58,34,92,116,67,111,110,110,101,99,116,105,111,110,115,32,110,
446
        111,116,32,97,116,116,101,109,112,116,101,100,32,100,117,114,105,110,
447
        103,32,116,104,101,32,98,97,99,107,101,110,100,95,108,111,99,97,108,
448
        95,101,114,114,111,114,95,104,111,108,100,100,111,119,110,92,110,92,
449
        116,111,114,32,98,97,99,107,101,110,100,95,114,101,109,111,116,101,95,
450
        101,114,114,111,114,95,104,111,108,100,100,111,119,110,32,105,110,116,
451
        101,114,118,97,108,32,97,102,116,101,114,32,97,32,102,117,110,100,97,
452
        109,101,110,116,97,108,92,110,92,116,99,111,110,110,101,99,116,105,111,
453
        110,32,105,115,115,117,101,46,34,125,125,125,0
454
};
455
456
// {
457
//   "version": "1",
458
//   "name": "vbe",
459
//   "oneliner": "Backend Counters",
460
//   "order": 60,
461
//   "docs": "",
462
//   "elements": 36,
463
//   "elem": {
464
//     "happy": {
465
//       "type": "bitmap",
466
//       "ctype": "uint64_t",
467
//       "level": "info",
468
//       "oneliner": "Happy health probes",
469
//       "format": "bitmap",
470
//       "index": 0,
471
//       "name": "happy",
472
//       "docs": "\tRepresents the last probe results as a bitmap. Happy[...]
473
//     },
474
//     "bereq_hdrbytes": {
475
//       "type": "counter",
476
//       "ctype": "uint64_t",
477
//       "level": "info",
478
//       "oneliner": "Request header bytes",
479
//       "format": "bytes",
480
//       "index": 8,
481
//       "name": "bereq_hdrbytes",
482
//       "docs": "\tTotal backend request header bytes sent"
483
//     },
484
//     "bereq_bodybytes": {
485
//       "type": "counter",
486
//       "ctype": "uint64_t",
487
//       "level": "info",
488
//       "oneliner": "Request body bytes",
489
//       "format": "bytes",
490
//       "index": 16,
491
//       "name": "bereq_bodybytes",
492
//       "docs": "\tTotal backend request body bytes sent"
493
//     },
494
//     "beresp_hdrbytes": {
495
//       "type": "counter",
496
//       "ctype": "uint64_t",
497
//       "level": "info",
498
//       "oneliner": "Response header bytes",
499
//       "format": "bytes",
500
//       "index": 24,
501
//       "name": "beresp_hdrbytes",
502
//       "docs": "\tTotal backend response header bytes received"
503
//     },
504
//     "beresp_bodybytes": {
505
//       "type": "counter",
506
//       "ctype": "uint64_t",
507
//       "level": "info",
508
//       "oneliner": "Response body bytes",
509
//       "format": "bytes",
510
//       "index": 32,
511
//       "name": "beresp_bodybytes",
512
//       "docs": "\tTotal backend response body bytes received"
513
//     },
514
//     "pipe_hdrbytes": {
515
//       "type": "counter",
516
//       "ctype": "uint64_t",
517
//       "level": "info",
518
//       "oneliner": "Pipe request header bytes",
519
//       "format": "bytes",
520
//       "index": 40,
521
//       "name": "pipe_hdrbytes",
522
//       "docs": "\tTotal request bytes sent for piped sessions"
523
//     },
524
//     "pipe_out": {
525
//       "type": "counter",
526
//       "ctype": "uint64_t",
527
//       "level": "info",
528
//       "oneliner": "Piped bytes to backend",
529
//       "format": "bytes",
530
//       "index": 48,
531
//       "name": "pipe_out",
532
//       "docs": "\tTotal number of bytes forwarded to backend in pipe s[...]
533
//     },
534
//     "pipe_in": {
535
//       "type": "counter",
536
//       "ctype": "uint64_t",
537
//       "level": "info",
538
//       "oneliner": "Piped bytes from backend",
539
//       "format": "bytes",
540
//       "index": 56,
541
//       "name": "pipe_in",
542
//       "docs": "\tTotal number of bytes forwarded from backend in pipe[...]
543
//     },
544
//     "conn": {
545
//       "type": "gauge",
546
//       "ctype": "uint64_t",
547
//       "level": "info",
548
//       "oneliner": "Concurrent connections used",
549
//       "format": "integer",
550
//       "index": 64,
551
//       "name": "conn",
552
//       "docs": "\tThe number of currently used connections to the back[...]
553
//     },
554
//     "req": {
555
//       "type": "counter",
556
//       "ctype": "uint64_t",
557
//       "level": "info",
558
//       "oneliner": "Backend requests sent",
559
//       "format": "integer",
560
//       "index": 72,
561
//       "name": "req",
562
//       "docs": ""
563
//     },
564
//     "unhealthy": {
565
//       "type": "counter",
566
//       "ctype": "uint64_t",
567
//       "level": "info",
568
//       "oneliner": "Fetches not attempted due to backend being unhealt[...]
569
//       "format": "integer",
570
//       "index": 80,
571
//       "name": "unhealthy",
572
//       "docs": ""
573
//     },
574
//     "busy": {
575
//       "type": "counter",
576
//       "ctype": "uint64_t",
577
//       "level": "info",
578
//       "oneliner": "Fetches not attempted due to backend being busy",
579
//       "format": "integer",
580
//       "index": 88,
581
//       "name": "busy",
582
//       "docs": "\tNumber of times the max_connections limit was reache[...]
583
//     },
584
//     "closed": {
585
//       "type": "counter",
586
//       "ctype": "uint64_t",
587
//       "level": "info",
588
//       "oneliner": "Connection closed",
589
//       "format": "integer",
590
//       "index": 96,
591
//       "name": "closed",
592
//       "docs": ""
593
//     },
594
//     "closed_err": {
595
//       "type": "counter",
596
//       "ctype": "uint64_t",
597
//       "level": "info",
598
//       "oneliner": "Connection closed with error",
599
//       "format": "integer",
600
//       "index": 104,
601
//       "name": "closed_err",
602
//       "docs": ""
603
//     },
604
//     "rem_close": {
605
//       "type": "counter",
606
//       "ctype": "uint64_t",
607
//       "level": "info",
608
//       "oneliner": "Connection closed by backend",
609
//       "format": "integer",
610
//       "index": 112,
611
//       "name": "rem_close",
612
//       "docs": ""
613
//     },
614
//     "req_close": {
615
//       "type": "counter",
616
//       "ctype": "uint64_t",
617
//       "level": "info",
618
//       "oneliner": "Connection closure requested by backend",
619
//       "format": "integer",
620
//       "index": 120,
621
//       "name": "req_close",
622
//       "docs": ""
623
//     },
624
//     "req_http10": {
625
//       "type": "counter",
626
//       "ctype": "uint64_t",
627
//       "level": "info",
628
//       "oneliner": "Connection closed for proto < HTTP/1.1",
629
//       "format": "integer",
630
//       "index": 128,
631
//       "name": "req_http10",
632
//       "docs": ""
633
//     },
634
//     "rx_bad": {
635
//       "type": "counter",
636
//       "ctype": "uint64_t",
637
//       "level": "info",
638
//       "oneliner": "Connection closed for received bad response",
639
//       "format": "integer",
640
//       "index": 136,
641
//       "name": "rx_bad",
642
//       "docs": ""
643
//     },
644
//     "rx_body": {
645
//       "type": "counter",
646
//       "ctype": "uint64_t",
647
//       "level": "info",
648
//       "oneliner": "Connection closed for failed receiving request bod[...]
649
//       "format": "integer",
650
//       "index": 144,
651
//       "name": "rx_body",
652
//       "docs": ""
653
//     },
654
//     "rx_junk": {
655
//       "type": "counter",
656
//       "ctype": "uint64_t",
657
//       "level": "info",
658
//       "oneliner": "Connection closed for received junk data",
659
//       "format": "integer",
660
//       "index": 152,
661
//       "name": "rx_junk",
662
//       "docs": ""
663
//     },
664
//     "rx_overflow": {
665
//       "type": "counter",
666
//       "ctype": "uint64_t",
667
//       "level": "info",
668
//       "oneliner": "Connection closed for receive buffer overflow",
669
//       "format": "integer",
670
//       "index": 160,
671
//       "name": "rx_overflow",
672
//       "docs": ""
673
//     },
674
//     "rx_timeout": {
675
//       "type": "counter",
676
//       "ctype": "uint64_t",
677
//       "level": "info",
678
//       "oneliner": "Connection closed for receive timeout",
679
//       "format": "integer",
680
//       "index": 168,
681
//       "name": "rx_timeout",
682
//       "docs": ""
683
//     },
684
//     "tx_proxy": {
685
//       "type": "counter",
686
//       "ctype": "uint64_t",
687
//       "level": "info",
688
//       "oneliner": "Connection closed for proxy transaction",
689
//       "format": "integer",
690
//       "index": 176,
691
//       "name": "tx_proxy",
692
//       "docs": ""
693
//     },
694
//     "tx_pipe": {
695
//       "type": "counter",
696
//       "ctype": "uint64_t",
697
//       "level": "info",
698
//       "oneliner": "Connection closed for piped transaction",
699
//       "format": "integer",
700
//       "index": 184,
701
//       "name": "tx_pipe",
702
//       "docs": ""
703
//     },
704
//     "tx_error": {
705
//       "type": "counter",
706
//       "ctype": "uint64_t",
707
//       "level": "info",
708
//       "oneliner": "Connection closed for error transaction",
709
//       "format": "integer",
710
//       "index": 192,
711
//       "name": "tx_error",
712
//       "docs": ""
713
//     },
714
//     "tx_eof": {
715
//       "type": "counter",
716
//       "ctype": "uint64_t",
717
//       "level": "info",
718
//       "oneliner": "Connection closed for EOF transmission",
719
//       "format": "integer",
720
//       "index": 200,
721
//       "name": "tx_eof",
722
//       "docs": ""
723
//     },
724
//     "resp_close": {
725
//       "type": "counter",
726
//       "ctype": "uint64_t",
727
//       "level": "info",
728
//       "oneliner": "Connection closed for backend/VCL requested close"[...]
729
//       "format": "integer",
730
//       "index": 208,
731
//       "name": "resp_close",
732
//       "docs": ""
733
//     },
734
//     "overload": {
735
//       "type": "counter",
736
//       "ctype": "uint64_t",
737
//       "level": "info",
738
//       "oneliner": "Connection closed for out of some resource",
739
//       "format": "integer",
740
//       "index": 216,
741
//       "name": "overload",
742
//       "docs": "..\n\t=== Anything below is actually per VCP entry, bu[...]
743
//     },
744
//     "fail": {
745
//       "type": "counter",
746
//       "ctype": "uint64_t",
747
//       "level": "info",
748
//       "oneliner": "Connections failed",
749
//       "format": "integer",
750
//       "index": 224,
751
//       "name": "fail",
752
//       "docs": "\tCounter of failed opens. Detailed reasons are given [...]
753
//     },
754
//     "fail_eacces": {
755
//       "type": "counter",
756
//       "ctype": "uint64_t",
757
//       "level": "diag",
758
//       "oneliner": "Connections failed with EACCES or EPERM",
759
//       "format": "integer",
760
//       "index": 232,
761
//       "name": "fail_eacces",
762
//       "docs": ""
763
//     },
764
//     "fail_eaddrnotavail": {
765
//       "type": "counter",
766
//       "ctype": "uint64_t",
767
//       "level": "diag",
768
//       "oneliner": "Connections failed with EADDRNOTAVAIL",
769
//       "format": "integer",
770
//       "index": 240,
771
//       "name": "fail_eaddrnotavail",
772
//       "docs": ""
773
//     },
774
//     "fail_econnrefused": {
775
//       "type": "counter",
776
//       "ctype": "uint64_t",
777
//       "level": "diag",
778
//       "oneliner": "Connections failed with ECONNREFUSED",
779
//       "format": "integer",
780
//       "index": 248,
781
//       "name": "fail_econnrefused",
782
//       "docs": ""
783
//     },
784
//     "fail_enetunreach": {
785
//       "type": "counter",
786
//       "ctype": "uint64_t",
787
//       "level": "diag",
788
//       "oneliner": "Connections failed with ENETUNREACH",
789
//       "format": "integer",
790
//       "index": 256,
791
//       "name": "fail_enetunreach",
792
//       "docs": ""
793
//     },
794
//     "fail_etimedout": {
795
//       "type": "counter",
796
//       "ctype": "uint64_t",
797
//       "level": "diag",
798
//       "oneliner": "Connections failed ETIMEDOUT",
799
//       "format": "integer",
800
//       "index": 264,
801
//       "name": "fail_etimedout",
802
//       "docs": ""
803
//     },
804
//     "fail_other": {
805
//       "type": "counter",
806
//       "ctype": "uint64_t",
807
//       "level": "diag",
808
//       "oneliner": "Connections failed for other reason",
809
//       "format": "integer",
810
//       "index": 272,
811
//       "name": "fail_other",
812
//       "docs": ""
813
//     },
814
//     "helddown": {
815
//       "type": "counter",
816
//       "ctype": "uint64_t",
817
//       "level": "diag",
818
//       "oneliner": "Connection opens not attempted",
819
//       "format": "integer",
820
//       "index": 280,
821
//       "name": "helddown",
822
//       "docs": "\tConnections not attempted during the backend_local_e[...]
823
//     }
824
//   }
825
// }
826
827
828
struct VSC_vbe*
829
VSC_vbe_New(struct vsmw_cluster *vc,
830
    struct vsc_seg **sg, const char *fmt, ...)
831 1398
{
832 1398
        va_list ap;
833 1398
        struct VSC_vbe *retval;
834
835 1398
        va_start(ap, fmt);
836 1398
        retval = VRT_VSC_Allocv(vc, sg, vsc_vbe_name, VSC_vbe_size,
837 1398
            vsc_vbe_json, sizeof vsc_vbe_json, fmt, ap);
838 1398
        va_end(ap);
839 1398
        return(retval);
840 1398
}
841
842
void
843
VSC_vbe_Destroy(struct vsc_seg **sg)
844 79
{
845 79
        struct vsc_seg *p;
846
847 79
        AN(sg);
848 79
        p = *sg;
849
        *sg = NULL;
850 79
        VRT_VSC_Destroy(vsc_vbe_name, p);
851 79
}