blob: 1eb5b14d024209bbe7383fdb7c599e86a0cba997 [file] [log] [blame]
Ed Warnickecb9cada2015-12-08 15:45:58 -07001/*
2 * Copyright (c) 2015 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#ifndef __included_vnet_classify_h__
16#define __included_vnet_classify_h__
17
18#include <stdarg.h>
19
20#include <vlib/vlib.h>
21#include <vnet/vnet.h>
22#include <vnet/pg/pg.h>
23#include <vnet/ethernet/ethernet.h>
24#include <vnet/ethernet/packet.h>
25#include <vnet/ip/ip_packet.h>
26#include <vnet/ip/ip4_packet.h>
27#include <vnet/ip/ip6_packet.h>
28#include <vlib/cli.h>
29#include <vnet/l2/l2_input.h>
30#include <vnet/l2/feat_bitmap.h>
31#include <vnet/api_errno.h> /* for API error numbers */
32
33#include <vppinfra/error.h>
34#include <vppinfra/hash.h>
35#include <vppinfra/cache.h>
36#include <vppinfra/xxhash.h>
37
Jean-Mickael Guerin8941ec22016-03-04 14:14:21 +010038extern vlib_node_registration_t ip4_classify_node;
39extern vlib_node_registration_t ip6_classify_node;
Ed Warnickecb9cada2015-12-08 15:45:58 -070040
41#define CLASSIFY_TRACE 0
42
Christophe Fontainefef15b42016-04-09 12:38:49 +090043#if !defined( __aarch64__) && !defined(__arm__)
Pierre Pfistercb656302016-03-16 09:14:28 +000044#define CLASSIFY_USE_SSE //Allow usage of SSE operations
45#endif
46
Christophe Fontainefef15b42016-04-09 12:38:49 +090047#define U32X4_ALIGNED(p) PREDICT_TRUE((((intptr_t)p) & 0xf) == 0)
Pierre Pfistercb656302016-03-16 09:14:28 +000048
Steve Shin25e26dc2016-11-08 10:47:10 -080049/*
50 * Classify table option to process packets
51 * CLASSIFY_FLAG_USE_CURR_DATA:
52 * - classify packets starting from VPP node’s current data pointer
53 */
54#define CLASSIFY_FLAG_USE_CURR_DATA 1
55
56/*
57 * Classify session action
58 * CLASSIFY_ACTION_SET_IP4_FIB_INDEX:
59 * - Classified IP packets will be looked up
60 * from the specified ipv4 fib table
61 * CLASSIFY_ACTION_SET_IP6_FIB_INDEX:
62 * - Classified IP packets will be looked up
63 * from the specified ipv6 fib table
64 */
Neale Ranns13eaf3e2017-05-23 06:10:33 -070065typedef enum vnet_classify_action_t_
66{
67 CLASSIFY_ACTION_SET_IP4_FIB_INDEX = 1,
68 CLASSIFY_ACTION_SET_IP6_FIB_INDEX = 2,
69} __attribute__ ((packed)) vnet_classify_action_t;
Steve Shin25e26dc2016-11-08 10:47:10 -080070
Ed Warnickecb9cada2015-12-08 15:45:58 -070071struct _vnet_classify_main;
72typedef struct _vnet_classify_main vnet_classify_main_t;
73
74#define foreach_size_in_u32x4 \
75_(1) \
76_(2) \
77_(3) \
78_(4) \
79_(5)
80
81typedef CLIB_PACKED(struct _vnet_classify_entry {
82 /* Graph node next index */
83 u32 next_index;
84
85 /* put into vnet_buffer(b)->l2_classfy.opaque_index */
86 union {
87 struct {
88 u32 opaque_index;
89 /* advance on hit, note it's a signed quantity... */
90 i32 advance;
91 };
92 u64 opaque_count;
93 };
94
95 /* Really only need 1 bit */
Steve Shin25e26dc2016-11-08 10:47:10 -080096 u8 flags;
Ed Warnickecb9cada2015-12-08 15:45:58 -070097#define VNET_CLASSIFY_ENTRY_FREE (1<<0)
98
Neale Ranns13eaf3e2017-05-23 06:10:33 -070099 vnet_classify_action_t action;
Steve Shin25e26dc2016-11-08 10:47:10 -0800100 u16 metadata;
101
Ed Warnickecb9cada2015-12-08 15:45:58 -0700102 /* Hit counter, last heard time */
103 union {
104 u64 hits;
105 struct _vnet_classify_entry * next_free;
106 };
107
108 f64 last_heard;
109
110 /* Must be aligned to a 16-octet boundary */
111 u32x4 key[0];
112}) vnet_classify_entry_t;
113
114static inline int vnet_classify_entry_is_free (vnet_classify_entry_t * e)
115{
116 return e->flags & VNET_CLASSIFY_ENTRY_FREE;
117}
118
119static inline int vnet_classify_entry_is_busy (vnet_classify_entry_t * e)
120{
121 return ((e->flags & VNET_CLASSIFY_ENTRY_FREE) == 0);
122}
123
124/* Need these to con the vector allocator */
125#define _(size) \
126typedef CLIB_PACKED(struct { \
127 u32 pad0[4]; \
128 u64 pad1[2]; \
129 u32x4 key[size]; \
130}) vnet_classify_entry_##size##_t;
131foreach_size_in_u32x4;
132#undef _
133
134typedef struct {
135 union {
136 struct {
137 u32 offset;
Dave Barachcada2a02017-05-18 19:16:47 -0400138 u8 linear_search;
139 u8 pad[2];
Ed Warnickecb9cada2015-12-08 15:45:58 -0700140 u8 log2_pages;
141 };
142 u64 as_u64;
143 };
144} vnet_classify_bucket_t;
145
146typedef struct {
147 /* Mask to apply after skipping N vectors */
148 u32x4 *mask;
149 /* Buckets and entries */
150 vnet_classify_bucket_t * buckets;
151 vnet_classify_entry_t * entries;
152
153 /* Config parameters */
154 u32 match_n_vectors;
155 u32 skip_n_vectors;
156 u32 nbuckets;
157 u32 log2_nbuckets;
Dave Barachcada2a02017-05-18 19:16:47 -0400158 u32 linear_buckets;
Ed Warnickecb9cada2015-12-08 15:45:58 -0700159 int entries_per_page;
160 u32 active_elements;
Steve Shin25e26dc2016-11-08 10:47:10 -0800161 u32 current_data_flag;
162 int current_data_offset;
163 u32 data_offset;
Ed Warnickecb9cada2015-12-08 15:45:58 -0700164 /* Index of next table to try */
165 u32 next_table_index;
166
167 /* Miss next index, return if next_table_index = 0 */
168 u32 miss_next_index;
169
170 /* Per-bucket working copies, one per thread */
171 vnet_classify_entry_t ** working_copies;
Dave Barachcada2a02017-05-18 19:16:47 -0400172 int *working_copy_lengths;
Ed Warnickecb9cada2015-12-08 15:45:58 -0700173 vnet_classify_bucket_t saved_bucket;
174
175 /* Free entry freelists */
176 vnet_classify_entry_t **freelists;
177
178 u8 * name;
179
180 /* Private allocation arena, protected by the writer lock */
181 void * mheap;
182
183 /* Writer (only) lock for this table */
184 volatile u32 * writer_lock;
185
186} vnet_classify_table_t;
187
188struct _vnet_classify_main {
189 /* Table pool */
190 vnet_classify_table_t * tables;
191
Dave Barachf39ff742016-03-20 10:14:45 -0400192 /* Registered next-index, opaque unformat fcns */
193 unformat_function_t ** unformat_l2_next_index_fns;
194 unformat_function_t ** unformat_ip_next_index_fns;
195 unformat_function_t ** unformat_acl_next_index_fns;
Matus Fabian70e6a8d2016-06-20 08:10:42 -0700196 unformat_function_t ** unformat_policer_next_index_fns;
Dave Barachf39ff742016-03-20 10:14:45 -0400197 unformat_function_t ** unformat_opaque_index_fns;
198
Ed Warnickecb9cada2015-12-08 15:45:58 -0700199 /* convenience variables */
200 vlib_main_t * vlib_main;
201 vnet_main_t * vnet_main;
202};
203
Dave Barachf39ff742016-03-20 10:14:45 -0400204extern vnet_classify_main_t vnet_classify_main;
Ed Warnickecb9cada2015-12-08 15:45:58 -0700205
206u8 * format_classify_table (u8 * s, va_list * args);
207
208u64 vnet_classify_hash_packet (vnet_classify_table_t * t, u8 * h);
209
210static inline u64
211vnet_classify_hash_packet_inline (vnet_classify_table_t * t,
212 u8 * h)
213{
Pierre Pfistercb656302016-03-16 09:14:28 +0000214 u32x4 *mask;
215
Ed Warnickecb9cada2015-12-08 15:45:58 -0700216 union {
217 u32x4 as_u32x4;
218 u64 as_u64[2];
219 } xor_sum __attribute__((aligned(sizeof(u32x4))));
Ed Warnickecb9cada2015-12-08 15:45:58 -0700220
Pierre Pfistercb656302016-03-16 09:14:28 +0000221 ASSERT(t);
222 mask = t->mask;
223#ifdef CLASSIFY_USE_SSE
224 if (U32X4_ALIGNED(h)) { //SSE can't handle unaligned data
225 u32x4 *data = (u32x4 *)h;
226 xor_sum.as_u32x4 = data[0 + t->skip_n_vectors] & mask[0];
227 switch (t->match_n_vectors)
228 {
229 case 5:
230 xor_sum.as_u32x4 ^= data[4 + t->skip_n_vectors] & mask[4];
231 /* FALLTHROUGH */
232 case 4:
233 xor_sum.as_u32x4 ^= data[3 + t->skip_n_vectors] & mask[3];
234 /* FALLTHROUGH */
235 case 3:
236 xor_sum.as_u32x4 ^= data[2 + t->skip_n_vectors] & mask[2];
237 /* FALLTHROUGH */
238 case 2:
239 xor_sum.as_u32x4 ^= data[1 + t->skip_n_vectors] & mask[1];
240 /* FALLTHROUGH */
241 case 1:
242 break;
243 default:
244 abort();
Ed Warnickecb9cada2015-12-08 15:45:58 -0700245 }
Pierre Pfistercb656302016-03-16 09:14:28 +0000246 } else
247#endif /* CLASSIFY_USE_SSE */
248 {
249 u32 skip_u64 = t->skip_n_vectors * 2;
250 u64 *data64 = (u64 *)h;
251 xor_sum.as_u64[0] = data64[0 + skip_u64] & ((u64 *)mask)[0];
252 xor_sum.as_u64[1] = data64[1 + skip_u64] & ((u64 *)mask)[1];
253 switch (t->match_n_vectors)
254 {
255 case 5:
256 xor_sum.as_u64[0] ^= data64[8 + skip_u64] & ((u64 *)mask)[8];
257 xor_sum.as_u64[1] ^= data64[9 + skip_u64] & ((u64 *)mask)[9];
258 /* FALLTHROUGH */
259 case 4:
260 xor_sum.as_u64[0] ^= data64[6 + skip_u64] & ((u64 *)mask)[6];
261 xor_sum.as_u64[1] ^= data64[7 + skip_u64] & ((u64 *)mask)[7];
262 /* FALLTHROUGH */
263 case 3:
264 xor_sum.as_u64[0] ^= data64[4 + skip_u64] & ((u64 *)mask)[4];
265 xor_sum.as_u64[1] ^= data64[5 + skip_u64] & ((u64 *)mask)[5];
266 /* FALLTHROUGH */
267 case 2:
268 xor_sum.as_u64[0] ^= data64[2 + skip_u64] & ((u64 *)mask)[2];
269 xor_sum.as_u64[1] ^= data64[3 + skip_u64] & ((u64 *)mask)[3];
270 /* FALLTHROUGH */
271 case 1:
272 break;
273
274 default:
275 abort();
276 }
277 }
Ed Warnickecb9cada2015-12-08 15:45:58 -0700278
279 return clib_xxhash (xor_sum.as_u64[0] ^ xor_sum.as_u64[1]);
280}
281
282static inline void
283vnet_classify_prefetch_bucket (vnet_classify_table_t * t, u64 hash)
284{
285 u32 bucket_index;
286
287 ASSERT (is_pow2(t->nbuckets));
288
289 bucket_index = hash & (t->nbuckets - 1);
290
291 CLIB_PREFETCH(&t->buckets[bucket_index], CLIB_CACHE_LINE_BYTES, LOAD);
292}
293
294static inline vnet_classify_entry_t *
295vnet_classify_get_entry (vnet_classify_table_t * t, uword offset)
296{
297 u8 * hp = t->mheap;
298 u8 * vp = hp + offset;
299
300 return (void *) vp;
301}
302
303static inline uword vnet_classify_get_offset (vnet_classify_table_t * t,
304 vnet_classify_entry_t * v)
305{
306 u8 * hp, * vp;
307
308 hp = (u8 *) t->mheap;
309 vp = (u8 *) v;
310
311 ASSERT((vp - hp) < 0x100000000ULL);
312 return vp - hp;
313}
314
315static inline vnet_classify_entry_t *
316vnet_classify_entry_at_index (vnet_classify_table_t * t,
317 vnet_classify_entry_t * e,
318 u32 index)
319{
320 u8 * eu8;
321
322 eu8 = (u8 *)e;
323
324 eu8 += index * (sizeof (vnet_classify_entry_t) +
325 (t->match_n_vectors * sizeof (u32x4)));
326
327 return (vnet_classify_entry_t *) eu8;
328}
329
330static inline void
331vnet_classify_prefetch_entry (vnet_classify_table_t * t,
332 u64 hash)
333{
334 u32 bucket_index;
335 u32 value_index;
336 vnet_classify_bucket_t * b;
337 vnet_classify_entry_t * e;
338
339 bucket_index = hash & (t->nbuckets - 1);
340
341 b = &t->buckets[bucket_index];
342
343 if (b->offset == 0)
344 return;
345
346 hash >>= t->log2_nbuckets;
347
348 e = vnet_classify_get_entry (t, b->offset);
349 value_index = hash & ((1<<b->log2_pages)-1);
350
351 e = vnet_classify_entry_at_index (t, e, value_index);
352
353 CLIB_PREFETCH(e, CLIB_CACHE_LINE_BYTES, LOAD);
354}
355
356vnet_classify_entry_t *
357vnet_classify_find_entry (vnet_classify_table_t * t,
358 u8 * h, u64 hash, f64 now);
359
360static inline vnet_classify_entry_t *
361vnet_classify_find_entry_inline (vnet_classify_table_t * t,
362 u8 * h, u64 hash, f64 now)
Dave Barachcada2a02017-05-18 19:16:47 -0400363{
Ed Warnickecb9cada2015-12-08 15:45:58 -0700364 vnet_classify_entry_t * v;
Pierre Pfistercb656302016-03-16 09:14:28 +0000365 u32x4 *mask, *key;
366 union {
367 u32x4 as_u32x4;
368 u64 as_u64[2];
369 } result __attribute__((aligned(sizeof(u32x4))));
Ed Warnickecb9cada2015-12-08 15:45:58 -0700370 vnet_classify_bucket_t * b;
371 u32 value_index;
Ed Warnickecb9cada2015-12-08 15:45:58 -0700372 u32 bucket_index;
Dave Barachcada2a02017-05-18 19:16:47 -0400373 u32 limit;
Ed Warnickecb9cada2015-12-08 15:45:58 -0700374 int i;
375
Ed Warnickecb9cada2015-12-08 15:45:58 -0700376 bucket_index = hash & (t->nbuckets-1);
377 b = &t->buckets[bucket_index];
Pierre Pfistercb656302016-03-16 09:14:28 +0000378 mask = t->mask;
Ed Warnickecb9cada2015-12-08 15:45:58 -0700379
380 if (b->offset == 0)
381 return 0;
382
383 hash >>= t->log2_nbuckets;
384
385 v = vnet_classify_get_entry (t, b->offset);
386 value_index = hash & ((1<<b->log2_pages)-1);
Dave Barachcada2a02017-05-18 19:16:47 -0400387 limit = t->entries_per_page;
388 if (PREDICT_FALSE (b->linear_search))
389 {
390 value_index = 0;
391 limit *= (1<<b->log2_pages);
392 }
393
Ed Warnickecb9cada2015-12-08 15:45:58 -0700394 v = vnet_classify_entry_at_index (t, v, value_index);
395
Pierre Pfistercb656302016-03-16 09:14:28 +0000396#ifdef CLASSIFY_USE_SSE
397 if (U32X4_ALIGNED(h)) {
398 u32x4 *data = (u32x4 *) h;
Dave Barachcada2a02017-05-18 19:16:47 -0400399 for (i = 0; i < limit; i++) {
Ed Warnickecb9cada2015-12-08 15:45:58 -0700400 key = v->key;
Pierre Pfistercb656302016-03-16 09:14:28 +0000401 result.as_u32x4 = (data[0 + t->skip_n_vectors] & mask[0]) ^ key[0];
Ed Warnickecb9cada2015-12-08 15:45:58 -0700402 switch (t->match_n_vectors)
Dave Barachcada2a02017-05-18 19:16:47 -0400403 {
Ed Warnickecb9cada2015-12-08 15:45:58 -0700404 case 5:
Pierre Pfistercb656302016-03-16 09:14:28 +0000405 result.as_u32x4 |= (data[4 + t->skip_n_vectors] & mask[4]) ^ key[4];
406 /* FALLTHROUGH */
407 case 4:
408 result.as_u32x4 |= (data[3 + t->skip_n_vectors] & mask[3]) ^ key[3];
409 /* FALLTHROUGH */
410 case 3:
411 result.as_u32x4 |= (data[2 + t->skip_n_vectors] & mask[2]) ^ key[2];
412 /* FALLTHROUGH */
413 case 2:
414 result.as_u32x4 |= (data[1 + t->skip_n_vectors] & mask[1]) ^ key[1];
415 /* FALLTHROUGH */
416 case 1:
Ed Warnickecb9cada2015-12-08 15:45:58 -0700417 break;
Ed Warnickecb9cada2015-12-08 15:45:58 -0700418 default:
419 abort();
Dave Barachcada2a02017-05-18 19:16:47 -0400420 }
Pierre Pfistercb656302016-03-16 09:14:28 +0000421
422 if (u32x4_zero_byte_mask (result.as_u32x4) == 0xffff) {
423 if (PREDICT_TRUE(now)) {
424 v->hits++;
425 v->last_heard = now;
426 }
427 return (v);
428 }
Ed Warnickecb9cada2015-12-08 15:45:58 -0700429 v = vnet_classify_entry_at_index (t, v, 1);
430 }
Pierre Pfistercb656302016-03-16 09:14:28 +0000431 } else
432#endif /* CLASSIFY_USE_SSE */
Dave Barachcada2a02017-05-18 19:16:47 -0400433 {
434 u32 skip_u64 = t->skip_n_vectors * 2;
435 u64 *data64 = (u64 *)h;
436 for (i = 0; i < limit; i++) {
437 key = v->key;
Pierre Pfistercb656302016-03-16 09:14:28 +0000438
Dave Barachcada2a02017-05-18 19:16:47 -0400439 result.as_u64[0] = (data64[0 + skip_u64] & ((u64 *)mask)[0]) ^ ((u64 *)key)[0];
440 result.as_u64[1] = (data64[1 + skip_u64] & ((u64 *)mask)[1]) ^ ((u64 *)key)[1];
441 switch (t->match_n_vectors)
442 {
443 case 5:
444 result.as_u64[0] |= (data64[8 + skip_u64] & ((u64 *)mask)[8]) ^ ((u64 *)key)[8];
445 result.as_u64[1] |= (data64[9 + skip_u64] & ((u64 *)mask)[9]) ^ ((u64 *)key)[9];
446 /* FALLTHROUGH */
447 case 4:
448 result.as_u64[0] |= (data64[6 + skip_u64] & ((u64 *)mask)[6]) ^ ((u64 *)key)[6];
449 result.as_u64[1] |= (data64[7 + skip_u64] & ((u64 *)mask)[7]) ^ ((u64 *)key)[7];
450 /* FALLTHROUGH */
451 case 3:
452 result.as_u64[0] |= (data64[4 + skip_u64] & ((u64 *)mask)[4]) ^ ((u64 *)key)[4];
453 result.as_u64[1] |= (data64[5 + skip_u64] & ((u64 *)mask)[5]) ^ ((u64 *)key)[5];
454 /* FALLTHROUGH */
455 case 2:
456 result.as_u64[0] |= (data64[2 + skip_u64] & ((u64 *)mask)[2]) ^ ((u64 *)key)[2];
457 result.as_u64[1] |= (data64[3 + skip_u64] & ((u64 *)mask)[3]) ^ ((u64 *)key)[3];
458 /* FALLTHROUGH */
459 case 1:
460 break;
461 default:
462 abort();
463 }
Pierre Pfistercb656302016-03-16 09:14:28 +0000464
Dave Barachcada2a02017-05-18 19:16:47 -0400465 if (result.as_u64[0] == 0 && result.as_u64[1] == 0) {
466 if (PREDICT_TRUE(now)) {
467 v->hits++;
468 v->last_heard = now;
469 }
470 return (v);
Pierre Pfistercb656302016-03-16 09:14:28 +0000471 }
Pierre Pfistercb656302016-03-16 09:14:28 +0000472
Dave Barachcada2a02017-05-18 19:16:47 -0400473 v = vnet_classify_entry_at_index (t, v, 1);
474 }
Pierre Pfistercb656302016-03-16 09:14:28 +0000475 }
Ed Warnickecb9cada2015-12-08 15:45:58 -0700476 return 0;
Dave Barachcada2a02017-05-18 19:16:47 -0400477}
Ed Warnickecb9cada2015-12-08 15:45:58 -0700478
479vnet_classify_table_t *
480vnet_classify_new_table (vnet_classify_main_t *cm,
481 u8 * mask, u32 nbuckets, u32 memory_size,
482 u32 skip_n_vectors,
483 u32 match_n_vectors);
484
485int vnet_classify_add_del_session (vnet_classify_main_t * cm,
486 u32 table_index,
487 u8 * match,
488 u32 hit_next_index,
489 u32 opaque_index,
490 i32 advance,
Steve Shin25e26dc2016-11-08 10:47:10 -0800491 u8 action,
492 u32 metadata,
Ed Warnickecb9cada2015-12-08 15:45:58 -0700493 int is_add);
494
495int vnet_classify_add_del_table (vnet_classify_main_t * cm,
496 u8 * mask,
497 u32 nbuckets,
498 u32 memory_size,
499 u32 skip,
500 u32 match,
501 u32 next_table_index,
502 u32 miss_next_index,
503 u32 * table_index,
Steve Shin25e26dc2016-11-08 10:47:10 -0800504 u8 current_data_flag,
505 i16 current_data_offset,
Juraj Sloboda288e8932016-12-06 21:25:19 +0100506 int is_add,
507 int del_chain);
Ed Warnickecb9cada2015-12-08 15:45:58 -0700508
509unformat_function_t unformat_ip4_mask;
510unformat_function_t unformat_ip6_mask;
511unformat_function_t unformat_l3_mask;
512unformat_function_t unformat_l2_mask;
513unformat_function_t unformat_classify_mask;
514unformat_function_t unformat_l2_next_index;
515unformat_function_t unformat_ip_next_index;
516unformat_function_t unformat_ip4_match;
517unformat_function_t unformat_ip6_match;
518unformat_function_t unformat_l3_match;
Dave Barach4a3f69c2017-02-22 12:44:56 -0500519unformat_function_t unformat_l4_match;
Ed Warnickecb9cada2015-12-08 15:45:58 -0700520unformat_function_t unformat_vlan_tag;
521unformat_function_t unformat_l2_match;
522unformat_function_t unformat_classify_match;
523
Dave Barachf39ff742016-03-20 10:14:45 -0400524void vnet_classify_register_unformat_ip_next_index_fn
525(unformat_function_t * fn);
526
527void vnet_classify_register_unformat_l2_next_index_fn
528(unformat_function_t * fn);
529
530void vnet_classify_register_unformat_acl_next_index_fn
531(unformat_function_t * fn);
532
Matus Fabian70e6a8d2016-06-20 08:10:42 -0700533void vnet_classify_register_unformat_policer_next_index_fn
534(unformat_function_t * fn);
535
Dave Barachf39ff742016-03-20 10:14:45 -0400536void vnet_classify_register_unformat_opaque_index_fn (unformat_function_t * fn);
537
Ed Warnickecb9cada2015-12-08 15:45:58 -0700538#endif /* __included_vnet_classify_h__ */