summaryrefslogtreecommitdiffstats
path: root/src/vnet/lawful-intercept/lawful_intercept.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/lawful-intercept/lawful_intercept.h')
-rw-r--r--src/vnet/lawful-intercept/lawful_intercept.h23
1 files changed, 17 insertions, 6 deletions
diff --git a/src/vnet/lawful-intercept/lawful_intercept.h b/src/vnet/lawful-intercept/lawful_intercept.h
index bcb18afece2..e39fa0d0752 100644
--- a/src/vnet/lawful-intercept/lawful_intercept.h
+++ b/src/vnet/lawful-intercept/lawful_intercept.h
@@ -19,27 +19,38 @@
#include <vnet/vnet.h>
#include <vnet/ip/ip.h>
-typedef struct {
+typedef struct
+{
/* LI collector info */
- ip4_address_t * src_addrs;
- ip4_address_t * collectors;
- u16 * ports;
+ ip4_address_t *src_addrs;
+ ip4_address_t *collectors;
+ u16 *ports;
/* Hit node index */
u32 hit_node_index;
/* convenience */
- vlib_main_t * vlib_main;
- vnet_main_t * vnet_main;
+ vlib_main_t *vlib_main;
+ vnet_main_t *vnet_main;
} li_main_t;
extern li_main_t li_main;
+/* *INDENT-OFF* */
typedef CLIB_PACKED(struct {
ip4_header_t ip4;
udp_header_t udp;
}) ip4_udp_header_t;
+/* *INDENT-ON* */
extern vlib_node_registration_t li_hit_node;
#endif /* __lawful_intercept_h__ */
+
+/*
+ * fd.io coding-style-patch-verification: ON
+ *
+ * Local Variables:
+ * eval: (c-set-style "gnu")
+ * End:
+ */