summaryrefslogtreecommitdiffstats
path: root/src/vnet/dns/reply_node.c
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2017-11-04 09:44:38 -0400
committerDamjan Marion <dmarion.lists@gmail.com>2017-11-05 11:37:08 +0000
commit97494500bf7c4dd608fe1e1eb8a3dfd0839b3472 (patch)
tree3543d6e52be5e779a69b9a2b356599db22b1efc5 /src/vnet/dns/reply_node.c
parentfd67ece3d3eda0bd896aaa166d89b4f8e7f4e98f (diff)
ip4 network request processing
Change-Id: I6eb0681cc2595f81ac3bf5ffa3e9b2adfff04a36 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vnet/dns/reply_node.c')
-rw-r--r--src/vnet/dns/reply_node.c24
1 files changed, 14 insertions, 10 deletions
diff --git a/src/vnet/dns/reply_node.c b/src/vnet/dns/reply_node.c
index e045ba8cda4..fbb99e8a6f9 100644
--- a/src/vnet/dns/reply_node.c
+++ b/src/vnet/dns/reply_node.c
@@ -192,18 +192,22 @@ dns46_reply_node_fn (vlib_main_t * vm,
return frame->n_vectors;
}
+/* *INDENT-OFF* */
VLIB_REGISTER_NODE (dns46_reply_node) =
{
- .function = dns46_reply_node_fn,.name = "dns46_reply",.vector_size =
- sizeof (u32),.format_trace = format_dns46_reply_trace,.type =
- VLIB_NODE_TYPE_INTERNAL,.n_errors =
- ARRAY_LEN (dns46_reply_error_strings),.error_strings =
- dns46_reply_error_strings,.n_next_nodes = DNS46_REPLY_N_NEXT,
- /* edit / add dispositions here */
- .next_nodes =
- {
- [DNS46_REPLY_NEXT_DROP] = "error-drop",}
-,};
+ .function = dns46_reply_node_fn,
+ .name = "dns46_reply",
+ .vector_size = sizeof (u32),
+ .format_trace = format_dns46_reply_trace,
+ .type = VLIB_NODE_TYPE_INTERNAL,
+ .n_errors = ARRAY_LEN (dns46_reply_error_strings),
+ .error_strings = dns46_reply_error_strings,
+ .n_next_nodes = DNS46_REPLY_N_NEXT,
+ .next_nodes = {
+ [DNS46_REPLY_NEXT_DROP] = "error-drop",
+ },
+};
+/* *INDENT-ON* */
/*
* fd.io coding-style-patch-verification: ON