diff options
author | Bill Meier <wmeier@newsguy.com> | 2014-10-03 10:09:34 -0400 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2014-10-03 14:28:17 +0000 |
commit | 451de17929eaa48af07bfc6154a9603318121562 (patch) | |
tree | 0b11241b1262873e179318e2c17caeda8238c55d | |
parent | b15914f5a17fe2d6a31ca6f0ffcef43e4969aac3 (diff) | |
download | wireshark-451de17929eaa48af07bfc6154a9603318121562.tar.gz |
packet-aim-messaging.c: Add editor modelines; reformat various (including hf[] entries).
Change-Id: Ie5973a717a80ba75b82e817cb9e30c3529afbb0c
Reviewed-on: https://code.wireshark.org/review/4441
Reviewed-by: Bill Meier <wmeier@newsguy.com>
-rw-r--r-- | epan/dissectors/packet-aim-messaging.c | 281 |
1 files changed, 176 insertions, 105 deletions
diff --git a/epan/dissectors/packet-aim-messaging.c b/epan/dissectors/packet-aim-messaging.c index ed7d917086..3ef444a81d 100644 --- a/epan/dissectors/packet-aim-messaging.c +++ b/epan/dissectors/packet-aim-messaging.c @@ -51,13 +51,13 @@ void proto_reg_handoff_aim_messaging(void); #define INCOMING_CH1_TYPING 0x000b static const aim_tlv aim_messaging_incoming_ch1_tlvs[] = { - { INCOMING_CH1_MESSAGE_BLOCK, "Message Block", dissect_aim_tlv_value_messageblock }, - { INCOMING_CH1_SERVER_ACK_REQ, "Server Ack Requested", dissect_aim_tlv_value_bytes }, + { INCOMING_CH1_MESSAGE_BLOCK, "Message Block", dissect_aim_tlv_value_messageblock }, + { INCOMING_CH1_SERVER_ACK_REQ, "Server Ack Requested", dissect_aim_tlv_value_bytes }, { INCOMING_CH1_MESSAGE_AUTH_RESP, "Message is Auto Response", dissect_aim_tlv_value_bytes }, - { INCOMING_CH1_MESSAGE_OFFLINE, "Message was received offline", dissect_aim_tlv_value_bytes }, - { INCOMING_CH1_ICON_PRESENT, "Icon present", dissect_aim_tlv_value_bytes }, - { INCOMING_CH1_BUDDY_REQ, "Buddy Req", dissect_aim_tlv_value_bytes }, - { INCOMING_CH1_TYPING, "Non-direct connect typing notification", dissect_aim_tlv_value_bytes }, + { INCOMING_CH1_MESSAGE_OFFLINE, "Message was received offline", dissect_aim_tlv_value_bytes }, + { INCOMING_CH1_ICON_PRESENT, "Icon present", dissect_aim_tlv_value_bytes }, + { INCOMING_CH1_BUDDY_REQ, "Buddy Req", dissect_aim_tlv_value_bytes }, + { INCOMING_CH1_TYPING, "Non-direct connect typing notification", dissect_aim_tlv_value_bytes }, { 0, NULL, NULL }, }; @@ -68,7 +68,7 @@ static int dissect_aim_tlv_value_extended_data(proto_item *ti, guint16 valueid _ #define ICBM_CHANNEL_RENDEZVOUS 0x0002 static const value_string icbm_channel_types[] = { - { ICBM_CHANNEL_IM, "IM" }, + { ICBM_CHANNEL_IM, "IM" }, { ICBM_CHANNEL_RENDEZVOUS, "Rendezvous" }, { 0, NULL }, }; @@ -110,36 +110,36 @@ static const aim_tlv aim_messaging_incoming_ch2_tlvs[] = { #define RENDEZVOUS_TLV_ICHAT_INVITEES_DATA 0x277E static const aim_tlv aim_rendezvous_tlvs[] = { - { RENDEZVOUS_TLV_CHANNEL, "Rendezvous ICBM Channel", dissect_aim_tlv_value_uint16 }, - { RENDEZVOUS_TLV_IP_ADDR, "Rendezvous IP", dissect_aim_tlv_value_ipv4 }, - { RENDEZVOUS_TLV_INT_IP, "Internal IP", dissect_aim_tlv_value_ipv4 }, - { RENDEZVOUS_TLV_EXT_IP, "External IP", dissect_aim_tlv_value_ipv4 }, - { RENDEZVOUS_TLV_EXT_PORT, "External Port", dissect_aim_tlv_value_uint16 }, - { RENDEZVOUS_TLV_DOWNLOAD_URL, "Service Support Download URL", dissect_aim_tlv_value_string }, + { RENDEZVOUS_TLV_CHANNEL, "Rendezvous ICBM Channel", dissect_aim_tlv_value_uint16 }, + { RENDEZVOUS_TLV_IP_ADDR, "Rendezvous IP", dissect_aim_tlv_value_ipv4 }, + { RENDEZVOUS_TLV_INT_IP, "Internal IP", dissect_aim_tlv_value_ipv4 }, + { RENDEZVOUS_TLV_EXT_IP, "External IP", dissect_aim_tlv_value_ipv4 }, + { RENDEZVOUS_TLV_EXT_PORT, "External Port", dissect_aim_tlv_value_uint16 }, + { RENDEZVOUS_TLV_DOWNLOAD_URL, "Service Support Download URL", dissect_aim_tlv_value_string }, { RENDEZVOUS_TLV_VERIFIED_DOWNLOAD_URL, "Verified Service Support Download URL", dissect_aim_tlv_value_string }, - { RENDEZVOUS_TLV_SEQ_NUM, "Sequence Number", dissect_aim_tlv_value_uint16 }, - { RENDEZVOUS_TLV_CANCEL_REASON, "Cancel Reason", dissect_aim_tlv_value_uint16 }, - { RENDEZVOUS_TLV_INVITATION, "Invitation Text", dissect_aim_tlv_value_string }, - { RENDEZVOUS_TLV_INVITE_MIME_CHARSET, "Data MIME Type", dissect_aim_tlv_value_string }, - { RENDEZVOUS_TLV_INVITE_MIME_LANG, "Data Language", dissect_aim_tlv_value_string }, - { RENDEZVOUS_TLV_REQ_HOST_CHECK, "Request Host Check", NULL }, - { RENDEZVOUS_TLV_REQ_USE_ARS, "Request Data via Rendezvous Server", NULL }, - { RENDEZVOUS_TLV_REQ_SECURE, "Request SSL Connection", NULL }, - { RENDEZVOUS_TLV_MAX_PROTOCOL_VER, "Maximum Protocol Version", dissect_aim_tlv_value_uint16 }, - { RENDEZVOUS_TLV_MIN_PROTOCOL_VER, "Minimum Protocol Version", dissect_aim_tlv_value_uint16 }, - { RENDEZVOUS_TLV_COUNTER_REASON, "Counter Proposal Reason", dissect_aim_tlv_value_uint16 }, - { RENDEZVOUS_TLV_INVITE_MIME_TYPE, "Data MIME Type", dissect_aim_tlv_value_string }, - { RENDEZVOUS_TLV_IP_ADDR_XOR, "XORed Rendezvous IP", dissect_aim_tlv_value_ipv4 }, - { RENDEZVOUS_TLV_PORT_XOR, "XORed Port", dissect_aim_tlv_value_uint16 }, - { RENDEZVOUS_TLV_ADDR_LIST, "Address/Port List", dissect_aim_tlv_value_string08_array }, - { RENDEZVOUS_TLV_SESSION_ID, "Session ID", dissect_aim_tlv_value_string }, - { RENDEZVOUS_TLV_ROLLOVER_ID, "Rollover ID", dissect_aim_tlv_value_string }, + { RENDEZVOUS_TLV_SEQ_NUM, "Sequence Number", dissect_aim_tlv_value_uint16 }, + { RENDEZVOUS_TLV_CANCEL_REASON, "Cancel Reason", dissect_aim_tlv_value_uint16 }, + { RENDEZVOUS_TLV_INVITATION, "Invitation Text", dissect_aim_tlv_value_string }, + { RENDEZVOUS_TLV_INVITE_MIME_CHARSET, "Data MIME Type", dissect_aim_tlv_value_string }, + { RENDEZVOUS_TLV_INVITE_MIME_LANG, "Data Language", dissect_aim_tlv_value_string }, + { RENDEZVOUS_TLV_REQ_HOST_CHECK, "Request Host Check", NULL }, + { RENDEZVOUS_TLV_REQ_USE_ARS, "Request Data via Rendezvous Server", NULL }, + { RENDEZVOUS_TLV_REQ_SECURE, "Request SSL Connection", NULL }, + { RENDEZVOUS_TLV_MAX_PROTOCOL_VER, "Maximum Protocol Version", dissect_aim_tlv_value_uint16 }, + { RENDEZVOUS_TLV_MIN_PROTOCOL_VER, "Minimum Protocol Version", dissect_aim_tlv_value_uint16 }, + { RENDEZVOUS_TLV_COUNTER_REASON, "Counter Proposal Reason", dissect_aim_tlv_value_uint16 }, + { RENDEZVOUS_TLV_INVITE_MIME_TYPE, "Data MIME Type", dissect_aim_tlv_value_string }, + { RENDEZVOUS_TLV_IP_ADDR_XOR, "XORed Rendezvous IP", dissect_aim_tlv_value_ipv4 }, + { RENDEZVOUS_TLV_PORT_XOR, "XORed Port", dissect_aim_tlv_value_uint16 }, + { RENDEZVOUS_TLV_ADDR_LIST, "Address/Port List", dissect_aim_tlv_value_string08_array }, + { RENDEZVOUS_TLV_SESSION_ID, "Session ID", dissect_aim_tlv_value_string }, + { RENDEZVOUS_TLV_ROLLOVER_ID, "Rollover ID", dissect_aim_tlv_value_string }, /* The dissect_aim_tlv_value_extended_data function does not work for iChat generated rendezvous data - { RENDEZVOUS_TLV_EXTENDED_DATA, "Extended Data", dissect_aim_tlv_value_extended_data }, + { RENDEZVOUS_TLV_EXTENDED_DATA, "Extended Data", dissect_aim_tlv_value_extended_data }, */ - { RENDEZVOUS_TLV_EXTENDED_DATA, "Extended Data", NULL }, - { RENDEZVOUS_TLV_ICHAT_INVITEES_DATA, "iChat Invitees Data", NULL }, + { RENDEZVOUS_TLV_EXTENDED_DATA, "Extended Data", NULL }, + { RENDEZVOUS_TLV_ICHAT_INVITEES_DATA, "iChat Invitees Data", NULL }, { 0, NULL, NULL }, }; @@ -148,9 +148,9 @@ static const aim_tlv aim_rendezvous_tlvs[] = { #define MINITYPING_BEGUN_SIGN 0x0002 static const value_string minityping_type[] _U_ = { - {MINITYPING_FINISHED_SIGN, "Typing finished sign" }, + {MINITYPING_FINISHED_SIGN, "Typing finished sign" }, {MINITYPING_TEXT_TYPED_SIGN, "Text typed sign" }, - {MINITYPING_BEGUN_SIGN, "Typing begun sign" }, + {MINITYPING_BEGUN_SIGN, "Typing begun sign" }, {0, NULL } }; @@ -160,8 +160,8 @@ static const value_string minityping_type[] _U_ = { static const value_string rendezvous_msg_types[] = { { RENDEZVOUS_MSG_REQUEST, "Request" }, - { RENDEZVOUS_MSG_CANCEL, "Cancel" }, - { RENDEZVOUS_MSG_ACCEPT, "Accept" }, + { RENDEZVOUS_MSG_CANCEL, "Cancel" }, + { RENDEZVOUS_MSG_ACCEPT, "Accept" }, { 0, NULL }, }; @@ -171,8 +171,8 @@ static const value_string rendezvous_msg_types[] = { static const value_string client_err_reason_types[] = { { CLIENT_ERR__REASON_UNSUPPORTED_CHANNEL, "Unsupported Channel" }, - { CLIENT_ERR__REASON_BUSTED_PAYLOAD, "Busted Payload" }, - { CLIENT_ERR__REASON_CHANNEL_SPECIFIC, "Channel Specific Error" }, + { CLIENT_ERR__REASON_BUSTED_PAYLOAD, "Busted Payload" }, + { CLIENT_ERR__REASON_CHANNEL_SPECIFIC, "Channel Specific Error" }, { 0, NULL }, }; @@ -190,18 +190,18 @@ static const value_string client_err_reason_types[] = { #define RENDEZVOUS_NAK_SERVICE_SPECIFIC_REASON 15 static const value_string rendezvous_nak_reason_types[] = { - { RENDEZVOUS_NAK_PROPOSAL_UNSUPPORTED, "Proposal UUID not supported" }, - { RENDEZVOUS_NAK_PROPOSAL_DENIED, "Not authorized, or user declined" }, - { RENDEZVOUS_NAK_PROPOSAL_IGNORED, "Proposal ignored" }, - { RENDEZVOUS_NAK_BUSTED_PARAMETERS, "Proposal malformed" }, - { RENDEZVOUS_NAK_PROPOSAL_TIMED_OUT, "Attempt to act on proposal (e.g. connect) timed out" }, + { RENDEZVOUS_NAK_PROPOSAL_UNSUPPORTED, "Proposal UUID not supported" }, + { RENDEZVOUS_NAK_PROPOSAL_DENIED, "Not authorized, or user declined" }, + { RENDEZVOUS_NAK_PROPOSAL_IGNORED, "Proposal ignored" }, + { RENDEZVOUS_NAK_BUSTED_PARAMETERS, "Proposal malformed" }, + { RENDEZVOUS_NAK_PROPOSAL_TIMED_OUT, "Attempt to act on proposal (e.g. connect) timed out" }, { RENDEZVOUS_NAK_ONLINE_BUT_NOT_AVAILABLE, "Recipient away or busy" }, - { RENDEZVOUS_NAK_INSUFFICIENT_RESOURCES, "Recipient had internal error" }, - { RENDEZVOUS_NAK_RATE_LIMITED, "Recipient was ratelimited" }, - { RENDEZVOUS_NAK_NO_DATA, "Recipient had nothing to send" }, - { RENDEZVOUS_NAK_VERSION_MISMATCH, "Incompatible versions" }, - { RENDEZVOUS_NAK_SECURITY_MISMATCH, "Incompatible security settings" }, - { RENDEZVOUS_NAK_SERVICE_SPECIFIC_REASON, "Service-specific reject defined by client" }, + { RENDEZVOUS_NAK_INSUFFICIENT_RESOURCES, "Recipient had internal error" }, + { RENDEZVOUS_NAK_RATE_LIMITED, "Recipient was ratelimited" }, + { RENDEZVOUS_NAK_NO_DATA, "Recipient had nothing to send" }, + { RENDEZVOUS_NAK_VERSION_MISMATCH, "Incompatible versions" }, + { RENDEZVOUS_NAK_SECURITY_MISMATCH, "Incompatible security settings" }, + { RENDEZVOUS_NAK_SERVICE_SPECIFIC_REASON, "Service-specific reject defined by client" }, { 0, NULL }, }; @@ -225,24 +225,24 @@ static const value_string rendezvous_nak_reason_types[] = { #define EXTENDED_DATA_MTYPE_AUTOFFC 0xEC static const value_string extended_data_message_types[] = { - {EXTENDED_DATA_MTYPE_PLAIN, "Plain text (simple) message"}, - {EXTENDED_DATA_MTYPE_CHAT, "Chat request message"}, - {EXTENDED_DATA_MTYPE_FILEREQ, "File request / file ok message"}, - {EXTENDED_DATA_MTYPE_URL, "URL message (0xFE formatted)"}, - {EXTENDED_DATA_MTYPE_AUTHREQ, "Authorization request message (0xFE formatted)"}, + {EXTENDED_DATA_MTYPE_PLAIN, "Plain text (simple) message"}, + {EXTENDED_DATA_MTYPE_CHAT, "Chat request message"}, + {EXTENDED_DATA_MTYPE_FILEREQ, "File request / file ok message"}, + {EXTENDED_DATA_MTYPE_URL, "URL message (0xFE formatted)"}, + {EXTENDED_DATA_MTYPE_AUTHREQ, "Authorization request message (0xFE formatted)"}, {EXTENDED_DATA_MTYPE_AUTHDENY, "Authorization denied message (0xFE formatted)"}, - {EXTENDED_DATA_MTYPE_AUTHOK, "Authorization given message (empty)"}, - {EXTENDED_DATA_MTYPE_SERVER, "Message from OSCAR server (0xFE formatted)"}, - {EXTENDED_DATA_MTYPE_ADDED, "\"You-were-added\" message (0xFE formatted)"}, - {EXTENDED_DATA_MTYPE_WWP, "Web pager message (0xFE formatted)"}, + {EXTENDED_DATA_MTYPE_AUTHOK, "Authorization given message (empty)"}, + {EXTENDED_DATA_MTYPE_SERVER, "Message from OSCAR server (0xFE formatted)"}, + {EXTENDED_DATA_MTYPE_ADDED, "\"You-were-added\" message (0xFE formatted)"}, + {EXTENDED_DATA_MTYPE_WWP, "Web pager message (0xFE formatted)"}, {EXTENDED_DATA_MTYPE_EEXPRESS, "Email express message (0xFE formatted)"}, {EXTENDED_DATA_MTYPE_CONTACTS, "Contact list message"}, - {EXTENDED_DATA_MTYPE_PLUGIN, "Plugin message described by text string"}, + {EXTENDED_DATA_MTYPE_PLUGIN, "Plugin message described by text string"}, {EXTENDED_DATA_MTYPE_AUTOAWAY, "Auto away message"}, {EXTENDED_DATA_MTYPE_AUTOBUSY, "Auto occupied message"}, - {EXTENDED_DATA_MTYPE_AUTONA, "Auto not available message"}, - {EXTENDED_DATA_MTYPE_AUTODND, "Auto do not disturb message"}, - {EXTENDED_DATA_MTYPE_AUTOFFC, "Auto free for chat message"}, + {EXTENDED_DATA_MTYPE_AUTONA, "Auto not available message"}, + {EXTENDED_DATA_MTYPE_AUTODND, "Auto do not disturb message"}, + {EXTENDED_DATA_MTYPE_AUTOFFC, "Auto free for chat message"}, { 0, NULL }, }; @@ -254,7 +254,7 @@ static const value_string extended_data_message_types[] = { #define EVIL_ORIGIN_NONANONYMOUS 2 static const value_string evil_origins[] = { - {EVIL_ORIGIN_ANONYMOUS, "Anonymous"}, + {EVIL_ORIGIN_ANONYMOUS, "Anonymous"}, {EVIL_ORIGIN_NONANONYMOUS, "Non-Anonymous"}, {0, NULL }, }; @@ -627,18 +627,18 @@ dissect_aim_msg_client_err(tvbuff_t *tvb, packet_info *pinfo, proto_tree *msg_tr } static const aim_subtype aim_fnac_family_messaging[] = { - { 0x0001, "Error", dissect_aim_snac_error }, - { 0x0002, "Set ICBM Parameter", dissect_aim_msg_params }, - { 0x0003, "Reset ICBM Parameter", NULL }, - { 0x0004, "Request Parameter Info", NULL}, - { 0x0005, "Parameter Info", dissect_aim_msg_params }, - { 0x0006, "Outgoing", dissect_aim_msg_outgoing }, - { 0x0007, "Incoming", dissect_aim_msg_incoming }, - { 0x0008, "Evil Request", dissect_aim_msg_evil_req }, - { 0x0009, "Evil Response", dissect_aim_msg_evil_repl }, - { 0x000a, "Missed Call", NULL }, - { 0x000b, "Client Error", dissect_aim_msg_client_err }, - { 0x000c, "Acknowledge", dissect_aim_msg_ack }, + { 0x0001, "Error", dissect_aim_snac_error }, + { 0x0002, "Set ICBM Parameter", dissect_aim_msg_params }, + { 0x0003, "Reset ICBM Parameter", NULL }, + { 0x0004, "Request Parameter Info", NULL}, + { 0x0005, "Parameter Info", dissect_aim_msg_params }, + { 0x0006, "Outgoing", dissect_aim_msg_outgoing }, + { 0x0007, "Incoming", dissect_aim_msg_incoming }, + { 0x0008, "Evil Request", dissect_aim_msg_evil_req }, + { 0x0009, "Evil Response", dissect_aim_msg_evil_repl }, + { 0x000a, "Missed Call", NULL }, + { 0x000b, "Client Error", dissect_aim_msg_client_err }, + { 0x000c, "Acknowledge", dissect_aim_msg_ack }, { 0x0014, "Mini Typing Notifications (MTN)", dissect_aim_msg_minityping }, { 0, NULL, NULL } }; @@ -653,92 +653,150 @@ proto_register_aim_messaging(void) /* Setup list of header fields */ static hf_register_info hf[] = { { &hf_aim_icbm_channel, - { "Channel", "aim_messaging.icbm.channel", FT_UINT16, BASE_HEX, VALS(icbm_channel_types), 0x0, NULL, HFILL }, + { "Channel", "aim_messaging.icbm.channel", + FT_UINT16, BASE_HEX, VALS(icbm_channel_types), 0x0, + NULL, HFILL } }, { &hf_aim_icbm_msg_flags, - { "Message Flags", "aim_messaging.icbm.flags", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL }, + { "Message Flags", "aim_messaging.icbm.flags", + FT_UINT32, BASE_HEX, NULL, 0x0, + NULL, HFILL } }, { &hf_aim_icbm_max_snac_size, - { "Max SNAC Size", "aim_messaging.icbm.max_snac", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }, + { "Max SNAC Size", "aim_messaging.icbm.max_snac", + FT_UINT16, BASE_HEX, NULL, 0x0, + NULL, HFILL } }, { &hf_aim_icbm_max_sender_warnlevel, - { "Max sender warn level", "aim_messaging.icbm.max_sender_warn-level", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }, + { "Max sender warn level", "aim_messaging.icbm.max_sender_warn-level", + FT_UINT16, BASE_HEX, NULL, 0x0, + NULL, HFILL } }, { &hf_aim_icbm_max_receiver_warnlevel, - { "max receiver warn level", "aim_messaging.icbm.max_receiver_warnlevel", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }, + { "max receiver warn level", "aim_messaging.icbm.max_receiver_warnlevel", + FT_UINT16, BASE_HEX, NULL, 0x0, + NULL, HFILL } }, { &hf_aim_icbm_min_msg_interval, - { "Minimum message interval (milliseconds)", "aim_messaging.icbm.min_msg_interval", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL }, + { "Minimum message interval (milliseconds)", "aim_messaging.icbm.min_msg_interval", + FT_UINT32, BASE_DEC, NULL, 0x0, + NULL, HFILL } }, { &hf_aim_icbm_cookie, - { "ICBM Cookie", "aim_messaging.icbmcookie", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL } + { "ICBM Cookie", "aim_messaging.icbmcookie", + FT_BYTES, BASE_NONE, NULL, 0x0, + NULL, HFILL } }, { &hf_aim_message_channel_id, - { "Message Channel ID", "aim_messaging.channelid", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } + { "Message Channel ID", "aim_messaging.channelid", + FT_UINT16, BASE_HEX, NULL, 0x0, + NULL, HFILL } }, { &hf_aim_icbm_evil, - { "Send Evil Bit As", "aim_messaging.evilreq.origin", FT_UINT16, BASE_DEC, VALS(evil_origins), 0x0, NULL, HFILL }, + { "Send Evil Bit As", "aim_messaging.evilreq.origin", + FT_UINT16, BASE_DEC, VALS(evil_origins), 0x0, + NULL, HFILL } }, { &hf_aim_evil_warn_level, - { "Old warning level", "aim_messaging.evil.warn_level", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }, + { "Old warning level", "aim_messaging.evil.warn_level", + FT_UINT16, BASE_DEC, NULL, 0x0, + NULL, HFILL } }, { &hf_aim_evil_new_warn_level, - { "New warning level", "aim_messaging.evil.new_warn_level", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }, + { "New warning level", "aim_messaging.evil.new_warn_level", + FT_UINT16, BASE_DEC, NULL, 0x0, + NULL, HFILL } }, { &hf_aim_icbm_notification_cookie, - { "Notification Cookie", "aim_messaging.notification.cookie", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }, + { "Notification Cookie", "aim_messaging.notification.cookie", + FT_BYTES, BASE_NONE, NULL, 0x0, + NULL, HFILL } }, { &hf_aim_icbm_notification_channel, - { "Notification Channel", "aim_messaging.notification.channel", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }, + { "Notification Channel", "aim_messaging.notification.channel", + FT_UINT16, BASE_DEC, NULL, 0x0, + NULL, HFILL } }, { &hf_aim_icbm_notification_type, - { "Notification Type", "aim_messaging.notification.type", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }, + { "Notification Type", "aim_messaging.notification.type", + FT_UINT16, BASE_DEC, NULL, 0x0, + NULL, HFILL } }, { &hf_aim_icbm_rendezvous_nak, - { "Rendezvous NAK reason", "aim_messaging.rendezvous_nak", FT_UINT16, BASE_HEX, VALS(rendezvous_nak_reason_types), 0x0, NULL, HFILL }, + { "Rendezvous NAK reason", "aim_messaging.rendezvous_nak", + FT_UINT16, BASE_HEX, VALS(rendezvous_nak_reason_types), 0x0, + NULL, HFILL } }, { &hf_aim_icbm_rendezvous_nak_length, - { "Rendezvous NAK reason length", "aim_messaging.rendezvous_nak_length", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }, + { "Rendezvous NAK reason length", "aim_messaging.rendezvous_nak_length", + FT_UINT16, BASE_HEX, NULL, 0x0, + NULL, HFILL } }, { &hf_aim_rendezvous_msg_type, - { "Message Type", "aim_messaging.rendezvous.msg_type", FT_UINT16, BASE_HEX, VALS(rendezvous_msg_types), 0x0, NULL, HFILL }, + { "Message Type", "aim_messaging.rendezvous.msg_type", + FT_UINT16, BASE_HEX, VALS(rendezvous_msg_types), 0x0, + NULL, HFILL } }, { &hf_aim_icbm_client_err_reason, - { "Reason", "aim_messaging.clienterr.reason", FT_UINT16, BASE_DEC, VALS(client_err_reason_types), 0x0, NULL, HFILL }, + { "Reason", "aim_messaging.clienterr.reason", + FT_UINT16, BASE_DEC, VALS(client_err_reason_types), 0x0, + NULL, HFILL } }, { &hf_aim_icbm_client_err_protocol_version, - { "Version", "aim_messaging.clienterr.protocol_version", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }, + { "Version", "aim_messaging.clienterr.protocol_version", + FT_UINT16, BASE_DEC, NULL, 0x0, + NULL, HFILL } }, { &hf_aim_icbm_client_err_client_caps_flags, - { "Client Capabilities Flags", "aim_messaging.clienterr.client_caps_flags", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL }, + { "Client Capabilities Flags", "aim_messaging.clienterr.client_caps_flags", + FT_UINT32, BASE_HEX, NULL, 0x0, + NULL, HFILL } }, { &hf_aim_rendezvous_extended_data_message_type, - { "Message Type", "aim_messaging.icbm.extended_data.message.type", FT_UINT8, BASE_HEX, VALS(extended_data_message_types), 0x0, NULL, HFILL }, + { "Message Type", "aim_messaging.icbm.extended_data.message.type", + FT_UINT8, BASE_HEX, VALS(extended_data_message_types), 0x0, + NULL, HFILL } }, { &hf_aim_rendezvous_extended_data_message_flags, - { "Message Flags", "aim_messaging.icbm.extended_data.message.flags", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }, + { "Message Flags", "aim_messaging.icbm.extended_data.message.flags", + FT_UINT8, BASE_HEX, NULL, 0x0, + NULL, HFILL } }, { &hf_aim_rendezvous_extended_data_message_flags_normal, - { "Normal Message", "aim_messaging.icbm.extended_data.message.flags.normal", FT_BOOLEAN, 16, TFS(&tfs_set_notset), EXTENDED_DATA_MFLAG_NORMAL, NULL, HFILL }, + { "Normal Message", "aim_messaging.icbm.extended_data.message.flags.normal", + FT_BOOLEAN, 16, TFS(&tfs_set_notset), EXTENDED_DATA_MFLAG_NORMAL, + NULL, HFILL } }, { &hf_aim_rendezvous_extended_data_message_flags_auto, - { "Auto Message", "aim_messaging.icbm.extended_data.message.flags.auto", FT_BOOLEAN, 16, TFS(&tfs_set_notset), EXTENDED_DATA_MFLAG_AUTO, NULL, HFILL }, + { "Auto Message", "aim_messaging.icbm.extended_data.message.flags.auto", + FT_BOOLEAN, 16, TFS(&tfs_set_notset), EXTENDED_DATA_MFLAG_AUTO, + NULL, HFILL } }, { &hf_aim_rendezvous_extended_data_message_flags_multi, - { "Multiple Recipients Message", "aim_messaging.icbm.rendezvous.extended_data.message.flags.multi", FT_BOOLEAN, 16, TFS(&tfs_set_notset), EXTENDED_DATA_MFLAG_MULTI, NULL, HFILL }, + { "Multiple Recipients Message", "aim_messaging.icbm.rendezvous.extended_data.message.flags.multi", + FT_BOOLEAN, 16, TFS(&tfs_set_notset), EXTENDED_DATA_MFLAG_MULTI, + NULL, HFILL } }, { &hf_aim_rendezvous_extended_data_message_status_code, - { "Status Code", "aim_messaging.icbm.extended_data.message.status_code", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }, + { "Status Code", "aim_messaging.icbm.extended_data.message.status_code", + FT_UINT16, BASE_DEC, NULL, 0x0, + NULL, HFILL } }, { &hf_aim_rendezvous_extended_data_message_priority_code, - { "Priority Code", "aim_messaging.icbm.extended_data.message.priority_code", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }, + { "Priority Code", "aim_messaging.icbm.extended_data.message.priority_code", + FT_UINT16, BASE_DEC, NULL, 0x0, + NULL, HFILL } }, { &hf_aim_rendezvous_extended_data_message_text_length, - { "Text Length", "aim_messaging.icbm.extended_data.message.text_length", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }, + { "Text Length", "aim_messaging.icbm.extended_data.message.text_length", + FT_UINT16, BASE_DEC, NULL, 0x0, + NULL, HFILL } }, #if 0 { &hf_aim_rendezvous_extended_data_message_text, - { "Text", "aim_messaging.icbm.extended_data.message.text", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }, + { "Text", "aim_messaging.icbm.extended_data.message.text", + FT_STRING, BASE_NONE, NULL, 0x0, + NULL, HFILL } } #endif }; @@ -764,3 +822,16 @@ proto_reg_handoff_aim_messaging(void) { aim_init_family(proto_aim_messaging, ett_aim_messaging, FAMILY_MESSAGING, aim_fnac_family_messaging); } + +/* + * Editor modelines - http://www.wireshark.org/tools/modelines.html + * + * Local variables: + * c-basic-offset: 8 + * tab-width: 8 + * indent-tabs-mode: t + * End: + * + * vi: set shiftwidth=8 tabstop=8 noexpandtab: + * :indentSize=8:tabSize=8:noTabs=false: + */ |