ethernet_buffer_get_header (b);
u16 ethertype = clib_net_to_host_u16 (eth->type);
i16 l3_hdr_offset = (u8 *) eth - b->data + sizeof (ethernet_header_t);
- /* *INDENT-OFF* */
flowprobe_key_t k = {};
- /* *INDENT-ON* */
ip4_header_t *ip4 = 0;
ip6_header_t *ip6 = 0;
udp_header_t *udp = 0;
return 0;
}
-/* *INDENT-OFF* */
VLIB_REGISTER_NODE (flowprobe_input_ip4_node) = {
.function = flowprobe_input_ip4_node_fn,
.name = "flowprobe-input-ip4",
.type = VLIB_NODE_TYPE_INPUT,
.state = VLIB_NODE_STATE_INTERRUPT,
};
-/* *INDENT-ON* */
/*
* fd.io coding-style-patch-verification: ON