aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/unix/tapcli.h
diff options
context:
space:
mode:
authorsharath reddy <sharathkumarboyanapally@gmail.com>2017-11-29 20:08:11 +0530
committersharath reddy <sharathkumarboyanapally@gmail.com>2017-12-11 09:44:25 +0000
commit1b0c983726d4a6abe5b86b1cfad1d3280285748f (patch)
treef41d16dc4b9577624777cd4d5b708c034495c405 /src/vnet/unix/tapcli.h
parent76dc22cec340b1c32e82a9ef9b6baff8006a6517 (diff)
VPP-273 Coding standards cleanup - vnet/vnet/unix
Change-Id: Ibac5a4588e66f6d3ad42dd2583e1e84b7d2314c4 Signed-off-by: sharath reddy <sharathkumarboyanapally@gmail.com>
Diffstat (limited to 'src/vnet/unix/tapcli.h')
-rw-r--r--src/vnet/unix/tapcli.h20
1 files changed, 15 insertions, 5 deletions
diff --git a/src/vnet/unix/tapcli.h b/src/vnet/unix/tapcli.h
index fcd82dbf25d..55a5a152b9c 100644
--- a/src/vnet/unix/tapcli.h
+++ b/src/vnet/unix/tapcli.h
@@ -30,23 +30,33 @@
_(BUFFER_ALLOC, "buffer allocation error") \
_(UNKNOWN, "unknown error")
-typedef enum {
+typedef enum
+{
#define _(sym,str) TAPCLI_ERROR_##sym,
foreach_tapcli_error
#undef _
- TAPCLI_N_ERROR,
- } tapcli_error_t;
+ TAPCLI_N_ERROR,
+} tapcli_error_t;
/** TAP CLI interface details struct */
-typedef struct {
+typedef struct
+{
u32 sw_if_index;
u8 dev_name[64];
} tapcli_interface_details_t;
-int vnet_tap_dump_ifs (tapcli_interface_details_t **out_tapids);
+int vnet_tap_dump_ifs (tapcli_interface_details_t ** out_tapids);
#define TAP_MTU_MIN 68
#define TAP_MTU_MAX 65535
#define TAP_MTU_DEFAULT 1500
#endif /* __included_tapcli_h__ */
+
+/*
+ * fd.io coding-style-patch-verification: ON
+ *
+ * Local Variables:
+ * eval: (c-set-style "gnu")
+ * End:
+ */