summaryrefslogtreecommitdiffstats
path: root/src/vnet/hdlc/packet.h
diff options
context:
space:
mode:
authorSwarup Nayak <swarupnpvt@gmail.com>2017-11-22 16:41:57 +0530
committerChris Luke <chris_luke@comcast.com>2017-11-22 21:45:34 +0000
commitcc42db82f8d7e8e3e6719b1ae98bf3d48fff4b02 (patch)
tree13cca4b97f71c7e7ce188d4da6f4d60ea14cccda /src/vnet/hdlc/packet.h
parenteb2945cf6ffa35c3b22c2fa0c85bc67c9c39045a (diff)
VPP-254 Coding standard cleanup - vnet/vnet/hdlc
Change-Id: I125b1ca20a5b30d199d4a79ad0034533818a5e9c Signed-off-by: Swarup Nayak <swarupnpvt@gmail.com>
Diffstat (limited to 'src/vnet/hdlc/packet.h')
-rw-r--r--src/vnet/hdlc/packet.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/vnet/hdlc/packet.h b/src/vnet/hdlc/packet.h
index 45e5496fbc8..a641cd2edaf 100644
--- a/src/vnet/hdlc/packet.h
+++ b/src/vnet/hdlc/packet.h
@@ -49,13 +49,15 @@
_ (0x86dd, ip6) \
_ (0xfefe, osi)
-typedef enum {
+typedef enum
+{
#define _(n,f) HDLC_PROTOCOL_##f = n,
foreach_hdlc_protocol
#undef _
} hdlc_protocol_t;
-typedef struct {
+typedef struct
+{
/* Set to 0x0f for unicast; 0x8f for broadcast. */
u8 address;
@@ -70,3 +72,11 @@ typedef struct {
} hdlc_header_t;
#endif /* included_vnet_hdlc_packet_h */
+
+/*
+ * fd.io coding-style-patch-verification: ON
+ *
+ * Local Variables:
+ * eval: (c-set-style "gnu")
+ * End:
+ */