blob: 5c202dda274201aa51edfd1fbd1c9adf77e0d461 [file] [log] [blame]
Damjan Marion22311502016-10-28 20:30:15 +02001/*
2 * Copyright (c) 2016 Cisco and/or its affiliates.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at:
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16#ifndef included_features_h
17#define included_features_h
18
19#include <vnet/vnet.h>
Damjan Marion96b41f72016-11-10 18:01:42 +010020#include <vnet/api_errno.h>
Damjan Marion35af9e52017-03-06 12:02:50 +010021#include <vnet/devices/devices.h>
Damjan Marion22311502016-10-28 20:30:15 +020022
23/** feature registration object */
24typedef struct _vnet_feature_arc_registration
25{
26 /** next registration in list of all registrations*/
27 struct _vnet_feature_arc_registration *next;
28 /** Feature Arc name */
29 char *arc_name;
30 /** Start nodes */
31 char **start_nodes;
32 int n_start_nodes;
33 /* Feature arc index, assigned by init function */
Damjan Marion87cd1192016-11-04 11:00:27 +010034 u8 feature_arc_index;
Damjan Marion8b3191e2016-11-09 19:54:20 +010035 u8 *arc_index_ptr;
Damjan Marion22311502016-10-28 20:30:15 +020036} vnet_feature_arc_registration_t;
37
Pavel Kotucek7490a752016-11-15 09:19:11 +010038/* Enable feature callback. */
39typedef clib_error_t *(vnet_feature_enable_disable_function_t)
40 (u32 sw_if_index, int enable_disable);
41
Damjan Marion22311502016-10-28 20:30:15 +020042/** feature registration object */
43typedef struct _vnet_feature_registration
44{
45 /** next registration in list of all registrations*/
Damjan Marion13adc3d2018-04-09 20:59:53 +020046 struct _vnet_feature_registration *next, *next_in_arc;
Damjan Marion22311502016-10-28 20:30:15 +020047 /** Feature arc name */
48 char *arc_name;
49 /** Graph node name */
50 char *node_name;
51 /** Pointer to this feature index, filled in by vnet_feature_arc_init */
Damjan Marion8b3191e2016-11-09 19:54:20 +010052 u32 *feature_index_ptr;
53 u32 feature_index;
Damjan Marion22311502016-10-28 20:30:15 +020054 /** Constraints of the form "this feature runs before X" */
55 char **runs_before;
56 /** Constraints of the form "this feature runs after Y" */
57 char **runs_after;
Pavel Kotucek7490a752016-11-15 09:19:11 +010058
59 /** Function to enable/disable feature **/
60 vnet_feature_enable_disable_function_t *enable_disable_cb;
Damjan Marion22311502016-10-28 20:30:15 +020061} vnet_feature_registration_t;
62
Dave Barach2dd192b2018-11-19 09:31:48 -050063/** constraint registration object */
64typedef struct _vnet_feature_constraint_registration
65{
66 /** next constraint set in list of all registrations*/
67 struct _vnet_feature_constraint_registration *next, *next_in_arc;
68 /** Feature arc name */
69 char *arc_name;
70
71 /** Feature arc index, assigned by init function */
72 u8 feature_arc_index;
73
74 /** Node names, to run in the specified order */
75 char **node_names;
76} vnet_feature_constraint_registration_t;
77
Damjan Marion22311502016-10-28 20:30:15 +020078typedef struct vnet_feature_config_main_t_
79{
80 vnet_config_main_t config_main;
81 u32 *config_index_by_sw_if_index;
82} vnet_feature_config_main_t;
83
84typedef struct
85{
86 /** feature arc configuration list */
87 vnet_feature_arc_registration_t *next_arc;
88 uword **arc_index_by_name;
89
90 /** feature path configuration lists */
91 vnet_feature_registration_t *next_feature;
92 vnet_feature_registration_t **next_feature_by_arc;
Dave Barach2dd192b2018-11-19 09:31:48 -050093 vnet_feature_constraint_registration_t *next_constraint;
94 vnet_feature_constraint_registration_t **next_constraint_by_arc;
Damjan Marion22311502016-10-28 20:30:15 +020095 uword **next_feature_by_name;
96
97 /** feature config main objects */
98 vnet_feature_config_main_t *feature_config_mains;
99
100 /** Save partial order results for show command */
101 char ***feature_nodes;
102
103 /** bitmap of interfaces which have driver rx features configured */
104 uword **sw_if_index_has_features;
105
106 /** feature reference counts by interface */
107 i16 **feature_count_by_sw_if_index;
108
Damjan Marion87cd1192016-11-04 11:00:27 +0100109 /** Feature arc index for device-input */
110 u8 device_input_feature_arc_index;
111
Damjan Marion22311502016-10-28 20:30:15 +0200112 /** convenience */
113 vlib_main_t *vlib_main;
114 vnet_main_t *vnet_main;
115} vnet_feature_main_t;
116
117extern vnet_feature_main_t feature_main;
118
Damjan Marion6e363512018-08-10 22:39:11 +0200119#ifndef CLIB_MARCH_VARIANT
Damjan Marion22311502016-10-28 20:30:15 +0200120#define VNET_FEATURE_ARC_INIT(x,...) \
121 __VA_ARGS__ vnet_feature_arc_registration_t vnet_feat_arc_##x;\
122static void __vnet_add_feature_arc_registration_##x (void) \
123 __attribute__((__constructor__)) ; \
124static void __vnet_add_feature_arc_registration_##x (void) \
125{ \
126 vnet_feature_main_t * fm = &feature_main; \
127 vnet_feat_arc_##x.next = fm->next_arc; \
128 fm->next_arc = & vnet_feat_arc_##x; \
129} \
Damjan Marion72d2c4f2018-04-05 21:32:29 +0200130static void __vnet_rm_feature_arc_registration_##x (void) \
131 __attribute__((__destructor__)) ; \
132static void __vnet_rm_feature_arc_registration_##x (void) \
133{ \
134 vnet_feature_main_t * fm = &feature_main; \
135 vnet_feature_arc_registration_t *r = &vnet_feat_arc_##x; \
136 VLIB_REMOVE_FROM_LINKED_LIST (fm->next_arc, r, next); \
137} \
Damjan Marion22311502016-10-28 20:30:15 +0200138__VA_ARGS__ vnet_feature_arc_registration_t vnet_feat_arc_##x
139
140#define VNET_FEATURE_INIT(x,...) \
141 __VA_ARGS__ vnet_feature_registration_t vnet_feat_##x; \
142static void __vnet_add_feature_registration_##x (void) \
143 __attribute__((__constructor__)) ; \
144static void __vnet_add_feature_registration_##x (void) \
145{ \
146 vnet_feature_main_t * fm = &feature_main; \
147 vnet_feat_##x.next = fm->next_feature; \
148 fm->next_feature = & vnet_feat_##x; \
149} \
Damjan Marion72d2c4f2018-04-05 21:32:29 +0200150static void __vnet_rm_feature_registration_##x (void) \
151 __attribute__((__destructor__)) ; \
152static void __vnet_rm_feature_registration_##x (void) \
153{ \
154 vnet_feature_main_t * fm = &feature_main; \
155 vnet_feature_registration_t *r = &vnet_feat_##x; \
156 VLIB_REMOVE_FROM_LINKED_LIST (fm->next_feature, r, next); \
157} \
Damjan Marion22311502016-10-28 20:30:15 +0200158__VA_ARGS__ vnet_feature_registration_t vnet_feat_##x
Dave Barach2dd192b2018-11-19 09:31:48 -0500159
160#define VNET_FEATURE_ARC_ORDER(x,...) \
161 __VA_ARGS__ vnet_feature_constraint_registration_t \
162vnet_feature_constraint_##x; \
163static void __vnet_add_constraint_registration_##x (void) \
164 __attribute__((__constructor__)) ; \
165static void __vnet_add_constraint_registration_##x (void) \
166{ \
167 vnet_feature_main_t * fm = &feature_main; \
168 vnet_feature_constraint_##x.next = fm->next_constraint; \
169 fm->next_constraint = & vnet_feature_constraint_##x; \
170} \
171static void __vnet_rm_constraint_registration_##x (void) \
172 __attribute__((__destructor__)) ; \
173static void __vnet_rm_constraint_registration_##x (void) \
174{ \
175 vnet_feature_main_t * fm = &feature_main; \
176 vnet_feature_constraint_registration_t *r = &vnet_feature_constraint_##x; \
177 VLIB_REMOVE_FROM_LINKED_LIST (fm->next_constraint, r, next); \
178} \
179__VA_ARGS__ vnet_feature_constraint_registration_t vnet_feature_constraint_##x
180
Damjan Marion6e363512018-08-10 22:39:11 +0200181#else
182#define VNET_FEATURE_ARC_INIT(x,...) \
183extern vnet_feature_arc_registration_t __clib_unused vnet_feat_arc_##x; \
184static vnet_feature_arc_registration_t __clib_unused __clib_unused_vnet_feat_arc_##x
185#define VNET_FEATURE_INIT(x,...) \
186extern vnet_feature_registration_t __clib_unused vnet_feat_##x; \
187static vnet_feature_registration_t __clib_unused __clib_unused_vnet_feat_##x
Dave Barach2dd192b2018-11-19 09:31:48 -0500188
189#define VNET_FEATURE_ARC_ORDER(x,...) \
190extern vnet_feature_constraint_registration_t \
191__clib_unused vnet_feature_constraint_##x; \
192static vnet_feature_constraint_registration_t __clib_unused \
193__clib_unused_vnet_feature_constraint_##x
194
195
Damjan Marion6e363512018-08-10 22:39:11 +0200196#endif
Damjan Marion22311502016-10-28 20:30:15 +0200197
198void
Damjan Marion87cd1192016-11-04 11:00:27 +0100199vnet_config_update_feature_count (vnet_feature_main_t * fm, u8 arc,
Damjan Marion22311502016-10-28 20:30:15 +0200200 u32 sw_if_index, int is_add);
201
Damjan Marion87cd1192016-11-04 11:00:27 +0100202u32 vnet_get_feature_index (u8 arc, const char *s);
203u8 vnet_get_feature_arc_index (const char *s);
Pavel Kotucek7490a752016-11-15 09:19:11 +0100204vnet_feature_registration_t *vnet_get_feature_reg (const char *arc_name,
205 const char *node_name);
206
Damjan Marion22311502016-10-28 20:30:15 +0200207
Damjan Marion96b41f72016-11-10 18:01:42 +0100208int
Damjan Marion8b3191e2016-11-09 19:54:20 +0100209vnet_feature_enable_disable_with_index (u8 arc_index, u32 feature_index,
210 u32 sw_if_index, int enable_disable,
211 void *feature_config,
212 u32 n_feature_config_bytes);
213
214int
Damjan Marion22311502016-10-28 20:30:15 +0200215vnet_feature_enable_disable (const char *arc_name, const char *node_name,
216 u32 sw_if_index, int enable_disable,
217 void *feature_config,
218 u32 n_feature_config_bytes);
219
Damjan Marion8b3191e2016-11-09 19:54:20 +0100220static inline vnet_feature_config_main_t *
221vnet_get_feature_arc_config_main (u8 arc_index)
222{
223 vnet_feature_main_t *fm = &feature_main;
224
225 if (arc_index == (u8) ~ 0)
226 return 0;
227
228 return &fm->feature_config_mains[arc_index];
229}
Damjan Marion22311502016-10-28 20:30:15 +0200230
Pavel Kotucekf6e3dc42016-11-04 09:58:01 +0100231static_always_inline vnet_feature_config_main_t *
232vnet_feature_get_config_main (u16 arc)
233{
234 vnet_feature_main_t *fm = &feature_main;
235 return &fm->feature_config_mains[arc];
236}
237
Damjan Marion22311502016-10-28 20:30:15 +0200238static_always_inline int
Damjan Marion87cd1192016-11-04 11:00:27 +0100239vnet_have_features (u8 arc, u32 sw_if_index)
Damjan Marion22311502016-10-28 20:30:15 +0200240{
241 vnet_feature_main_t *fm = &feature_main;
242 return clib_bitmap_get (fm->sw_if_index_has_features[arc], sw_if_index);
243}
244
245static_always_inline u32
Damjan Marion87cd1192016-11-04 11:00:27 +0100246vnet_get_feature_config_index (u8 arc, u32 sw_if_index)
Damjan Marion22311502016-10-28 20:30:15 +0200247{
248 vnet_feature_main_t *fm = &feature_main;
249 vnet_feature_config_main_t *cm = &fm->feature_config_mains[arc];
250 return vec_elt (cm->config_index_by_sw_if_index, sw_if_index);
251}
252
Damjan Marion87cd1192016-11-04 11:00:27 +0100253static_always_inline void *
254vnet_feature_arc_start_with_data (u8 arc, u32 sw_if_index, u32 * next,
255 vlib_buffer_t * b, u32 n_data_bytes)
Damjan Marion22311502016-10-28 20:30:15 +0200256{
257 vnet_feature_main_t *fm = &feature_main;
Damjan Marion87cd1192016-11-04 11:00:27 +0100258 vnet_feature_config_main_t *cm;
259 cm = &fm->feature_config_mains[arc];
Damjan Marion22311502016-10-28 20:30:15 +0200260
261 if (PREDICT_FALSE (vnet_have_features (arc, sw_if_index)))
262 {
Damjan Marionaa682a32018-04-26 22:45:40 +0200263 vnet_buffer (b)->feature_arc_index = arc;
Damjan Marion87cd1192016-11-04 11:00:27 +0100264 b->current_config_index =
Damjan Marion22311502016-10-28 20:30:15 +0200265 vec_elt (cm->config_index_by_sw_if_index, sw_if_index);
Damjan Marion87cd1192016-11-04 11:00:27 +0100266 return vnet_get_config_data (&cm->config_main, &b->current_config_index,
267 next, n_data_bytes);
Damjan Marion22311502016-10-28 20:30:15 +0200268 }
Damjan Marion05bb1dd2016-11-08 21:28:22 +0100269 return 0;
Damjan Marion22311502016-10-28 20:30:15 +0200270}
271
272static_always_inline void
Damjan Marion87cd1192016-11-04 11:00:27 +0100273vnet_feature_arc_start (u8 arc, u32 sw_if_index, u32 * next0,
274 vlib_buffer_t * b0)
275{
276 vnet_feature_arc_start_with_data (arc, sw_if_index, next0, b0, 0);
277}
278
279static_always_inline void *
Damjan Marion7d98a122018-07-19 20:42:08 +0200280vnet_feature_next_with_data (u32 * next0, vlib_buffer_t * b0,
281 u32 n_data_bytes)
Damjan Marion87cd1192016-11-04 11:00:27 +0100282{
283 vnet_feature_main_t *fm = &feature_main;
Damjan Marionaa682a32018-04-26 22:45:40 +0200284 u8 arc = vnet_buffer (b0)->feature_arc_index;
Damjan Marion87cd1192016-11-04 11:00:27 +0100285 vnet_feature_config_main_t *cm = &fm->feature_config_mains[arc];
286
287 return vnet_get_config_data (&cm->config_main,
288 &b0->current_config_index, next0,
289 n_data_bytes);
290}
291
292static_always_inline void
Damjan Marion7d98a122018-07-19 20:42:08 +0200293vnet_feature_next (u32 * next0, vlib_buffer_t * b0)
Damjan Marion87cd1192016-11-04 11:00:27 +0100294{
Damjan Marion7d98a122018-07-19 20:42:08 +0200295 vnet_feature_next_with_data (next0, b0, 0);
Damjan Marion87cd1192016-11-04 11:00:27 +0100296}
297
Damjan Mariondc091332018-02-25 22:52:07 +0100298static_always_inline int
299vnet_device_input_have_features (u32 sw_if_index)
300{
301 vnet_feature_main_t *fm = &feature_main;
302 return vnet_have_features (fm->device_input_feature_arc_index, sw_if_index);
303}
304
Damjan Marion87cd1192016-11-04 11:00:27 +0100305static_always_inline void
306vnet_feature_start_device_input_x1 (u32 sw_if_index, u32 * next0,
Damjan Marion35af9e52017-03-06 12:02:50 +0100307 vlib_buffer_t * b0)
Damjan Marion22311502016-10-28 20:30:15 +0200308{
309 vnet_feature_main_t *fm = &feature_main;
310 vnet_feature_config_main_t *cm;
Damjan Marion87cd1192016-11-04 11:00:27 +0100311 u8 feature_arc_index = fm->device_input_feature_arc_index;
312 cm = &fm->feature_config_mains[feature_arc_index];
Damjan Marion22311502016-10-28 20:30:15 +0200313
314 if (PREDICT_FALSE
315 (clib_bitmap_get
Damjan Marion87cd1192016-11-04 11:00:27 +0100316 (fm->sw_if_index_has_features[feature_arc_index], sw_if_index)))
Damjan Marion22311502016-10-28 20:30:15 +0200317 {
318 /*
319 * Save next0 so that the last feature in the chain
320 * can skip ethernet-input if indicated...
321 */
Damjan Marion35af9e52017-03-06 12:02:50 +0100322 u16 adv;
323
Damjan Marion35af9e52017-03-06 12:02:50 +0100324 adv = device_input_next_node_advance[*next0];
Damjan Marion35af9e52017-03-06 12:02:50 +0100325 vlib_buffer_advance (b0, -adv);
Damjan Marion22311502016-10-28 20:30:15 +0200326
Damjan Marionaa682a32018-04-26 22:45:40 +0200327 vnet_buffer (b0)->feature_arc_index = feature_arc_index;
Damjan Marion22311502016-10-28 20:30:15 +0200328 b0->current_config_index =
329 vec_elt (cm->config_index_by_sw_if_index, sw_if_index);
330 vnet_get_config_data (&cm->config_main, &b0->current_config_index,
331 next0, /* # bytes of config data */ 0);
332 }
333}
334
Damjan Marion87cd1192016-11-04 11:00:27 +0100335static_always_inline void
336vnet_feature_start_device_input_x2 (u32 sw_if_index,
337 u32 * next0,
338 u32 * next1,
Damjan Marion35af9e52017-03-06 12:02:50 +0100339 vlib_buffer_t * b0, vlib_buffer_t * b1)
Damjan Marion87cd1192016-11-04 11:00:27 +0100340{
341 vnet_feature_main_t *fm = &feature_main;
342 vnet_feature_config_main_t *cm;
343 u8 feature_arc_index = fm->device_input_feature_arc_index;
344 cm = &fm->feature_config_mains[feature_arc_index];
345
346 if (PREDICT_FALSE
347 (clib_bitmap_get
348 (fm->sw_if_index_has_features[feature_arc_index], sw_if_index)))
349 {
350 /*
351 * Save next0 so that the last feature in the chain
352 * can skip ethernet-input if indicated...
353 */
Damjan Marion35af9e52017-03-06 12:02:50 +0100354 u16 adv;
355
Damjan Marion35af9e52017-03-06 12:02:50 +0100356 adv = device_input_next_node_advance[*next0];
Damjan Marion35af9e52017-03-06 12:02:50 +0100357 vlib_buffer_advance (b0, -adv);
358
Damjan Marion35af9e52017-03-06 12:02:50 +0100359 adv = device_input_next_node_advance[*next1];
Damjan Marion35af9e52017-03-06 12:02:50 +0100360 vlib_buffer_advance (b1, -adv);
Damjan Marion87cd1192016-11-04 11:00:27 +0100361
Damjan Marionaa682a32018-04-26 22:45:40 +0200362 vnet_buffer (b0)->feature_arc_index = feature_arc_index;
363 vnet_buffer (b1)->feature_arc_index = feature_arc_index;
Damjan Marion87cd1192016-11-04 11:00:27 +0100364 b0->current_config_index =
365 vec_elt (cm->config_index_by_sw_if_index, sw_if_index);
366 b1->current_config_index = b0->current_config_index;
367 vnet_get_config_data (&cm->config_main, &b0->current_config_index,
368 next0, /* # bytes of config data */ 0);
369 vnet_get_config_data (&cm->config_main, &b1->current_config_index,
370 next1, /* # bytes of config data */ 0);
371 }
372}
373
Damjan Marion7dc41462016-11-15 19:47:58 +0100374static_always_inline void
375vnet_feature_start_device_input_x4 (u32 sw_if_index,
376 u32 * next0,
377 u32 * next1,
378 u32 * next2,
379 u32 * next3,
380 vlib_buffer_t * b0,
381 vlib_buffer_t * b1,
Damjan Marion35af9e52017-03-06 12:02:50 +0100382 vlib_buffer_t * b2, vlib_buffer_t * b3)
Damjan Marion7dc41462016-11-15 19:47:58 +0100383{
384 vnet_feature_main_t *fm = &feature_main;
385 vnet_feature_config_main_t *cm;
386 u8 feature_arc_index = fm->device_input_feature_arc_index;
387 cm = &fm->feature_config_mains[feature_arc_index];
388
389 if (PREDICT_FALSE
390 (clib_bitmap_get
391 (fm->sw_if_index_has_features[feature_arc_index], sw_if_index)))
392 {
393 /*
394 * Save next0 so that the last feature in the chain
395 * can skip ethernet-input if indicated...
396 */
Damjan Marion35af9e52017-03-06 12:02:50 +0100397 u16 adv;
398
Damjan Marion35af9e52017-03-06 12:02:50 +0100399 adv = device_input_next_node_advance[*next0];
Damjan Marion35af9e52017-03-06 12:02:50 +0100400 vlib_buffer_advance (b0, -adv);
401
Damjan Marion35af9e52017-03-06 12:02:50 +0100402 adv = device_input_next_node_advance[*next1];
Damjan Marion35af9e52017-03-06 12:02:50 +0100403 vlib_buffer_advance (b1, -adv);
404
Damjan Marion35af9e52017-03-06 12:02:50 +0100405 adv = device_input_next_node_advance[*next2];
Damjan Marion35af9e52017-03-06 12:02:50 +0100406 vlib_buffer_advance (b2, -adv);
407
Damjan Marion35af9e52017-03-06 12:02:50 +0100408 adv = device_input_next_node_advance[*next3];
Damjan Marion35af9e52017-03-06 12:02:50 +0100409 vlib_buffer_advance (b3, -adv);
Damjan Marion7dc41462016-11-15 19:47:58 +0100410
Damjan Marionaa682a32018-04-26 22:45:40 +0200411 vnet_buffer (b0)->feature_arc_index = feature_arc_index;
412 vnet_buffer (b1)->feature_arc_index = feature_arc_index;
413 vnet_buffer (b2)->feature_arc_index = feature_arc_index;
414 vnet_buffer (b3)->feature_arc_index = feature_arc_index;
Damjan Marion7dc41462016-11-15 19:47:58 +0100415
416 b0->current_config_index =
417 vec_elt (cm->config_index_by_sw_if_index, sw_if_index);
418 b1->current_config_index = b0->current_config_index;
419 b2->current_config_index = b0->current_config_index;
420 b3->current_config_index = b0->current_config_index;
421
422 vnet_get_config_data (&cm->config_main, &b0->current_config_index,
423 next0, /* # bytes of config data */ 0);
424 vnet_get_config_data (&cm->config_main, &b1->current_config_index,
425 next1, /* # bytes of config data */ 0);
426 vnet_get_config_data (&cm->config_main, &b2->current_config_index,
427 next2, /* # bytes of config data */ 0);
428 vnet_get_config_data (&cm->config_main, &b3->current_config_index,
429 next3, /* # bytes of config data */ 0);
430 }
431}
Damjan Marion87cd1192016-11-04 11:00:27 +0100432
Damjan Marion22311502016-10-28 20:30:15 +0200433#define VNET_FEATURES(...) (char*[]) { __VA_ARGS__, 0}
434
Dave Barach2dd192b2018-11-19 09:31:48 -0500435clib_error_t *vnet_feature_arc_init
436 (vlib_main_t * vm,
437 vnet_config_main_t * vcm,
438 char **feature_start_nodes,
439 int num_feature_start_nodes,
440 vnet_feature_registration_t * first_reg,
441 vnet_feature_constraint_registration_t * first_const_set,
442 char ***in_feature_nodes);
Damjan Marion22311502016-10-28 20:30:15 +0200443
Dave Barach525c9d02018-05-26 10:48:55 -0400444void vnet_interface_features_show (vlib_main_t * vm, u32 sw_if_index,
445 int verbose);
Damjan Marion22311502016-10-28 20:30:15 +0200446
447#endif /* included_feature_h */
448
449/*
450 * fd.io coding-style-patch-verification: ON
451 *
452 * Local Variables:
453 * eval: (c-set-style "gnu")
454 * End:
455 */