summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-ncp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-01-11 20:46:04 -0800
committerGuy Harris <guy@alum.mit.edu>2016-01-12 04:46:32 +0000
commiteaf59eb4729007cbeb3f37e264ef509b35685e0f (patch)
tree4f6175287c56a4f6282717192c31d3f338757925 /epan/dissectors/packet-ncp.c
parent3c37c8dd63d988e82b23b5ff21193f424c325b9f (diff)
downloadwireshark-eaf59eb4729007cbeb3f37e264ef509b35685e0f.tar.gz
Move definitions of value_string tables into packet-ncp.c.
Make most of them static; make the ones used in more than one file public, and declare them in packet-ncp-int.h. Change-Id: If3df3bda33239d1ad3145b10d375ed76d632d4a9 Reviewed-on: https://code.wireshark.org/review/13202 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-ncp.c')
-rw-r--r--epan/dissectors/packet-ncp.c185
1 files changed, 185 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ncp.c b/epan/dissectors/packet-ncp.c
index bcc561e47f..b1904c8617 100644
--- a/epan/dissectors/packet-ncp.c
+++ b/epan/dissectors/packet-ncp.c
@@ -222,6 +222,191 @@ enum ncp_table_values
#define NCP_NUM_PROCEDURES 0
+static const value_string ncp_group_vals[] = {
+ { 0, "Synchronization" },
+ { 1, "Print" },
+ { 2, "File System" },
+ { 3, "Connection" },
+ { 4, "File Server Environment" },
+ { 5, "Message" },
+ { 6, "Bindery" },
+ { 7, "Queue Management System (QMS)" },
+ { 8, "Accounting" },
+ { 9, "Transaction Tracking" },
+ { 10, "AFP" },
+ { 11, "NCP Extension" },
+ { 12, "Extended Attribute" },
+ { 13, "Auditing" },
+ { 14, "Enhanced File System" },
+ { 15, "Migration" },
+ { 16, "Novell Modular Authentication Services (NMAS)" },
+ { 17, "Secret Store Services (SSS)" },
+ { 18, "Packet Burst" },
+ { 19, "Novell Directory Services (NDS)" },
+ { 20, "Time Synchronization" },
+ { 21, "Server Statistics" },
+ { 22, "Remote" },
+ { 0, NULL}
+};
+
+WS_DLL_PUBLIC_DEF const value_string sss_verb_enum[] = {
+ { 0x00000000, "Query Server" },
+ { 0x00000001, "Read App Secrets" },
+ { 0x00000002, "Write App Secrets" },
+ { 0x00000003, "Add Secret ID" },
+ { 0x00000004, "Remove Secret ID" },
+ { 0x00000005, "Remove SecretStore" },
+ { 0x00000006, "Enumerate Secret IDs" },
+ { 0x00000007, "Unlock Store" },
+ { 0x00000008, "Set Master Password" },
+ { 0x00000009, "Get Service Information" },
+ { 0x000000ff, "Fragment"},
+ { 0x00000000, NULL}
+};
+
+WS_DLL_PUBLIC_DEF const value_string nmas_subverb_enum[] = {
+ { 0, "Fragmented Ping" },
+ { 2, "Client Put Data" },
+ { 4, "Client Get Data" },
+ { 6, "Client Get User NDS Credentials" },
+ { 8, "Login Store Management" },
+ { 10, "Writable Object Check" },
+ { 1242, "Message Handler" },
+ { 0, NULL}
+};
+
+WS_DLL_PUBLIC_DEF const value_string ncp_nds_verb_vals[] = {
+ { 1, "Resolve Name" },
+ { 2, "Read Entry Information" },
+ { 3, "Read" },
+ { 4, "Compare" },
+ { 5, "List" },
+ { 6, "Search Entries" },
+ { 7, "Add Entry" },
+ { 8, "Remove Entry" },
+ { 9, "Modify Entry" },
+ { 10, "Modify RDN" },
+ { 11, "Create Attribute" },
+ { 12, "Read Attribute Definition" },
+ { 13, "Remove Attribute Definition" },
+ { 14, "Define Class" },
+ { 15, "Read Class Definition" },
+ { 16, "Modify Class Definition" },
+ { 17, "Remove Class Definition" },
+ { 18, "List Containable Classes" },
+ { 19, "Get Effective Rights" },
+ { 20, "Add Partition" },
+ { 21, "Remove Partition" },
+ { 22, "List Partitions" },
+ { 23, "Split Partition" },
+ { 24, "Join Partitions" },
+ { 25, "Add Replica" },
+ { 26, "Remove Replica" },
+ { 27, "Open Stream" },
+ { 28, "Search Filter" },
+ { 29, "Create Subordinate Reference" },
+ { 30, "Link Replica" },
+ { 31, "Change Replica Type" },
+ { 32, "Start Update Schema" },
+ { 33, "End Update Schema" },
+ { 34, "Update Schema" },
+ { 35, "Start Update Replica" },
+ { 36, "End Update Replica" },
+ { 37, "Update Replica" },
+ { 38, "Synchronize Partition" },
+ { 39, "Synchronize Schema" },
+ { 40, "Read Syntaxes" },
+ { 41, "Get Replica Root ID" },
+ { 42, "Begin Move Entry" },
+ { 43, "Finish Move Entry" },
+ { 44, "Release Moved Entry" },
+ { 45, "Backup Entry" },
+ { 46, "Restore Entry" },
+ { 47, "Save DIB (Obsolete)" },
+ { 48, "Control" },
+ { 49, "Remove Backlink" },
+ { 50, "Close Iteration" },
+ { 51, "Mutate Entry" },
+ { 52, "Audit Skulking" },
+ { 53, "Get Server Address" },
+ { 54, "Set Keys" },
+ { 55, "Change Password" },
+ { 56, "Verify Password" },
+ { 57, "Begin Login" },
+ { 58, "Finish Login" },
+ { 59, "Begin Authentication" },
+ { 60, "Finish Authentication" },
+ { 61, "Logout" },
+ { 62, "Repair Ring (Obsolete)" },
+ { 63, "Repair Timestamps" },
+ { 64, "Create Back Link" },
+ { 65, "Delete External Reference" },
+ { 66, "Rename External Reference" },
+ { 67, "Create Queue Entry Directory" },
+ { 68, "Remove Queue Entry Directory" },
+ { 69, "Merge Entries" },
+ { 70, "Change Tree Name" },
+ { 71, "Partition Entry Count" },
+ { 72, "Check Login Restrictions" },
+ { 73, "Start Join" },
+ { 74, "Low Level Split" },
+ { 75, "Low Level Join" },
+ { 76, "Abort Partition Operation" },
+ { 77, "Get All Servers" },
+ { 78, "Partition Function" },
+ { 79, "Read References" },
+ { 80, "Inspect Entry" },
+ { 81, "Get Remote Entry ID" },
+ { 82, "Change Security" },
+ { 83, "Check Console Operator" },
+ { 84, "Start Move Tree" },
+ { 85, "Move Tree" },
+ { 86, "End Move Tree" },
+ { 87, "Low Level Abort Join" },
+ { 88, "Check Security Equivalence" },
+ { 89, "Merge Tree" },
+ { 90, "Sync External Reference" },
+ { 91, "Resend Entry" },
+ { 92, "New Schema Epoch" },
+ { 93, "Statistics" },
+ { 94, "Ping" },
+ { 95, "Get Bindery Contexts" },
+ { 96, "Monitor Connection" },
+ { 97, "Get DS Statistics" },
+ { 98, "Reset DS Counters" },
+ { 99, "Console" },
+ { 100, "Read Stream" },
+ { 101, "Write Stream" },
+ { 102, "Create Orphan Partition" },
+ { 103, "Remove Orphan Partition" },
+ { 104, "Link Orphan Partition" },
+ { 105, "Set Distributed Reference Link (DRL)" },
+ { 106, "Available" },
+ { 107, "Available" },
+ { 108, "Verify Distributed Reference Link (DRL)" },
+ { 109, "Verify Partition" },
+ { 110, "Iterator" },
+ { 111, "Available" },
+ { 112, "Close Stream" },
+ { 113, "Available" },
+ { 114, "Read Status" },
+ { 115, "Partition Sync Status" },
+ { 116, "Read Reference Data" },
+ { 117, "Write Reference Data" },
+ { 118, "Resource Event" },
+ { 119, "DIB Request (obsolete)" },
+ { 120, "Set Replication Filter" },
+ { 121, "Get Replication Filter" },
+ { 122, "Change Attribute Definition" },
+ { 123, "Schema in Use" },
+ { 124, "Remove Keys" },
+ { 125, "Clone" },
+ { 126, "Multiple Operations Transaction" },
+ { 240, "Ping" },
+ { 255, "EDirectory Call" },
+ { 0, NULL }
+};
+
static void
ncpstat_init(struct register_srt* srt _U_, GArray* srt_array, srt_gui_init_cb gui_callback, void* gui_data)
{