diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-11-05 21:39:31 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-11-05 21:39:31 +0000 |
commit | 6e106799101fbc04933b3ef9cfc8712123ced4d2 (patch) | |
tree | 1e68fa86088b0691154111eff0ac9bca19d59ecb | |
parent | 3a1aafc4153b9fd33bf966fb9e6c55d8f5919e7b (diff) |
Move smb.trans2.cmd and smb.nt.function near the top of the hf[] array,
so they show up near the top of the list of fields in the dialog box for
adding a field to a filter - those are probably quite likely to be used
in filter expressions where you don't happen to remember the name of the
field, and those should show up at the top so you don't have to scroll
through the entire list of fields to find them. (I suspect most other
fields either will rarely be filtered on at all, or would be filtered
only mainly with the "Match" or "Prepare" filter items, where you don't
need to know the name or even the text of the field.)
svn path=/trunk/; revision=12489
-rw-r--r-- | epan/dissectors/packet-smb.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/epan/dissectors/packet-smb.c b/epan/dissectors/packet-smb.c index 529fdf6bde..953eea29d9 100644 --- a/epan/dissectors/packet-smb.c +++ b/epan/dissectors/packet-smb.c @@ -15051,6 +15051,14 @@ proto_register_smb(void) { "SMB Command", "smb.cmd", FT_UINT8, BASE_HEX, VALS(smb_cmd_vals), 0x0, "SMB Command", HFILL }}, + { &hf_smb_trans2_subcmd, + { "Subcommand", "smb.trans2.cmd", FT_UINT16, BASE_HEX, + VALS(trans2_cmd_vals), 0, "Subcommand for TRANSACTION2", HFILL }}, + + { &hf_smb_nt_trans_subcmd, + { "Function", "smb.nt.function", FT_UINT16, BASE_DEC, + VALS(nt_cmd_vals), 0, "Function for NT Transaction", HFILL }}, + { &hf_smb_word_count, { "Word Count (WCT)", "smb.wct", FT_UINT8, BASE_DEC, NULL, 0x0, "Word Count, count of parameter words", HFILL }}, @@ -16091,10 +16099,6 @@ proto_register_smb(void) { "Setup Count", "smb.sc", FT_UINT8, BASE_DEC, NULL, 0, "Number of setup words in this buffer", HFILL }}, - { &hf_smb_nt_trans_subcmd, - { "Function", "smb.nt.function", FT_UINT16, BASE_DEC, - VALS(nt_cmd_vals), 0, "Function for NT Transaction", HFILL }}, - { &hf_smb_nt_ioctl_function_code, { "Function", "smb.nt.ioctl.function", FT_UINT32, BASE_HEX, NULL, 0, "NT IOCTL function code", HFILL }}, @@ -16618,10 +16622,6 @@ proto_register_smb(void) { "Cancel to", "smb.cancel_to", FT_FRAMENUM, BASE_NONE, NULL, 0, "This packet is a cancellation of the packet in this frame", HFILL }}, - { &hf_smb_trans2_subcmd, - { "Subcommand", "smb.trans2.cmd", FT_UINT16, BASE_HEX, - VALS(trans2_cmd_vals), 0, "Subcommand for TRANSACTION2", HFILL }}, - { &hf_smb_trans_name, { "Transaction Name", "smb.trans_name", FT_STRING, BASE_NONE, NULL, 0, "Name of transaction", HFILL }}, |