aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/gre/packet.h
diff options
context:
space:
mode:
authorSwarup Nayak <swarupnpvt@gmail.com>2017-11-27 10:27:43 +0530
committerDamjan Marion <dmarion.lists@gmail.com>2017-11-27 19:02:42 +0000
commit9ff647a995ba43dcee898c1904d9ec8298b069c8 (patch)
treeed3c8ff26d2d7c23eba4757bb303a5cacc0a089a /src/vnet/gre/packet.h
parent3919425550dfea28a915858588a7e9fe4094ec0a (diff)
VPP-253 Coding standards cleanup - vnet/vnet/gre
Change-Id: I95f98b91faf74178c05f30da9eb3d6125193b7ef Signed-off-by: Swarup Nayak <swarupnpvt@gmail.com>
Diffstat (limited to 'src/vnet/gre/packet.h')
-rw-r--r--src/vnet/gre/packet.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/vnet/gre/packet.h b/src/vnet/gre/packet.h
index cc2ccda9eff..64b39f2c40b 100644
--- a/src/vnet/gre/packet.h
+++ b/src/vnet/gre/packet.h
@@ -26,13 +26,15 @@ _ (0x0806, arp) \
_ (0x8847, mpls_unicast) \
_ (0x894F, nsh)
-typedef enum {
+typedef enum
+{
#define _(n,f) GRE_PROTOCOL_##f = n,
foreach_gre_protocol
#undef _
} gre_protocol_t;
-typedef struct {
+typedef struct
+{
/* flags and version */
u16 flags_and_version;
/* unimplemented at the moment */
@@ -53,3 +55,11 @@ typedef struct {
} gre_header_t;
#endif /* included_vnet_gre_packet_h */
+
+/*
+ * fd.io coding-style-patch-verification: ON
+ *
+ * Local Variables:
+ * eval: (c-set-style "gnu")
+ * End:
+ */