Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
ip: Use .api declared error counters
[vpp.git]
/
src
/
vnet
/
ip
/
ip6_input.c
diff --git
a/src/vnet/ip/ip6_input.c
b/src/vnet/ip/ip6_input.c
index
01b8f46
..
8d89890
100644
(file)
--- a/
src/vnet/ip/ip6_input.c
+++ b/
src/vnet/ip/ip6_input.c
@@
-219,21
+219,13
@@
VLIB_NODE_FN (ip6_input_node) (vlib_main_t * vm, vlib_node_runtime_t * node,
return frame->n_vectors;
}
return frame->n_vectors;
}
-#ifndef CLIB_MARCH_VARIANT
-char *ip6_error_strings[] = {
-#define _(sym,string) string,
- foreach_ip6_error
-#undef _
-};
-#endif /* CLIB_MARCH_VARIANT */
-
/* *INDENT-OFF* */
VLIB_REGISTER_NODE (ip6_input_node) = {
.name = "ip6-input",
.vector_size = sizeof (u32),
.n_errors = IP6_N_ERROR,
/* *INDENT-OFF* */
VLIB_REGISTER_NODE (ip6_input_node) = {
.name = "ip6-input",
.vector_size = sizeof (u32),
.n_errors = IP6_N_ERROR,
- .error_
strings = ip6_error_string
s,
+ .error_
counters = ip6_error_counter
s,
.n_next_nodes = IP6_INPUT_N_NEXT,
.next_nodes = {
.n_next_nodes = IP6_INPUT_N_NEXT,
.next_nodes = {