I saw something that I have not noticed in other places and I wondered about it:
/* *INDENT-OFF* */ VLIB_REGISTER_NODE (ipsec_output_node) = { .vector_size = sizeof (u32), .function = ipsec_output_node_fn, .name = "ipsec-output-ip4", }; VLIB_REGISTER_NODE (ipsec_output_node) = { .vector_size = sizeof (u32), .function = ipsec_output_node_fn, .name = "ipsec-output-ip6", }; /* *INDENT-ON* */ A cursory inspection did not show me other cases where there are multiple registrations that take the same parameter. Does it function correctly despite the unusual appearance? Just curious. A counter example that looks more typical is in ipsec_input.c. Burt
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev