RPL communication explained

Structure of the FIND Frame:
---------------------------------------------------------------------
23:41:16.622610  [BootingWorkstation's MAC] > 03:00:02:00:00:00 sap fc ui/C len=83
         ruler:   0 1  2 3  4 5  6 7- 8 9  A B  C D  E F
	0x0000:  fcfc 0300 5300 0100 0840 0300 0000 0000  ....S....@......
	0x0010:  1000 0800 0640 0905 ea00 0640 0a00 0100  .....@.....@....
	0x0020:  0a40 0600 00e8 d41f a200 0540 07fc 0028  .@.........@...(
	0x0030:  0004 0024 c005 0800 fc01 0070 0000 4423  ...$.......p..D#
	0x0040:  0251 0100 0000 0000 0000 5342 4e57 4d4c  .Q........SBNWML
	0x0050:  4944                                     ID

00    FiF_DSAP        DB 0fch                    ; Destination SAP
01    FiF_SSAP        DB 0fch                    ; Source SAP
02    FiF_LCtrl       DB 03h                     ; LLC Control (UI frame)
03    FiF_PgmLen      DB 00, 53h                 ; Program Length
05    FiF_PgmCmd      DB 00, 01                  ; Program Command
07    FiF_CorrHdr     DB 00, 08, 40h, 03         ; Correlator Vector
0B    FiF_Corr        DB 00, 00, 00, 00          ; Correlator
0F    FiF_InfoHdr     DB 00, 10h, 00, 08         ; Info Header
13    FiF_FrameHdr    DB 00, 06, 40h, 09         ; Frame size sub-vector
17    FiF_MaxFrame    DB ??, ??                  ; Maximum Frame Size
19    FiF_ClassHdr    DB 00, 06, 40h, 0ah        ; Connect Class sub-vector
1D    FiF_ConnClass   DB 00, 01h                 ; Type of connection service
1F    FiF_SrcHdr      DB 00, 0ah, 40h, 06        ; Local address vector
23    FiF_SrcAddr     DB 6 DUP (?)               ; Local Node Address
29    FiF_LSAPHdr     DB 00, 05, 40h, 07         ; Logical SAP Vector
2D    FiF_RSAP        DB 0fch                    ; Remote SAP value
2E    FiF_SearchHdr   DB 00, 28h, 00, 04         ; Search Vector
32    FiF_LoaderHdr   DB 00, 24h, 0c0h, 05       ; Loader info sub-vector
36    FiF_MachConf    DB 8 DUP (?)               ; Machine Configuration
3E    FiF_EquipFlags  DB ??, ??                  ; Equipment Flags
40    FiF_MemSize     DB ??, ??                  ; Memory Size
42    FiF_EC          DB 8 DUP (0)               ; EC Level of RIPL module
4A    FiF_AdapterID   DB 0, 0                    ; Adapter Identifier
4C    FiF_AdapterEC   DB 10 DUP (0)              ; Adapter EC Level



Structure of the FOUND Frame:
---------------------------------------------------------------------
23:41:16.622757  [RPLD server's MAC] > [BootingWorkstation's MAC] sap fc ui/C len=58
         ruler:   0 1  2 3  4 5  6 7- 8 9  A B  C D  E F
	0x0000:  fcfc 0300 3a00 0200 0840 034e 6574 5700  ....:....@.NetW.
	0x0010:  0540 0b00 000a 400c 0000 0000 0000 000a  .@....@.........
	0x0020:  4006 0008 5a23 9a58 0010 0008 0006 4009  @...Z#.X......@.
	0x0030:  05ea 0006 400a 0001 0005 4007 fc         ....@.....@..

00    FoF_DSAP        DB 0fch                    ; Destination SAP
01    FoF_SSAP        DB 0fch                    ; Source SAP
02    FoF_LCtrl       DB 03h                     ; LLC Control (UI frame)
03    FoF_PgmLen      DB 00, 3ah                 ; Program Length
05    FoF_PgmCmd      DB 00, 02                  ; Program Command
07    FoF_CorrHdr     DB 00, 08, 40h, 03         ; Correlator Vector
0B    FoF_Corr        DB 00, 00, 00, 00          ; Correlator
0F    FoF_RespHdr     DB 00, 05, 40h, 0bh        ; Response Header
13    FoF_RespCode    DB ??                      ; Response Code
14    FoF_DestHdr     DB 00, 0ah, 40h, 0ch       ; Set address vector
18    FoF_DestAddr    DB 6 DUP (?)               ; Requesting device address
1E    FoF_SrcHdr      DB 00, 0ah, 40h, 06        ; Loader address vector
22    FoF_SrcAddr     DB 6 DUP (?)               ; Loading device ring address
28    FoF_InfoHdr     DB 00, 10h, 00, 08         ; Info Header
2C    FoF_FrameHdr    DB 00, 06, 40h, 09         ; Frame size sub-vector
30    FoF_MaxFrame    DB ??, ??                  ; Maximum Frame Size
32    FoF_ClassHdr    DB 00, 06, 40h, 0ah        ; Connect Class sub-vector
36    FoF_ConnClass   DB ??, ??                  ; Type of connection service
38    FoF_LSAPHdr     DB 00, 05, 40h, 07         ; Logical SAP Vector
3C    FoF_RSAP        DB ??                      ; Remote SAP value



Structure of the SEND.FILE.REQUEST Frame.
---------------------------------------------------------------------
23:41:17.539636  [BootingWorkstation's MAC] > [RPLD server's MAC] sap fc ui/C len=83
         ruler:   0 1  2 3  4 5  6 7- 8 9  A B  C D  E F
	0x0000:  fcfc 0300 5300 1000 0840 1100 0000 0000  ....S....@......
	0x0010:  1000 0800 0640 0905 ea00 0640 0a00 0100  .....@.....@....
	0x0020:  0a40 0600 00e8 d41f a200 0540 07fc 0028  .@.........@...(
	0x0030:  0004 0024 c005 0800 fc01 0070 0000 4423  ...$.......p..D#
	0x0040:  0251 0100 0000 0000 0000 5342 4e57 4d4c  .Q........SBNWML
	0x0050:  4944                                     ID

00    SFR_DSAP        DB ??                      ; Destination SAP
01    SFR_SSAP        DB 0fch                    ; Source SAP
02    SFR_LCtrl       DB 03h                     ; LLC Control (UI frame)
03    SFR_PgmLen      DB 00, 53h                 ; Program Length
05    SFR_PgmCmd      DB 00, 10h                 ; Program Command
07    SFR_SeqHdr      DB 00, 08, 40h, 11h        ; Sequence Vector
0B    SFR_Seq         DB 00, 00, 00, 00          ; Sequence Number
0F    SFR_InfoHdr     DB 00, 10h, 00, 08         ; Info Header
13    SFR_FrameHdr    DB 00, 06, 40h, 09         ; Frame size sub-vector
17    SFR_MaxFrame    DB ??, ??                  ; Maximum Frame Size
19    SFR_ClassHdr    DB 00, 06, 40h, 0ah        ; Connect Class sub-vector
1D    SFR_ConnClass   DB ??, ??                  ; Type of connection service
1F    SFR_SrcHdr      DB 00, 0ah, 40h, 06        ; Local address vector
23    SFR_SrcAddr     DB 6 DUP (?)               ; Local Node Address
29    SFR_LSAPHdr     DB 00, 05, 40h, 07         ; Logical SAP Vector
2D    SFR_RSAP        DB ??                      ; Remote SAP value
2E    SFR_SearchHdr   DB 00, 28h, 00, 04         ; Search Vector
32    SFR_LoaderHdr   DB 00, 24h, 0c0h, 05       ; Loader info sub-vector
36    FiF_MachConf    DB 8 DUP (?)               ; Machine Configuration
3E    SFR_EquipFlags  DB ??, ??                  ; Equipment Flags
40    SFR_MemSize     DB ??, ??                  ; Memory Size
42    SFR_EC          DB 8 DUP (0)               ; EC Level of RIPL module
4A    SFR_AdapterID   DB 0, 0                    ; Adapter Identifier
4C    SFR_AdapterEC   DB 10 DUP (0)              ; Adapter EC Level



Structure of the FILE.DATA.RESPONSE Frame.
---------------------------------------------------------------------
23:41:17.541078  [RPLD server's MAC] > [BootingWorkstation's MAC] sap fc ui/C len=1496
         ruler:   0 1  2 3  4 5  6 7- 8 9  A B  C D  E F
	0x0000:  fcfc 0305 d800 2000 0840 1100 0000 0000  .........@......
	0x0010:  0dc0 1400 0924 7000 0924 7030 05bf 4018  .....$p..$p0..@.
	0x0020:  fae9 961c 4e65 7477 2e52 704c 0505 c700  ....Netw.RpL....
	0x0030:  0000 0002 9000 5342 0504 0000 0000 0200  ......SB........
	0x0040:  0000 0000 ffff ffff ffff ffff ffff ffff  ................
	0x0050:  ffff                                     ..

00    FDR_DSAP        DB 0f8h                    ; Destination SAP
01    FDR_SSAP        DB 0f8h                    ; Source SAP
02    FDR_LCtrl       DB 03h                     ; LLC Control (UI frame)
03    FDR_PgmLen      DB ??, ??                  ; Program Length
05    FDR_PgmCmd      DB 00, 20h                 ; Program Command
07    FDR_SeqHdr      DB 00, 08, 40h, 11h        ; Sequence Vector
0B    FDR_Seq         DB ??, ??, ??, ??          ; Sequence Number
0F    FDR_LoaderHdr   DB 00, 0dh, 0c0h, 14h      ; Loader info sub-vector
13    FDR_LocateAddr  DB ??, ??, ??, ??          ; Location Address
17    FDR_XferAddr    DB ??, ??, ??, ??          ; Transfer Address
1B    FDR_Flags       DB ??                      ; Options Flags
1C    FDR_DataHdr     DB ??, ??, 40h, 18h        ; Data Header
20    FDR_FileData    DB ??                      ; Start of file data

For more information on RPL:
ftp://ftp.microsoft.com/developr/drg/RPL - Not just MS, IBM and Novell RPL too.
Some captured and detailed communication

v1.00 - 2004.06.07 First version

BACK to the RPL page