aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-2dparityfec.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2009-07-23 17:46:09 +0000
committerBill Meier <wmeier@newsguy.com>2009-07-23 17:46:09 +0000
commit65faee6470a74a7511b5182e8d337b3ebb31a8d5 (patch)
tree8124886c9e5fbdcef9f97eb46c40203ca2b206e4 /epan/dissectors/packet-2dparityfec.c
parent7f00738810af4560a0fe9f7b3b112c38854e51c7 (diff)
Set editor modelines to be consistent between emacs and vi/ex;
Indentation and whitespace cleanup; svn path=/trunk/; revision=29180
Diffstat (limited to 'epan/dissectors/packet-2dparityfec.c')
-rw-r--r--epan/dissectors/packet-2dparityfec.c290
1 files changed, 145 insertions, 145 deletions
diff --git a/epan/dissectors/packet-2dparityfec.c b/epan/dissectors/packet-2dparityfec.c
index ee9750b0d8..ffae0268fa 100644
--- a/epan/dissectors/packet-2dparityfec.c
+++ b/epan/dissectors/packet-2dparityfec.c
@@ -173,158 +173,158 @@ void proto_register_2dparityfec(void)
/* Payload type definitions */
static hf_register_info hf[] = {
- {&hf_2dparityfec_snbase_low,
- { "SNBase low",
- "2dparityfec.snbase_low",
- FT_UINT16,
- BASE_DEC,
- NULL,
- 0x0,
- NULL,
- HFILL} },
-
- {&hf_2dparityfec_length_recovery,
- { "Length recovery",
- "2dparityfec.lr",
- FT_UINT16,
- BASE_HEX,
- NULL,
- 0x0,
- NULL,
- HFILL} },
-
- {&hf_2dparityfec_rfc2733_ext,
- { "RFC2733 Extension (E)",
- "2dparityfec.e",
- FT_BOOLEAN,
- 8,
- NULL,
- 0x80,
- NULL,
- HFILL} },
-
- {&hf_2dparityfec_pt_recovery,
- { "Payload Type recovery",
- "2dparityfec.ptr",
- FT_UINT8,
- BASE_HEX,
- NULL,
- 0x7f,
- NULL,
- HFILL} },
-
- {&hf_2dparityfec_mask,
- { "Mask",
- "2dparityfec.mask",
- /*FT_UINT32*/FT_UINT24,
- BASE_HEX,
- NULL,
- /*0x00ffffff*/0x0,
- NULL,
- HFILL} },
-
- {&hf_2dparityfec_ts_recovery,
- { "Timestamp recovery",
- "2dparityfec.tsr",
- FT_UINT32,
- BASE_HEX,
- NULL,
- 0x0,
- NULL,
- HFILL} },
-
- {&hf_2dparityfec_ts_pro_mpeg_ext,
- { "Pro-MPEG Extension (X)",
- "2dparityfec.x",
- FT_BOOLEAN,
- 8,
- NULL,
- 0x80,
- NULL,
- HFILL} },
-
- {&hf_2dparityfec_row_flag,
- { "Row FEC (D)",
- "2dparityfec.d",
- FT_BOOLEAN,
- 8,
- NULL,
- 0x40,
- NULL,
- HFILL} },
-
- {&hf_2dparityfec_type,
- { "Type",
- "2dparityfec.type",
- FT_UINT8,
- BASE_DEC,
- VALS(fec_type_names),
- 0x38,
- NULL,
- HFILL} },
-
- {&hf_2dparityfec_index,
- { "Index",
- "2dparityfec.index",
- FT_UINT8,
- BASE_DEC,
- NULL,
- 0x07,
- NULL,
- HFILL} },
-
- {&hf_2dparityfec_offset,
- { "Offset",
- "2dparityfec.offset",
- FT_UINT8,
- BASE_DEC,
- NULL,
- 0x0,
- NULL,
- HFILL} },
-
- {&hf_2dparityfec_na,
- { "NA",
- "2dparityfec.na",
- FT_UINT8,
- BASE_DEC,
- NULL,
- 0x0,
- NULL,
- HFILL} },
-
- {&hf_2dparityfec_snbase_ext,
- { "SNBase ext",
- "2dparityfec.snbase_ext",
- FT_UINT8,
- BASE_DEC,
- NULL,
- 0x0,
- NULL,
- HFILL} },
-
- {&hf_2dparityfec_payload,
- { "FEC Payload",
- "2dparityfec.payload",
- FT_BYTES,
- BASE_NONE,
- NULL,
- 0x0,
- NULL,
- HFILL} }
+ {&hf_2dparityfec_snbase_low,
+ { "SNBase low",
+ "2dparityfec.snbase_low",
+ FT_UINT16,
+ BASE_DEC,
+ NULL,
+ 0x0,
+ NULL,
+ HFILL} },
+
+ {&hf_2dparityfec_length_recovery,
+ { "Length recovery",
+ "2dparityfec.lr",
+ FT_UINT16,
+ BASE_HEX,
+ NULL,
+ 0x0,
+ NULL,
+ HFILL} },
+
+ {&hf_2dparityfec_rfc2733_ext,
+ { "RFC2733 Extension (E)",
+ "2dparityfec.e",
+ FT_BOOLEAN,
+ 8,
+ NULL,
+ 0x80,
+ NULL,
+ HFILL} },
+
+ {&hf_2dparityfec_pt_recovery,
+ { "Payload Type recovery",
+ "2dparityfec.ptr",
+ FT_UINT8,
+ BASE_HEX,
+ NULL,
+ 0x7f,
+ NULL,
+ HFILL} },
+
+ {&hf_2dparityfec_mask,
+ { "Mask",
+ "2dparityfec.mask",
+ /*FT_UINT32*/FT_UINT24,
+ BASE_HEX,
+ NULL,
+ /*0x00ffffff*/0x0,
+ NULL,
+ HFILL} },
+
+ {&hf_2dparityfec_ts_recovery,
+ { "Timestamp recovery",
+ "2dparityfec.tsr",
+ FT_UINT32,
+ BASE_HEX,
+ NULL,
+ 0x0,
+ NULL,
+ HFILL} },
+
+ {&hf_2dparityfec_ts_pro_mpeg_ext,
+ { "Pro-MPEG Extension (X)",
+ "2dparityfec.x",
+ FT_BOOLEAN,
+ 8,
+ NULL,
+ 0x80,
+ NULL,
+ HFILL} },
+
+ {&hf_2dparityfec_row_flag,
+ { "Row FEC (D)",
+ "2dparityfec.d",
+ FT_BOOLEAN,
+ 8,
+ NULL,
+ 0x40,
+ NULL,
+ HFILL} },
+
+ {&hf_2dparityfec_type,
+ { "Type",
+ "2dparityfec.type",
+ FT_UINT8,
+ BASE_DEC,
+ VALS(fec_type_names),
+ 0x38,
+ NULL,
+ HFILL} },
+
+ {&hf_2dparityfec_index,
+ { "Index",
+ "2dparityfec.index",
+ FT_UINT8,
+ BASE_DEC,
+ NULL,
+ 0x07,
+ NULL,
+ HFILL} },
+
+ {&hf_2dparityfec_offset,
+ { "Offset",
+ "2dparityfec.offset",
+ FT_UINT8,
+ BASE_DEC,
+ NULL,
+ 0x0,
+ NULL,
+ HFILL} },
+
+ {&hf_2dparityfec_na,
+ { "NA",
+ "2dparityfec.na",
+ FT_UINT8,
+ BASE_DEC,
+ NULL,
+ 0x0,
+ NULL,
+ HFILL} },
+
+ {&hf_2dparityfec_snbase_ext,
+ { "SNBase ext",
+ "2dparityfec.snbase_ext",
+ FT_UINT8,
+ BASE_DEC,
+ NULL,
+ 0x0,
+ NULL,
+ HFILL} },
+
+ {&hf_2dparityfec_payload,
+ { "FEC Payload",
+ "2dparityfec.payload",
+ FT_BYTES,
+ BASE_NONE,
+ NULL,
+ 0x0,
+ NULL,
+ HFILL} }
};
/* Setup protocol subtree array */
static gint *ett[] = {
- &ett_2dparityfec,
+ &ett_2dparityfec,
};
proto_2dparityfec = proto_register_protocol(
- "Pro-MPEG Code of Practice #3 release 2 FEC Protocol", /* name */
- "2dparityfec", /* short name */
- "2dparityfec"); /* abbrev */
+ "Pro-MPEG Code of Practice #3 release 2 FEC Protocol", /* name */
+ "2dparityfec", /* short name */
+ "2dparityfec"); /* abbrev */
proto_register_field_array(proto_2dparityfec, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
@@ -365,6 +365,6 @@ void proto_reg_handoff_2dparityfec(void)
* indent-tabs-mode: nil
* End:
*
- * ex: set shiftwidth=3 tabstop=3 noexpandtab
- * :indentSize=3:tabSize=3:noTabs=false:
+ * ex: set shiftwidth=3 tabstop=3 expandtab
+ * :indentSize=3:tabSize=3:noTabs=true:
*/