home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Unsorted BBS Collection
/
thegreatunsorted.tar
/
thegreatunsorted
/
programming
/
misc_programming
/
ncp.fig
< prev
next >
Wrap
Text File
|
1993-08-12
|
25KB
|
375 lines
<DDJ Undoc Corner -- NCP -- figures>
Table 1: NCP request packet
byte 0-1 - Packet type, 2 bytes (see Table 3)
byte 2 - Packet sequence number, 1 byte
byte 3 - Server connection number, low, 1 byte
byte 4 - Client task number, 1 byte
byte 5 - Server connection number, high, 1 byte
byte 6 - NCP function code, 1 byte (see Table 4)
byte 7-8 - Subfunction length, 2 bytes, hi/lo (optional)
byte 9 - NCP subfunction code, 1 byte (optional; see Table 4)
byte 10... - Request data (optional)
;----------------------------------------------------------------------
Table 2: NCP reply packet
byte 0-1 - Packet type, 2 bytes (see Table 3)
byte 2 - Packet sequence number, 1 byte
byte 3 - Server connection number, low, 1 byte
byte 4 - Server task number, 1 byte
byte 5 - Server connection number, high, 1 byte
byte 6 - Completion code
byte 7 - Connection status
byte 8... - Reply data (optional)
;----------------------------------------------------------------------
Table 3: NCP packet types
0x1111 - Allocate Slot Request
0x2222 - Request (see Table 4)
0x3333 - Reply
0x5555 - Deallocate Slot Request
0x7777 - NCP Burst packet (request/reply)
0x9999 - Positive Acknowledge
;----------------------------------------------------------------------
Table 4: NCP functions and subfunctions
Function name Function Subfunction
code code
Abort Servicing Queue Job And File 0x17 0x73
Add Audit Property 0x58 0x02
Add Bindery Object to Set 0x17 0x41
Add Trustee to Directory 0x16 0x0D
AFP Alloc Temporary Dir Handle 0x23 0x0B
AFP Create Directory 0x23 0x01
AFP Create File 0x23 0x02
AFP Delete 0x23 0x03
AFP Get Entry ID From Name 0x23 0x04
AFP Get Entry ID From Netware Handle 0x23 0x06
AFP Get Entry ID From Path Name 0x23 0x0C
AFP Get File Information 0x23 0x05
AFP Open File Fork 0x23 0x08
AFP Rename 0x23 0x07
AFP Scan File Information 0x23 0x0A
AFP Set File Information 0x23 0x09
Allocate Permanent Directory Handle 0x16 0x12
Allocate Resource 0x0F None
Allocate Special Temporary Directory Handle 0x16 0x16
Allocate Temp NS Dir Handle 0x57 0x0C
Allocate Temporary Directory Handle 0x16 0x13
Allow Task Access To File 0x4E None
Attach Queue Server To Queue 0x17 0x6F
Broadcast to Console 0x15 0x09
Change Auditor Password 0x58 0x04
Change Bindery Object Password 0x17 0x40
Change Bindery Object Password Encrypted 0x17 0x4B
Change Bindery Object Security 0x17 0x38
Change Property Security 0x17 0x3B
Change Queue Job Entry 0x17 0x6D
Change Queue Job Position 0x17 0x6E
Change To Client Rights 0x17 0x74
Change User Password 0x17 0x01
Check Audit Access 0x58 0x05
Check Audit Level Two Access 0x58 0x16
Check Console Privileges 0x17 0xC8
Check Pipe Status 0x15 0x08
Clear Connection Number 0x17 0xD2
Clear File 0x07 None
Clear File Set 0x08 None
Clear Logical Record 0x0B None
Clear Logical Record Set 0x0E None
Clear Physical Record 0x1E None
Clear Physical Record Set 0x1F None
Clear Volume Restrictions 0x16 0x22
Close And Queue Capture File 0x11 0x01
Close Bindery 0x17 0x44
Close File And Start Job Queue 0x17 0x69
Close Message Pipe 0x15 0x07
Close Old Auditing File 0x58 0x14
Close Semaphore 0x20 0x04
Commit File 0x3D None
Create Bindery Object 0x17 0x32
Create Directory 0x16 0x0A
Create New File 0x4D None
Create Property 0x17 0x39
Create Queue 0x17 0x64
Create Queue Job And File 0x17 0x68
Deallocate Directory Handle 0x16 0x14
Deallocate Resource 0x10 None
Delete Bindery Object 0x17 0x33
Delete Bindery Object From Set 0x17 0x42
Delete Directory 0x16 0x0B
Delete Old Auditing File 0x58 0x15
Delete Property 0x17 0x3A
Delete Trustee 0x16 0x2B
Delete Trustee From Directory 0x16 0x0E
Destroy Queue 0x17 0x65
Detach Queue Server From Queue 0x17 0x70
Disable Auditing On Volume 0x58 0x07
Disable Station Broadcasts 0x15 0x02
Disable File Server Login 0x17 0xCB
Disable Transaction Tracking 0x17 0xCF
Down File Server 0x17 0xD3
Enable Auditing On Volume 0x58 0x08
Enable Station Broadcasts 0x15 0x03
Enable File Server Login 0x17 0xCC
Enable Transaction Tracking 0x17 0xD0
End Of Job 0x18 None
Enter Login Area 0x17 0x0A
Erase Files 0x44 None
Examine Semaphore 0x20 0x01
File Close 0x42 None
File Create 0x43 None
File Open 0x4C None
File Read 0x48 None
File Release Lock 0x02 None
File Rename 0x45 None
File Search Continue 0x3F None
File Search Initialize 0x3E None
File Server Copy 0x4A None
File Set Lock 0x01 None
File Write 0x49 None
Fill Name Space Buffer 0x16 0x2F
Finish Servicing Queue Job And File 0x17 0x72
Get Account Status 0x17 0x96
Get Active Connection List By Type 0x7B 0x0E
Get Active LAN Board List 0x7B 0x14
Get Active Protocol Stacks 0x7B 0x28
Get Auditing Flags 0x58 0x13
Get Bindery Access Level 0x17 0x46
Get Bindery Object Access Level 0x17 0x48
Get Bindery Object Disk Space Left 0x17 0xE6
Get Bindery Object ID 0x17 0x35
Get Bindery Object Name 0x17 0x36
Get Broadcast Message 0x15 0x01
Get Cache Information 0x7B 0x01
Get Connection Information 0x17 0x16
Get Connection List From Object 0x17 0x1F
Get Connection's Open Files 0x17 0xDB
Get Connection's Semaphores 0x17 0xE1
Get Connection's Task Information 0x17 0xDA
Get Connection's Usage Statistics 0x17 0xE5
Get Connections Using A File 0x17 0xDC
Get CPU Information 0x7B 0x08
Get Dir Entry 0x16 0x1F
Get Dir Info 0x16 0x2D
Get Directory Base 0x57 0x16
Get Directory Cache Information 0x7B 0x0C
Get Directory Path 0x16 0x01
Get Disk Cache Statistics 0x17 0xD6
Get Disk Channel Statistics 0x17 0xD9
Get Disk Utilization 0x17 0x0E
Get DM Info 0x5A 0x01
Get Drive Mapping Table 0x17 0xD7
Get Effective Directory Rights 0x16 0x03
Get Effective Rights 0x16 0x2A
Get Encryption Key 0x17 0x17
Get Extended Volume Info 0x16 0x33
Get File Bit Map 0x55 None
Get File Server Date And Time 0x14 None
Get File Server Description Strings 0x17 0xC9
Get File Server Information 0x17 0x11
Get File Server Information 0x7B 0x02
Get File Server LAN I/O Statistics 0x17 0xE7
Get File Server Login Status 0x17 0xCD
Get File Server Misc Information 0x17 0xE8
Get File Size 0x47 None
Get File System Statistics 0x17 0xD4
Get Garbage Collection Information 0x7B 0x07
Get General Router And SAP Information 0x7B 0x32
Get Internet Address 0x17 0x13
Get IPX/SPX Information 0x7B 0x06
Get Known Networks Information 0x7B 0x35
Get Known Servers Information 0x7B 0x38
Get LAN Common Counters Information 0x7B 0x16
Get LAN Config Strings 0x7B 0x18
Get LAN Configuration Information 0x7B 0x15
Get LAN Custom Counters Information 0x7B 0x17
Get LAN Driver's Configuration Information 0x17 0xE3
Get Loaded Media Number List 0x7B 0x2F
Get Logical Record Information 0x17 0xE0
Get Logical Records By Connection 0x17 0xDF
Get LSL Information 0x7B 0x19
Get LSL Logical Board Statistics 0x7B 0x1A
Get Media Manager Object Children List 0x7B 0x20
Get Media Manager Object Information 0x7B 0x1E
Get Media Manager Object List 0x7B 0x1F
Get Media Name By Media Number 0x7B 0x2E
Get Member Set M of Group G 0x17 0x09
Get Name Space Entry 0x16 0x30
Get NetWare File Systems Information 0x7B 0x03
Get Network Router Information 0x7B 0x33
Get Network Routers Information 0x7B 0x34
Get Network Serial Number 0x17 0x12
Get NLM Information 0x7B 0x0B
Get NLM Loaded List 0x7B 0x0A
Get NLM's Resource Tag List 0x7B 0x0F
Get NS Entry Info 0x57 0x06
Get NS Info 0x57 0x17
Get NS Path 0x57 0x1C
Get Object Connection Numbers 0x17 0x15
Get Object Disk Restrictions 0x16 0x29
Get Object Effective Rights 0x16 0x32
Get OS Version Information 0x7B 0x0D
Get Packet Burst Information 0x7B 0x05
Get Path From Directory Entry 0x16 0x1A
Get Personal Message 0x15 0x05
Get Physical Disk Statistics 0x17 0xD8
Get Physical Record Locks By Connection And File 0x17 0xDD
Get Physical Record Locks By File 0x17 0xDE
Get Printer Queue 0x11 0x0A
Get Printer Status 0x11 0x06
Get Protocol Stack Configuration Information 0x7B 0x29
Get Protocol Stack Custom Information 0x7B 0x2B
Get Protocol Stack Numbers By LAN Board Number 0x7B 0x2D
Get Protocol Stack Numbers By Media Number 0x7B 0x2C
Get Protocol Stack Statistics Information 0x7B 0x2A
Get Queue Job List 0x17 0x6B
Get Queue Job's File Size 0x17 0x78
Get RelationOf An Object 0x17 0x4C
Get Semaphore Information 0x17 0xE2
Get Server Information 0x7B 0x36
Get Server Set Categories 0x7B 0x3D
Get Server Set Commands Information 0x7B 0x3C
Get Spool Queue Entry 0x11 0x04
Get Station Number 0x13 None
Get Station's Logged Information 0x17 0x05
Get User Information 0x7B 0x04
Get Volume Audit Statistics 0x58 0x01
Get Volume Info With Handle 0x16 0x15
Get Volume Info with Number 0x12 None
Get Volume Information 0x17 0xE9
Get Volume Name 0x16 0x06
Get Volume Number 0x16 0x05
Get Volume Segment List 0x7B 0x21
Get Volume Switch Information 0x7B 0x09
Get Volume Usage 0x16 0x2C
Is Bindery Object In Set 0x17 0x43
Is Station A Manager 0x17 0x49
Is User Audited 0x58 0x09
Lock File Set 0x04 None
Lock Logical Record Set 0x0A None
Lock Physical Record Set 0x1B None
Log File 0x03 None
Log Logical Record 0x09 None
Log Network Message 0x17 0x0D
Log Physical Record 0x1A None
Login As Volume Editor 0x58 0x03
Login Object 0x17 0x14
Login Object Encrypted 0x17 0x18
Login User Object 0x17 0x00
Logout 0x19 None
Logout As Volume Auditor 0x58 0x0D
Map Directory Number To Path 0x16 0xF3
Map Number To Group Name 0x17 0x08
Map Number To Object 0x17 0x04
Map Object To Number 0x17 0x03
Map User To Station Set 0x17 0x02
Modify Maximum Rights Mask 0x16 0x04
Move Entry 0x16 0x2E
Negotiate Buffer 0x21 None
Negotiate LIP Buffer 0x61 None
Open Bindery 0x17 0x45
Open Data Stream 0x16 0x31
Open Message Pipe 0x15 0x06
Open Semaphore 0x20 0x00
Packet Burst Connection 0x65 None
Purge All Erased Files 0x17 0xCE
Purge Erased Files 0x16 0x10
Purge Salvagable File 0x16 0x1D
Read Audit Config Header 0x58 0x0B
Read Auditing Bit Map 0x58 0x0A
Read Extended NS Info 0x57 0x1A
Read NS Info 0x57 0x13
Read Property Value 0x17 0x3D
Read Queue Current Status 0x17 0x66
Read Queue Job Entry 0x17 0x6C
Read Queue Server Current Status 0x17 0x76
Recover Salvagable File 0x16 0x1C
Release File 0x05 None
Release File Set 0x06 None
Release Logical Record 0x0C None
Release Logical Record Set 0x0D None
Release Physical Record 0x1C None
Release Physical Record Set 0x1D None
Remove Audit Property 0x58 0x06
Remove Entry From Spool Queue 0x11 0x05
Remove Job From Queue 0x17 0x6A
Rename Bindery Object 0x17 0x34
Rename Directory 0x16 0x0F
Reset Audit History File 0x58 0x0F
Reset Auditing File 0x58 0x0E
Restore Directory Handle 0x16 0x18
Restore Erased File 0x16 0x11
Restore Queue Server Rights 0x17 0x75
Save Directory Handle 0x16 0x17
Scan Bindery Object 0x17 0x37
Scan Bindery Object Trustee Paths 0x17 0x47
Scan Dir Entry 0x16 0x1E
Scan Dir Restrictions 0x16 0x23
Scan Directory For Trustees 0x16 0x0C
Scan Directory Information 0x16 0x02
Scan Entry For Trustees 0x16 0x26
Scan File Information 0x17 0x0F
Scan File Physical 0x16 0x28
Scan NS Entry Info 0x57 0x03
Scan Property 0x17 0x3C
Scan Salvagable Files 0x16 0x1B
Scan Volume For Restrictions 0x16 0x20
Search File 0x40 None
Send Broadcast Message 0x15 0x00
Send Console Broadcast 0x17 0xD1
Send Personal Message 0x15 0x04
Service Queue Job And Open File 0x17 0x71
Set Dir Restriction 0x16 0x24
Set Directory Handle 0x16 0x00
Set Directory Information 0x16 0x19
Set Entry 0x16 0x25
Set Extended File Attributes 0x4F None
Set File Attributes 0x46 None
Set File Information 0x17 0x10
Set File Server Date And Time 0x17 0xCA
Set File Time And Date 0x4B None
Set NS Entry DOS Info 0x57 0x07
Set Queue Current Status 0x17 0x67
Set Queue Server Current Status 0x17 0x77
Set Spool Flags 0x11 0x02
Set Trustee 0x16 0x27
Set Volume Restrictions 0x16 0x21
Signal Semaphore 0x20 0x03
Specify Capture File 0x11 0x09
Spool Data To A Capture File 0x11 0x00
Spool Existing File 0x11 0x03
Submit Account Charge 0x17 0x97
Submit Account Hold 0x17 0x98
Submit Account Note 0x17 0x99
TTS Abort Transaction 0x22 0x03
TTS Begin Transaction 0x22 0x01
TTS End Transaction 0x22 0x02
TTS Get Application Thresholds 0x22 0x05
TTS Get Control Flags 0x22 0x09
TTS Get Statistics 0x17 0xD5
TTS Get Workstation Thresholds 0x22 0x07
TTS Is Available 0x22 0x00
TTS Set Application Thresholds 0x22 0x06
TTS Set Control Flags 0x22 0x0A
TTS Set Workstation Thresholds 0x22 0x08
TTS Transaction Status 0x22 0x04
Verify Bindery Object Password 0x17 0x3F
Verify Bindery Object Password Encrypted 0x17 0x4A
Verify Network Serial Number 0x17 0x0C
Wait On Semaphore 0x20 0x02
Write Audit Config Header 0x58 0x11
Write Auditing Bit Map 0x58 0x10
Write Extended NS Info 0x57 0x1B
Write NS Info 0x57 0x19
Write Property Value 0x17 0x3E