NetBIOS Session Management Protocol

The NetBIOS Session Management Protocol (SMP) manages sessions between Named processes on the network. NetBIOS Sessions support full duplex operation. One Named process calls another Name on the network which answers. The Session continues until one or both systems hang up.

The original NetBIOS Session Management Protocol is described in the appendix called NetBIOS protocols in IBM PC Network Appendix: NetBIOS protocols in IBM PC Network in the section called NetBIOS Session Management Protocol in IBM PC Networks in the appendix called NetBIOS protocols in IBM PC Network NetBIOS Session Management Protocol in IBM PC Networks.

NetBIOS Session Frames - Name Query - on 802.2 networks

In the NetBIOS Frames Protocol on 802.2 networks there are two frames used for managing names in session establishment. Details of these frames are given in the section called Name Management Protocol "Name Management Frames in NetBIOS on 802.2 networks"

Table 7. Frames for managing names in session establishment (Octets in order transmitted.)

    Management frame Management frame
Field Name Length NAME QUERY NAME RECOGNISED
Length 2 0x2C 0x2C
0x00 0x00
Deliminator 2 0xFF 0xFF
0xEF 0xEF
Command 1 0x0A 0x0E
Data 1 1 Reserved Reserved
Data 2 2 X ss X ss
X tt X tt
XMIT Cor 2 Reserved nn
Reserved nn
RSP Cor 2 nn nn
nn nn
Destination Name 16 Name of receiver Name of receiver
Source Name 16 Name of sender Name of sender

NetBIOS Session Frames - Establishment and Termination - on 802.2 networks

Table 8. Session Establishment and Termination frames (Octets in order transmitted.)

    Session frame Session frame Session frame Session frame
Field Name Length SESSION ALIVE SESSION CONFIRM Session End SESSION INITIALIZE
Length 2 0x0E 0x0E 0x0E 0x0E
0x00 0x00 0x00 0x00
Deliminator 2 0xFF 0xFF 0xFF 0xFF
0xEF 0xEF 0xEF 0xEF
Command 1 0x1F 0x17 0x18 0x19
Data1 1 Reserved B yrrrrrrx Reserved zrrrxxxy
Data2 2 Reserved Max data rec size Termination indicator Max data receive size
Reserved Max data rec size Termination indicator Max data receive size
XMIT Cor 2 Reserved nnnn Reserved nnnn
Reserved nnnn Reserved nnnn
RSP Cor 2 Reserved nnnn Sess init xmit Reserved nnnn
Reserved Remote session num Remote session num Remote session num
Destination Num 1 Reserved Remote session num Remote session num Remote session num
Source Num 1 Reserved Local session num Local session num Local session num

NetBIOS Session Frames - Data Transfer - on 802.2 networks

Table 9. Session Data Transfer frames (Octets in order transmitted.)

    Data frame Data frame Data frame Data frame Data frame Data frame
Field Name Length DATA ACK DATA FIRST MIDDLE DATA ONLY LAST NO RECEIVE RECEIVE OUT-STANDING RECEIVE CONTINUE
Length 2 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E
0x00 0x00 0x00 0x00 0x00 0x00
Deliminator 2 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF
0xEF 0xEF 0xEF 0xEF 0xEF 0xEF
Command 1 0x14 0x15 0x16 0x1A 0x1B 0x1C
Data1 1 Reserved Brrrxryz Brrrxryz Brrrrrrxr Reserved Reserved
Data2 2 Reserved Re-synch indicator Re-synch indicator Number of data bytes accepted Number of data bytes accepted Reserved
Reserved Re-synch indicator Re-synch indicator Number of data bytes accepted Number of data bytes accepted Reserved
XMIT Cor 2 nnnn nnnn nnnn Reserved Reserved nnnn
nnnn nnnn nnnn Reserved Reserved nnnn
RSP Cor 2 Reserved nnnn nnnn Reserved Reserved Reserved
Reserved nnnn nnnn Reserved Reserved Reserved
Dest Num 1 Remote session num Remote session num Remote session num Remote session num Remote session num Remote session num
Source Num 1 Local session num Local session num Local session num Local session num Local session num Local session num
Optional data     USER DATA Message from send USER DATA Message from send