NetBIOS Session Management Protocol in IBM PC Networks

Details of packet structures for NetBIOS Session Management in IBM PC Networks are given in the the section called Comparison of NetBIOS protocols in IBM PC Network

Session Request Packet in IBM PC Network

From "Inside NetBIOS":

Session Request Packet :

Table 4. Session Request Packet

Field Length Description
Start 1 Start Deliminator value 0x7E
Destination 6 Destination Address
Source 6 Source Address
Length 2 Length of packet
value 2 value set to 0x0040
Function 1 value 0x00-0x07=No poll 0x80-0x0F=Send Return Pkt
Accept 1 Number of packets willing to accept
Connection id 2 Connection id
Sess seq no 1 Sess seq no
ACK Seq No 1 ACK Seq No
value 2 value set to 0x0001
Response packet size 2 Response packet size
value 4 value of 0x0000
value 4 value of 0x1010
Source Name 16 ASCII Source NetBIOS name
Dest Name 16 ASCII Destination NetBIOS name
Dest Connection id 2 Dest Connection id
CRC 4 Cyclic Redundancy Check
End of Frame 1 End of frame marker value of 0x7E