diff options
Diffstat (limited to 'epan/dissectors/packet-2dparityfec.c')
-rw-r--r-- | epan/dissectors/packet-2dparityfec.c | 306 |
1 files changed, 153 insertions, 153 deletions
diff --git a/epan/dissectors/packet-2dparityfec.c b/epan/dissectors/packet-2dparityfec.c index b88ce0270b..fcf72344d9 100644 --- a/epan/dissectors/packet-2dparityfec.c +++ b/epan/dissectors/packet-2dparityfec.c @@ -164,154 +164,154 @@ void proto_register_2dparityfec(void) module_t *module_2dparityfec; /* 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} } - - -}; + 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} } + + + }; /* Setup protocol subtree array */ -static gint *ett[] = { - &ett_2dparityfec, -}; + static gint *ett[] = { + &ett_2dparityfec, + }; proto_2dparityfec = proto_register_protocol( "Pro-MPEG Code of Practice #3 release 2 FEC Protocol", /* name */ @@ -325,10 +325,10 @@ static gint *ett[] = { proto_reg_handoff_2dparityfec); prefs_register_bool_preference(module_2dparityfec, "enable", - "Decode Pro-MPEG FEC on RTP dynamic payload type 96", - "Enable this option to recognise all traffic on RTP dynamic payload type 96 (0x60) " - "as FEC data corresponding to Pro-MPEG Code of Practice #3 release 2", - &dissect_fec); + "Decode Pro-MPEG FEC on RTP dynamic payload type 96", + "Enable this option to recognise all traffic on RTP dynamic payload type 96 (0x60) " + "as FEC data corresponding to Pro-MPEG Code of Practice #3 release 2", + &dissect_fec); } @@ -353,10 +353,10 @@ void proto_reg_handoff_2dparityfec(void) * * Local Variables: * c-basic-offset: 3 - * tab-width: 3 + * tab-width: 8 * indent-tabs-mode: nil * End: * - * ex: set shiftwidth=3 tabstop=3 expandtab: - * :indentSize=3:tabSize=3:noTabs=true: + * ex: set shiftwidth=3 tabstop=8 expandtab: + * :indentSize=3:tabSize=8:noTabs=true: */ |