diff options
author | Anders Broman <anders.broman@ericsson.com> | 2012-02-04 14:01:46 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2012-02-04 14:01:46 +0000 |
commit | 9a296bbb74b435a1479239be24b94a13cc897128 (patch) | |
tree | fc14af29b4ac5cbb687feb3a7ca517aebfe5fbbb /epan/dissectors/packet-dccp.h | |
parent | e1a7ad65d344d53e666674ba8c53483dd8ff2de7 (diff) |
From Francesco Fondelli:
Fix indentation.
(I restored "lost code")
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5924
svn path=/trunk/; revision=40839
Diffstat (limited to 'epan/dissectors/packet-dccp.h')
-rw-r--r-- | epan/dissectors/packet-dccp.h | 52 |
1 files changed, 28 insertions, 24 deletions
diff --git a/epan/dissectors/packet-dccp.h b/epan/dissectors/packet-dccp.h index cfd90866ac..151beb360e 100644 --- a/epan/dissectors/packet-dccp.h +++ b/epan/dissectors/packet-dccp.h @@ -33,30 +33,34 @@ #define __PACKET_DCCP_H__ /* DCCP structs and definitions */ -typedef struct _e_dccphdr { - guint16 sport; - guint16 dport; - guint8 data_offset; - guint8 cscov; /* 4 bits */ - guint8 ccval; /* 4 bits */ - guint16 checksum; - guint8 reserved1; /* 3 bits */ - guint8 type; /* 4 bits */ - gboolean x; /* 1 bits */ - guint8 reserved2; /* if x == 1 */ - guint64 seq; /* 48 or 24 bits sequence number */ - - guint16 ack_reserved; /* for all defined packet types except DCCP-Request and DCCP-Data */ - guint64 ack; /* 48 or 24 bits acknowledgement sequence number */ - - guint32 service_code; - guint8 reset_code; - guint8 data1; - guint8 data2; - guint8 data3; - - address ip_src; - address ip_dst; +typedef struct _e_dccphdr +{ + guint16 sport; + guint16 dport; + guint8 data_offset; + guint8 cscov; /* 4 bits */ + guint8 ccval; /* 4 bits */ + guint16 checksum; + guint8 reserved1; /* 3 bits */ + guint8 type; /* 4 bits */ + gboolean x; /* 1 bits */ + guint8 reserved2; /* if x == 1 */ + guint64 seq; /* 48 or 24 bits sequence number */ + + guint16 ack_reserved; /* + * for all defined packet types except DCCP-Request + * and DCCP-Data + */ + guint64 ack; /* 48 or 24 bits acknowledgement sequence number */ + + guint32 service_code; + guint8 reset_code; + guint8 data1; + guint8 data2; + guint8 data3; + + address ip_src; + address ip_dst; } e_dccphdr; #endif /* __PACKET_DCCP_H__ */ |