Application Modernization - GCOM: Public Sector Software ...
1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of...
-
Upload
margery-boyd -
Category
Documents
-
view
222 -
download
4
Transcript of 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of...
![Page 1: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/1.jpg)
1
Protocol Stacks and Dumps
Gcom, Inc. Training Presentation
Providing Solutions for the Worldof Data Communications
![Page 2: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/2.jpg)
2
Protocol Stacks and Dumps
Gcom_cdi -UGcom_cdi -t
Gcom_ivp counter-trace
Gcom_ivp sca-bsc-trace
Errors ALC/UTS
Gcom_dlpi -UGcom_dlpi -tGcom_dlpi -u
Errors
Gcom_npi -VGcom_npi -t
Gcom_ivp npi-summary
Gcom_ss -UwGcom_ss -u
Gcom_ss -UwGcom_ss -u
Flow Chart for Reading Gcom_dump
![Page 3: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/3.jpg)
3
Protocol Stacks and DumpsTable of Contents
STREAMS Layers
Management Command Summary
Ring System -- Tunneling
Trace Table Commands
Gcom_npi -t
Gcom_dlpi -t
Gcom_cdi -t -- X.25, Error Conditions, ALC
Gcom_ivp sca-bsc-trace
Gcom_ivp driver-counters
Gcom_ivp counter-trace
Gcom_ivp sca-intr-trace
ALC Garbled Message
Gcom_cdi -U Gcom_cdi -u -- X.25, ALC, UTS
Gcom_dlpi -L Gcom_dlpi -l
Gcom_dlpi -U Gcom_dlpi -u
Gcom_npi -L Gcom_npi -l Flow Control, Throughput Class
Gcom_npi -U Gcom_npi -u Gcom_npi -V
Gcom_ivp npi-summary
Gcom_ss -Uw
Gcom_ss -u
![Page 4: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/4.jpg)
4
Communication Device InterfaceInterface to physical layer
Data Link Provider InterfaceInterface to link layer
Protocol Stacks and Dumps
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
Frame Level
CDI User
NPI Provider
Packet Level
DLPI User
User
Kernel
Gcom_ssd
Network Provider InterfaceInterface to network layer
STREAMS Layers
X.25 Stack
STREAMS drivers are in the kernel
![Page 5: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/5.jpg)
5
Protocol Stacks and Dumps
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
Frame Level
CDI User
NPI Provider
Packet Level
DLPI User
User
Kernel
Gcom_ssd
X.25 StackThree Layers
STREAMS Layers
X.25 Stack
![Page 6: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/6.jpg)
6
Protocol Stacks and Dumps
Digi Sync/570
CDI Provider
Digi Driver
User
Kernel
Gcom_ssd
ALC or UTS StackOne Layer
STREAMS Layers
ALC or UTS
![Page 7: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/7.jpg)
7
Protocol Stacks and Dumps
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
Frame Level
CDI User
NPI Provider
Packet Level
DLPI User
User
Kernel
Gcom_ssdSTREAMS Layers
X.25 Stack + ALC/UTS
X.25 StackThree Layers
ALC or UTS StackOne Layer
You can configure X.25 onone port and ALC or UTS
on another port simultaneously
![Page 8: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/8.jpg)
8
Protocol Stacks and Dumps
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
Frame Level
CDI User
NPI Provider
Packet Level
DLPI User
User
Kernel
Gcom_ssd
Gcom_cdi -U -u -t
Management Commands
Gcom_dlpi -U -u -t
Gcom_npi -U -uGcom_ivp npi-summary
Gcom_dlpi -L -l -t
Gcom_npi -L -l -t
Gcom_ss -U -Uw
Gcom_ivp sca-intr-traceGcom_ivp counter-traceGcom_ivp driver-countersGcom_ivp -IGcom_ivp sca-bsc-trace
![Page 9: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/9.jpg)
9
Protocol Stacks and Dumps
Ring System X.25 Stack
Processes
intsx25.1
Driver
frmlvl.1
pktlvl.1
Ring System ProcessesEach process has a numerical Id.
Suffix “.1” indicatesprocess instance number
Historical Note: Gcom’s protocol stacks wereimplemented using the Ring System prior to
being ported to STREAMS. The Ring Systemis still present within the STREAMS implementation.
![Page 10: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/10.jpg)
10
Protocol Stacks and Dumps
Ring System X.25 Stack
Connectivity
intsx25.1
Driver
frmlvl.1
pktlvl.1
Logical Data Flow
![Page 11: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/11.jpg)
11
From and To are process Ids
Ring data struct called Token
Protocol Stacks and Dumps
Ring System X.25 Stack
Scheduling Ring
intsx25.1
Driver
frmlvl.1
pktlvl.1
Ring
Data flows through the Ring
Remove Token from Ring and call process entry point
Insert Token in Ring and return
From To Command Buffer ptr
Buffer
Token
![Page 12: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/12.jpg)
12
Protocol Stacks and Dumps
X.25 Stack
STREAMS and Ring system
Ring
Data flows directlybetween Ring System processes
via the Ring
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1
Buffers from driverflow through Ring
STREAMS linkage notused for data flow
![Page 13: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/13.jpg)
13
Protocol Stacks and DumpsX.25 Stack
STREAMS and Ring system
Logical data flow view
We call this “tunneling”
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
Ring System Tokens flowfrom driver to intsx25
Ring System Tokens flowbetween intsx25 and frmlvl.
These are Raw Frames.
Ring System Tokens flowbetween frmlvl and pktlvl.
These are I-Frames.
Logical channel data sentupstream as STREAMS.
See next slide.
![Page 14: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/14.jpg)
14
Protocol Stacks and Dumps
X.25 Stack
Detail of NPI Provider
User
Kernel
Gcom_ssd
NPI Provider
DLPI User
pktlvl.1
I-Frames from LAPBarrive from below
X.25 packet level state machine resides here
Logical channels come outthe top
Convert back to STREAMSat top of protocol stack
![Page 15: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/15.jpg)
15
Protocol Stacks and Dumps
X.25 Stack
Trace Table Commands
Gcom_cdi -tShows this Token traffic
as raw buffers
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
Gcom_dlpi -tShows this Token trafficas decoded frame types
Gcom_npi -tShows this Token trafficas decoded packet types
![Page 16: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/16.jpg)
16
Protocol Stacks and DumpsX.25 Stack
Gcom_npi -t
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
76280000 Xmt Pkt ( 15) 10 10 0b 03 32 10 08 02 aa 42 08 08 43 02 02 00 Call Req, LC=1676280050 Rcv Pkt ( 13) 10 10 0f 00 08 02 aa 42 08 08 43 02 02 00 00 00 Call Acpt, LC=1676280050 Xmt Pkt ( 103) 10 10 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d Data(0,0), LC=1676280100 Rcv Pkt ( 103) 10 10 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d Data(0,0), LC=1676280100 Xmt Pkt ( 103) 10 10 02 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e Data(0,1), LC=1676280100 Rcv Pkt ( 3) 10 10 41 00 00 00 00 00 00 00 00 00 00 00 00 00 RR(2), LC=16
Transmit or Receive
Time Stamp milli-secByte Count
Bytes of Packet
Data(P(R), P(S))
RR(P(R))Logical Channel Number
![Page 17: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/17.jpg)
17
Protocol Stacks and DumpsX.25 Stack
Gcom_dlpi -t
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
76280400 Xmt Frame ( 7) 01 44 10 10 13 00 00 00 00 00 00 00 00 00 00 00 I-Frame(2,2)76280400 Rcv Frame ( 5) 03 64 10 10 17 00 00 00 00 00 00 00 00 00 00 00 I-Frame(3,2)76280600 Xmt Frame ( 2) 03 61 00 00 00 00 00 00 00 00 00 00 00 00 00 00 RR(3)76283400 Xmt Frame ( 2) 01 71 00 00 00 00 00 00 00 00 00 00 00 00 00 00 RR*(3)
Transmit or Receive
Time Stamp milli-secByte Count
Bytes of Frame
I-Frame(N(R), N(S))RR(N(R))
“*” means Poll/Finalbit set
![Page 18: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/18.jpg)
18
Protocol Stacks and DumpsX.25 Stack
Gcom_cdi -t
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
76278250 Snd Bfr ( 2) 01 31 00 00 07 00 00 00 05 0e 00 00 f7 ff 00 0076278250 Rcv Bfr ( 2) 03 31 00 00 04 00 00 00 06 0e 00 00 00 00 00 0076278250 Snd Tkn 04->07 Frm Rcvd extra=fff7 bfrp=d38fcda4 othr=076278250 Snd Bfr ( 2) 03 31 00 00 07 00 00 00 02 0e 00 00 00 00 00 0076278250 Rcv Tkn 07->04 Rplce Bfr extra=0000 bfrp=0 othr=076278250 Rcv Bfr ( 2) 01 31 00 00 07 00 00 00 02 0e 00 00 00 00 00 0076278250 Snd Tkn 04->07 Frm Rcvd extra=fff7 bfrp=d384a244 othr=076278250 Rcv Tkn 07->04 Rplce Bfr extra=0000 bfrp=0 othr=076278250 Rcv Tkn 04->04 Frm Xmitted extra=0000 bfrp=d3c80b24 othr=076278250 Snd Tkn 04->07 Frm Xmitted extra=0000 bfrp=d3c80b24 othr=7
Transmit or Receiverelative to CDI Provider
Time Stamp milli-secByte Count Bytes of Frame
![Page 19: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/19.jpg)
19
Protocol Stacks and DumpsX.25 Stack
Gcom_cdi -t
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
76278250 Snd Bfr ( 2) 01 31 00 00 07 00 00 00 05 0e 00 00 f7 ff 00 0076278250 Rcv Bfr ( 2) 03 31 00 00 04 00 00 00 06 0e 00 00 00 00 00 0076278250 Snd Tkn 04->07 Frm Rcvd extra=fff7 bfrp=d38fcda4 othr=076278250 Snd Bfr ( 2) 03 31 00 00 07 00 00 00 02 0e 00 00 00 00 00 0076278250 Rcv Tkn 07->04 Rplce Bfr extra=0000 bfrp=0 othr=076278250 Rcv Bfr ( 2) 01 31 00 00 07 00 00 00 02 0e 00 00 00 00 00 0076278250 Snd Tkn 04->07 Frm Rcvd extra=fff7 bfrp=d384a244 othr=076278250 Rcv Tkn 07->04 Rplce Bfr extra=0000 bfrp=0 othr=076278250 Rcv Tkn 04->04 Frm Xmitted extra=0000 bfrp=d3c80b24 othr=076278250 Snd Tkn 04->07 Frm Xmitted extra=0000 bfrp=d3c80b24 othr=7
Snd Bfrfrom frmlvl
request to transmit frame
Rcv Tkn -- Frm Xmittedfrom driver
frame has been transmitted
![Page 20: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/20.jpg)
20
Protocol Stacks and DumpsX.25 Stack
Gcom_cdi -t
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
76278250 Snd Bfr ( 2) 01 31 00 00 07 00 00 00 05 0e 00 00 f7 ff 00 0076278250 Rcv Bfr ( 2) 03 31 00 00 04 00 00 00 06 0e 00 00 00 00 00 0076278250 Snd Tkn 04->07 Frm Rcvd extra=fff7 bfrp=d38fcda4 othr=076278250 Snd Bfr ( 2) 03 31 00 00 07 00 00 00 02 0e 00 00 00 00 00 0076278250 Rcv Tkn 07->04 Rplce Bfr extra=0000 bfrp=0 othr=076278250 Rcv Bfr ( 2) 01 31 00 00 07 00 00 00 02 0e 00 00 00 00 00 0076278250 Snd Tkn 04->07 Frm Rcvd extra=fff7 bfrp=d384a244 othr=076278250 Rcv Tkn 07->04 Rplce Bfr extra=0000 bfrp=0 othr=076278250 Rcv Tkn 04->04 Frm Xmitted extra=0000 bfrp=d3c80b24 othr=076278250 Snd Tkn 04->07 Frm Xmitted extra=0000 bfrp=d3c80b24 othr=7
Rcv Bfrfrom driver
frame just received
Snd Tkn -- Frm Rcvdto frmlvl
send received frame upstream
Rcv Tkn -- Rplce Bfrfrom frmlvl
frame processed,replace buffer in driver
![Page 21: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/21.jpg)
21
Protocol Stacks and DumpsX.25 Stack
Gcom_cdi -t
Error: No attempt to send frames
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
76278250 Snd Bfr ( 2) 01 31 00 00 07 00 00 00 05 0e 00 00 f7 ff 00 0076278250 Rcv Bfr ( 2) 03 31 00 00 04 00 00 00 06 0e 00 00 00 00 00 0076278250 Snd Tkn 04->07 Frm Rcvd extra=fff7 bfrp=d38fcda4 othr=076278250 Snd Bfr ( 2) 03 31 00 00 07 00 00 00 02 0e 00 00 00 00 00 0076278250 Rcv Tkn 07->04 Rplce Bfr extra=0000 bfrp=0 othr=076278250 Rcv Bfr ( 2) 01 31 00 00 07 00 00 00 02 0e 00 00 00 00 00 0076278250 Snd Tkn 04->07 Frm Rcvd extra=fff7 bfrp=d384a244 othr=076278250 Rcv Tkn 07->04 Rplce Bfr extra=0000 bfrp=0 othr=076278250 Rcv Tkn 04->04 Frm Xmitted extra=0000 bfrp=d3c80b24 othr=076278250 Snd Tkn 04->07 Frm Xmitted extra=0000 bfrp=d3c80b24 othr=7
Snd BfrIf this is missing then frmlvl
is not attempting to send frames. Look at Gcom_dlpi -t for more information
![Page 22: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/22.jpg)
22
Protocol Stacks and DumpsX.25 Stack
Gcom_cdi -t
Error: Frames won’t transmit
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
76278250 Snd Bfr ( 2) 01 31 00 00 07 00 00 00 05 0e 00 00 f7 ff 00 0076278250 Rcv Bfr ( 2) 03 31 00 00 04 00 00 00 06 0e 00 00 00 00 00 0076278250 Snd Tkn 04->07 Frm Rcvd extra=fff7 bfrp=d38fcda4 othr=076278250 Snd Bfr ( 2) 03 31 00 00 07 00 00 00 02 0e 00 00 00 00 00 0076278250 Rcv Tkn 07->04 Rplce Bfr extra=0000 bfrp=0 othr=076278250 Rcv Bfr ( 2) 01 31 00 00 07 00 00 00 02 0e 00 00 00 00 00 0076278250 Snd Tkn 04->07 Frm Rcvd extra=fff7 bfrp=d384a244 othr=076278250 Rcv Tkn 07->04 Rplce Bfr extra=0000 bfrp=0 othr=076278250 Rcv Tkn 04->04 Frm Xmitted extra=0000 bfrp=d3c80b24 othr=076278250 Snd Tkn 04->07 Frm Xmitted extra=0000 bfrp=d3c80b24 othr=7
Rcv Tkn -- Frm XmittedIf this is missing then the drivercould not transmit the frame.
Look for watchdog timer expiration count.Check clocking.Check cables.
Check modem/DSU settings.
![Page 23: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/23.jpg)
23
Protocol Stacks and DumpsX.25 Stack
Gcom_cdi -t
Error: No frames received
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
76278250 Snd Bfr ( 2) 01 31 00 00 07 00 00 00 05 0e 00 00 f7 ff 00 0076278250 Rcv Bfr ( 2) 03 31 00 00 04 00 00 00 06 0e 00 00 00 00 00 0076278250 Snd Tkn 04->07 Frm Rcvd extra=fff7 bfrp=d38fcda4 othr=076278250 Snd Bfr ( 2) 03 31 00 00 07 00 00 00 02 0e 00 00 00 00 00 0076278250 Rcv Tkn 07->04 Rplce Bfr extra=0000 bfrp=0 othr=076278250 Rcv Bfr ( 2) 01 31 00 00 07 00 00 00 02 0e 00 00 00 00 00 0076278250 Snd Tkn 04->07 Frm Rcvd extra=fff7 bfrp=d384a244 othr=076278250 Rcv Tkn 07->04 Rplce Bfr extra=0000 bfrp=0 othr=076278250 Rcv Tkn 04->04 Frm Xmitted extra=0000 bfrp=d3c80b24 othr=076278250 Snd Tkn 04->07 Frm Xmitted extra=0000 bfrp=d3c80b24 othr=7
Rcv BfrIf this is missing then the driver
never received any frames. Check clocking.Check cables.
Check modem/DSU settings.Observe Rx data with line monitor.
![Page 24: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/24.jpg)
24
Protocol Stacks and Dumps
ALC Stack
Gcom_cdi -t
1854059750 Snd Bfr ( 2) 0f 37 00 00 04 00 00 00 02 0e 00 00 00 00 00 001854059750 Rcv Tkn 03->03 Frm Xmitted extra=0000 bfrp=d7d6ff24 othr=01854059750 Snd Tkn 03->04 Frm Xmitted extra=0000 bfrp=d7d6ff24 othr=0
Digi Sync/570
Digi Driver
User
Kernel
Gcom_ssd
CDI Provider
intsx25.2
CDI_Prov.2
Snd Bfrfrom CDI_Prov
request to transmit msg
CDI Providerhas Ring Sys
process
Rcv Tkn -- Frm Xmittedfrom driver
frame has been transmitted
Snd Tkn -- Frm Xmittedto CDI_prov
frame has been transmitted
![Page 25: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/25.jpg)
25
Protocol Stacks and Dumps
ALC Stack
Gcom_cdi -t
1854059800 Rcv Bfr ( 3) 0f 2f 1d 00 03 00 00 00 06 0e 00 00 00 00 00 001854059800 Snd Tkn 03->04 Frm Rcvd extra=fff7 bfrp=d6e7c124 othr=01854059800 Rcv Tkn 04->03 Rplce Bfr extra=0000 bfrp=0 othr=0
Digi Sync/570
Digi Driver
User
Kernel
Gcom_ssd
CDI Provider
intsx25.2
CDI_Prov.2
Rcv Bfrfrom driver
msg just received
Snd Tkn -- Frm Rcvdto CDI_Prov
send received msg upstream
Rcv Tkn -- Rplce Bfrfrom CDI_Provmsg processed,
replace buffer in driver
![Page 26: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/26.jpg)
26
Digi Driver
DTR+ RTS- DSR+ DCD- CTS+DTR+ RTS+ DSR+ DCD- CTS+Tx: 3f 3e 0f 37-EOT 3fDTR+ RTS- DSR+ DCD- CTS+
Protocol Stacks and DumpsALC Stack
Gcom_ivp sca-bsc-trace
Transmit Operations
Digi Sync/570
User
Kernel
Gcom_ssd
CDI Provider
intsx25.2
CDI_Prov.2
One trace buffer is shared by all ALC/UTS ports.
Difficult to understand if morethan one line is running.
Modem signalsAssert RTSCTS is on
Tx = Transmit ALC characters.Six bit in hex in internal form.
Drop RTS
![Page 27: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/27.jpg)
27
Protocol Stacks and DumpsALC Stack
Gcom_ivp sca-bsc-trace
Receive Operations
Digi Driver
Digi Sync/570
User
Kernel
Gcom_ssd
CDI Provider
intsx25.2
CDI_Prov.2 Tx: 3f 3e 0f 12-DC2 1d 29 3f 3f 3fRx: 0f 12-DC2 1d 29
Rx = Receive ALC characters.Six bit in hex in internal form.
This is a back to back configuration.Note that Tx chars appear in Rx
Syncs
CCC
Idle PAD
![Page 28: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/28.jpg)
28
CDI Provider
Digi Driver
intsx25.1
Digi Sync/570
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
sca_hw_intr_cnt = 0sca_hw_dev_hndlr_cnt = 135456sca_hw_dev_hndlr_brd_cnt = 339036sca_hw_dev_hndlr_bad_brd_cnt= 0sca_hw_dev_hndlr_prt_cnt = 339036sca_hw_dev_hndlr_null_vect_cnt = 135456sca_hw_dev_hndlr_init_run_cnt = 0sca_hw_dev_hndlr_ix25_cnt = 26148sca_hw_dev_hndlr_ix25_waiting_cnt = 10sca_hw_dev_hndlr_ix25_locked_cnt = 0sca_hw_dev_hndlr_ix25_fistrt_cnt = 0sca_hw_dev_hndlr_ix25_fostrt_cnt = 0sca_intr_cnt = 203580sca_poll_intr_cnt = 0sca_nv_intr_cnt = 0sca_intr_no_vect = 0sca_nv_loop_counter = 0sca_bad_vector = 0
Protocol Stacks and Dumps
X.25 Stack
Gcom_ivp driver-counters
Digi driver interruptservice routine counts.
Non-zero means interruptsare being processed.
All protocol stacks use thesame counters
![Page 29: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/29.jpg)
29
CDI Provider
Digi Driver
intsx25.1
Digi Sync/570
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
Protocol Stacks and DumpsX.25 Stack
Gcom_ivp driver-counters
Continued
Normal receive interrupts for X.25
sca_tx_intr_cnt = 0sca_rx_intr_cnt = 0sca_txdmib_intr_cnt = 0sca_rxdmib_intr_cnt = 101757sca_rxdmia_intr_cnt = 0sca_rxdma_inside_txdma_cnt = 0sca_txtmr_intr_cnt = 101823sca_start_txtmr_cnt = 101823sca_stop_txtmr_cnt = 101823sca_txtmr_tbl_empty_cnt = 50890sca_ifdtmr_intr_cnt = 0
Normal transmit interrupts for X.25Timer driven.
![Page 30: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/30.jpg)
30
Digi Driver
Digi Sync/570
User
Kernel
Gcom_ssd
CDI Provider
intsx25.2
CDI_Prov.2
Protocol Stacks and Dumps
ALC/UTS Stack
Gcom_ivp driver-counters
Normal transmit interrupts for ALC/UTS
sca_tx_intr_cnt = 12851410sca_rx_intr_cnt = 927795808sca_txdmib_intr_cnt = 0sca_rxdmib_intr_cnt = 0sca_rxdmia_intr_cnt = 0sca_rxdma_inside_txdma_cnt = 0sca_txtmr_intr_cnt = 0sca_start_txtmr_cnt = 0sca_stop_txtmr_cnt = 0sca_txtmr_tbl_empty_cnt = 0sca_ifdtmr_intr_cnt = 0
Normal receive interrupts for ALC/UTS
Large number comes fromcontinuous scanning for syncs
No DMA interrupts for ALC/UTS
![Page 31: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/31.jpg)
31
Digi Driver
Digi Sync/570
User
Kernel
Gcom_ssd
CDI Provider
intsx25.2
CDI_Prov.2
Protocol Stacks and DumpsALC Stack
Gcom_ivp driver-counters
Continued
Counters for ALC only
sca_alc_xmt_cnt = 51863415sca_alc_xmt_unrn_cnt = 12834283sca_alc_xmt_unrn_idle_cnt = 12834283sca_alc_xmt_unrn_noie_cnt = 18sca_alc_rcv_cnt = 927795944sca_alc_bfsm_srch = 887591561sca_alc_bfsm_sync = 12841939sca_alc_rx_idle_cnt = 561sca_alc_rx_srch_cnt = 15717539sca_alc_garbled_cnt = 15sca_alc_xmt_bit_fsm_chr_cnt = 64697710sca_alc_xmt_bit_fsm_byte_cnt = 38914775sca_alc_rcv_bit_fsm_chr_cnt = 82139234sca_alc_rcv_bit_fsm_byte_cnt = 40204383
Note garbled message count.Indicates that badly formed
messages were received.
Bit scanning FSM counters
![Page 32: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/32.jpg)
32
Digi Driver
Digi Sync/570
User
Kernel
Gcom_ssd
CDI Provider
intsx25.2
CDI_Prov.2
Protocol Stacks and DumpsALC Stack
Gcom_ivp driver-counters
Continued
Histogram of ALC transmit statesCounts number of interrupts
in each state
sca_alc_tx_hist = 0 0 12834292 0 12834292 12834289 13269850 36284 25722992 0 0 0 0 0 0 0
0 TX_IDLE - Nothing transmitting1 Unused2 CTS_WAIT - Waiting for CTS3 TX_STRT - Start transmitting S14 TX_S2 - Transmit S25 TX_BYTE1 - Transmit 1st char of msg 6 TX_BYTES - Transmit msg chars7 TX_CCC - Transmit CCC char8 TX_PAD - Transmit idle line PAD after msg9 LINE_IDLE - Wait for line to become idle10-15 Unused
![Page 33: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/33.jpg)
33
Digi Driver
Digi Sync/570
User
Kernel
Gcom_ssd
CDI Provider
intsx25.2
CDI_Prov.2
Protocol Stacks and DumpsALC Stack
Gcom_ivp driver-counters
Continued
Histogram of ALC receive statesCounts number of interrupts
in each state
sca_alc_rx_hist = 0 15690530 12841940 13109748 12815148 0 26784 12815145 0 1971259 12815143 26783 26754 0 0 0
0 RCV_IDLE - No message being received1 RCV_S1 - Receive 1st sync char2 RCV_S2 - Receive 2nd sync char3 RCV_FIRST - Receive 1st msg char4 RCV_GA - Receive char after initial GA5 Unused 6 RCV_IA1st - Received IA as 1st char7 RCV_IA2nd - Received IA after GA8 RCV_RS - Received RS after IA9 RCV_TA - Received TA after IA10 RCV_CCC - Receive CCC char11 RCV_CCCi - Receive CCC and continue12 RCV_CONT - Receive idle line or continuation msg13-15 Unused
![Page 34: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/34.jpg)
34
Protocol Stacks and Dumps
X.25, ALC or UTS Stack
Gcom_ivp counter-trace
CDI Provider
Digi Driver
intsx25.1
Digi Sync/570
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
Traces occurrences oferror conditions
Use to see when errors occurred
ivp counter-trace-1Start-Tim End-Tim Tx-Frms Rx-Frms Tx-Errs Rx-Errs Changes1519317950 1519327950 1527797 2124881 18 413761 CRC1519327950 1519337950 1527928 2125063 18 413781 CRC RAB1519337950 1519347950 1528047 2125251 18 413806 CRC1519347950 1519357950 1528264 2125554 18 413826 CRC1519357950 1519367950 1528447 2125835 18 413857 CRC1519367950 1519377950 1528555 2126009 18 413865 CRC
Time stamps in milli-seconds
Frame counters
Change events to error counters
XAB = Transmit abortXUN = Transmit underrunCRC = CRC errorRAB = Receive abortROV = Receiver overrunWDT = Watchdog timerMFL = Modem floodAFL = Abort flood
Error counters
![Page 35: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/35.jpg)
35
Protocol Stacks and Dumps
X.25 Stack
Gcom_ivp sca-intr-trace
CDI Provider
Digi Driver
intsx25.1
Digi Sync/570
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
Traces interrupt service requests
1601246650 Tx-Strt: arg=0x0 (0), 03 31 00 001601246650 Xmt-DMA/DSR: 0x61 (97)1601246650 compute-IMVR: isr0=0 isr1=0 isr2=10 vector=1C1601246650 Vector: Vect=0x1C timer 0/21601246650 Tx-Fin/ST1: 0x51 (81)1601246650 compute-IMVR: isr0=0 isr1=2 isr2=0 vector=161601246650 Vector: Vect=0x16 Rx DMA normal end1601246650 Rx-Fin: arg=0x0 (0), 03 31 10 00
Time stamps in milli-seconds Start frame transmit
Transmit completefollows timer
interrupt
Timer Interruptfollowed by
transmit complete
First few bytes
![Page 36: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/36.jpg)
36
Protocol Stacks and Dumps
X.25 Stack
Gcom_ivp sca-intr-trace
CDI Provider
Digi Driver
intsx25.1
Digi Sync/570
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
Traces interrupt service requests
1601246650 Tx-Strt: arg=0x0 (0), 03 31 00 001601246650 Xmt-DMA/DSR: 0x61 (97)1601246650 compute-IMVR: isr0=0 isr1=0 isr2=10 vector=1C1601246650 Vector: Vect=0x1C timer 0/21601246650 Tx-Fin/ST1: 0x51 (81)1601246650 compute-IMVR: isr0=0 isr1=2 isr2=0 vector=161601246650 Vector: Vect=0x16 Rx DMA normal end1601246650 Rx-Fin: arg=0x0 (0), 03 31 10 00
Time stamps in milli-seconds
Frame received First few bytes
![Page 37: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/37.jpg)
37
Digi Driver
Digi Sync/570
User
Kernel
Gcom_ssd
CDI Provider
intsx25.2
CDI_Prov.2
Protocol Stacks and Dumps
ALC Stack
Gcom_ivp sca-intr-trace
Traces interrupt service requests
1854090550 Tx-Start: arg=0x2 (2), 0F 37 49 501854090550 Tx-FSM: 0x2 (2), 0x2 (2)1854090550 Tx-Chr: 0x3 (3), 0x3F (63)1854090550 Tx-FSM: 0x4 (4), 0x2 (2)1854090550 Tx-Chr: 0x4 (4), 0x3E (62)1854090550 Tx-Byte: 0x58 (88), 0x0 (0)1854090550 Tx-FSM: 0x5 (5), 0x2 (2)1854090550 Tx-Chr: 0x6 (6), 0xF (15)1854090550 Tx-Byte: 0x18 (24), 0x38 (56)
Time stamps in milli-seconds
Start frame transmit Transmit state machine
Transmit byte on line8-bits w/packed 6-bit chars
State Count
Transmit a character
State Char
![Page 38: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/38.jpg)
38
Digi Driver
Digi Sync/570
User
Kernel
Gcom_ssd
CDI Provider
intsx25.2
CDI_Prov.2
Protocol Stacks and Dumps
ALC Stack
Gcom_ivp sca-intr-trace
Traces interrupt service requests
1854090550 Rx-Sync: 0xC (12), 0x800 (2048)1854090550 Rx-S1: 0x3F (63)1854090550 Rx-S2: 0x3E (62)1854090550 Rx-1st: 0xF (15)1854090550 Rx-GA: 0x2F (47)1854090550 Rx-IA2nd: 0x1D (29)1854090550 Rx-CCC: 0x39 (57)1854090550 Rx-Fin: arg=0x0 (0), 0F 2F 1D 04
Time stamps in milli-seconds
Receive sync pattern Receive state machineReceiving syncs
Receive 1st char of msg
Finish received msgFirst few chars
![Page 39: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/39.jpg)
39
Digi Driver
Digi Sync/570
User
Kernel
Gcom_ssd
CDI Provider
intsx25.2
CDI_Prov.2
Protocol Stacks and Dumps
ALC Stack
garbled message
This message appears in thecmessages file. Written by
the Digi driver in ALC mode.
1: ALC garbled msg: Not IA or GA state=3 ochr=052 chr=025 crc_err=1 #1728
Port number
Diagnostic message
Received characterin octal
Receive FSM state
Line number withinwithin driver. Useful
only to Gcom.
Diagnostic Messages:
Intial char not sync -- Initial character is neither S1 nor S2 Expected S2 char -- Garbage while expecting second sync character Not IA or GA -- Character is not a valid IA or the GA character Not IA or NIA -- Character is not a valid IA or the NIA character Not RS or TA -- Character is not a valid TA or the RS character Not EOM char -- Character after RS should be EOM but was not CCC error -- Check sum error
![Page 40: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/40.jpg)
40
CDI Provider
Digi Driver
intsx25.1
Digi Sync/570
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
Protocol Stacks and Dumps
X.25 Stack
Gcom_cdi -U
receive-errs xmt-errsUPA CDI_State Frames-out Frames-in wd mf af crc ovr abt und abt--- ------------- ---------- ---------- -- -- -- ---- ---- ---- ---- ---- 1 INPUT_ALLOWED 50880 50878 0 0 0 0 0 0 0 0 2 INPUT_ALLOWED 50878 50879 0 0 0 0 0 0 0 0
Should always beINPUT_ALLOWED
for X.25
wd -- Watch dog timermf -- Modem floodaf -- Abort flood crc -- CRC errors
ovr -- Receive over runabt -- Receive abort
und -- Transmit under runabt -- Transmit abort
![Page 41: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/41.jpg)
41
Digi Driver
Digi Sync/570
User
Kernel
Gcom_ssd
CDI Provider
intsx25.2
CDI_Prov.2
Protocol Stacks and Dumps
ALC Stack
Gcom_cdi -U
receive-errs xmt-errsUPA CDI_State Frames-out Frames-in wd mf af crc ovr abt und abt--- ------------- ---------- ---------- -- -- -- ---- ---- ---- ---- ---- 1 INPUT_ALLOWED 8427 8977 0 0 0 0 0 0 0 0 2 *DRIVER-DOWN* 0 0 0 0 0 0 0 0 0 0
Indicates that Gcom_ssdhas connection open
to this port
wd -- Watch dog timermf -- Modem floodaf -- Abort flood crc -- CRC errors
ovr -- Receive over runabt -- Receive abort
und -- Transmit under runabt -- Transmit abort
Indicates that Gcom_ssddoes not have connection
open to this port
![Page 42: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/42.jpg)
42
CDI Provider
Digi Driver
intsx25.1
Digi Sync/570
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
Protocol Stacks and Dumps
X.25 Stack
Gcom_cdi -u
ix25prm.maxfrmsz = 1100ix25prm.ix25mode = non-DMA (0)ix25prm.frstart = 12ix25prm.ix25wrapflg = NONE (0)ix25prm.hdx_optns = 0ix25prm.rcv_bfrs = 16ix25prm.xmit_bfrs = 20ix25prm.rcv_bfr_size = 1100ix25prm.xmit_bfr_size = 1100ix25prm.ix25_optns = 0x00ix25prm.ix25_enb = 1ix25prm.ix25_retry = 4ix25prm.ix25_ifd = 0ix25prm.ix25_ll_optns = 0x00ix25prm.ix25_chip_type = HD64570 (13)ix25prm.rcv_dma = 0ix25prm.xmt_dma = 0ix25prm.ix25_code = NRZ (0)ix25prm.ix25_clks = TxC in, RxC in (0)ix25prm.baudrate = 64000
Ensure large enough
Mode=0 is HDLC
Ensure no loopback
Same value as maxfrmsz
Ensure NRZ encoding
External clocking
If ix25_clks=0, does not matterwhat this is
![Page 43: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/43.jpg)
43
CDI Provider
Digi Driver
intsx25.1
Digi Sync/570
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
Protocol Stacks and Dumps
X.25 Stack
Gcom_cdi -u
ix25prm.mdm_lim = 6ix25prm.mdm_msk = DTR+ RTS+ DSR- DCD- CTS- (0x03)ix25prm.wd_timer = 5000ix25prm.seq_end_dly = 0ix25prm.lt_dly = 0ix25prm.hertz = 9216000ix25prm.board_type = 0ix25prm.elect_if_type = 1ix25prm.ix25_noops = 0ix25prm.histsz = 160ix25prm.line = 1ix25prm.irq = 11ix25prm.port_addr = 0x01ix25prm.mem_addr = 0xfc040000ix25prm.cable_port = 1
Input signalsOutput signals
Same as UPA
Board Number
Port on board
![Page 44: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/44.jpg)
44
Digi Driver
Digi Sync/570
User
Kernel
Gcom_ssd
CDI Provider
intsx25.2
CDI_Prov.2
Protocol Stacks and Dumps
ALC Stack
Gcom_cdi -u
ix25prm.maxfrmsz = 4096ix25prm.ix25mode = ALC (14)ix25prm.frstart = 16ix25prm.ix25wrapflg = NONE (0)ix25prm.hdx_optns = HDX - don't wait CTS, Half Duplex (3)ix25prm.rcv_bfrs = 20ix25prm.xmit_bfrs = 6ix25prm.rcv_bfr_size = 4096ix25prm.xmit_bfr_size = 4096ix25prm.ix25_optns = 0x00ix25prm.ix25_enb = 1ix25prm.ix25_retry = 4ix25prm.ix25_ifd = 1
Ensure large enoughMode=14 is ALC
Ensure no loopback
Same value as maxfrmsz
Ensure HDX is correct
100μs ticks after messagein full duplex mode
![Page 45: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/45.jpg)
45
Digi Driver
Digi Sync/570
User
Kernel
Gcom_ssd
CDI Provider
intsx25.2
CDI_Prov.2
Protocol Stacks and Dumps
ALC Stack
Gcom_cdi -u
ix25prm.ix25_ll_optns = 0x18ix25prm.ix25_chip_type = HD64570 (13)ix25prm.rcv_dma = 0ix25prm.xmt_dma = 0ix25prm.ix25_code = NRZ (0)ix25prm.ix25_clks = TxC in, RxC in (0)ix25prm.baudrate = 9600
Ensure NRZ encodingExternal clocking
If ix25_clks=0, does not matterwhat this is
0x08 = Unused0x10 = Invert message bits0x20 = Include CCC in buffer0x40 = Invert idle bits
Change to 0x10
![Page 46: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/46.jpg)
46
Digi Driver
Digi Sync/570
User
Kernel
Gcom_ssd
CDI Provider
intsx25.2
CDI_Prov.2
Protocol Stacks and Dumps
ALC Stack
Gcom_cdi -u
ix25prm.mdm_lim = 6ix25prm.mdm_msk = DTR+ RTS+ DSR- DCD- CTS- (0x03)ix25prm.wd_timer = 5000ix25prm.seq_end_dly = 1ix25prm.lt_dly = 4ix25prm.hertz = 9216000ix25prm.board_type = 0ix25prm.elect_if_type = 1ix25prm.ix25_noops = 0ix25prm.histsz = 166ix25prm.line = 1ix25prm.irq = 16ix25prm.port_addr = 0x01ix25prm.mem_addr = 0xf6040000ix25prm.cable_port = 1
Input signalsOutput signals
Same as UPA
Board Number
Port on board
Number PAD chars
Not used
![Page 47: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/47.jpg)
47
Digi Driver
Digi Sync/570
User
Kernel
Gcom_ssd
CDI Provider
intsx25.2
CDI_Prov.2
Protocol Stacks and Dumps
UTS Stack
Gcom_cdi -u
ix25prm.maxfrmsz = 4096ix25prm.ix25mode = hdx bisync uniscope (11)ix25prm.frstart = 16ix25prm.ix25wrapflg = NONE (0)ix25prm.hdx_optns = Half Duplex (1)ix25prm.rcv_bfrs = 20ix25prm.xmit_bfrs = 6ix25prm.rcv_bfr_size = 4096ix25prm.xmit_bfr_size = 4096ix25prm.ix25_optns = 0x00ix25prm.ix25_enb = 0ix25prm.ix25_retry = 4
Ensure large enough
Mode=11 is UTS
Ensure no loopback
Same value as maxfrmsz
UTS is half duplex
![Page 48: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/48.jpg)
48
Digi Driver
Digi Sync/570
User
Kernel
Gcom_ssd
CDI Provider
intsx25.2
CDI_Prov.2
Protocol Stacks and Dumps
UTS Stack
Gcom_cdi -u
ix25prm.ix25_ll_optns = 0x28ix25prm.ix25_chip_type = HD64570 (13)ix25prm.rcv_dma = 0ix25prm.xmt_dma = 0ix25prm.ix25_code = NRZ (0)ix25prm.ix25_clks = TxC in, RxC in (0)ix25prm.baudrate = 19200
Ensure NRZ encoding
External clocking
If ix25_clks=0, does not matterwhat this is
0x08 = Unused0x20 = Odd parity0x40 = Even parity0x80 = No parity on SYN char
Change to 0x20
![Page 49: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/49.jpg)
49
Digi Driver
Digi Sync/570
User
Kernel
Gcom_ssd
CDI Provider
intsx25.2
CDI_Prov.2
Protocol Stacks and Dumps
UTS Stack
Gcom_cdi -u
ix25prm.mdm_lim = 6ix25prm.mdm_msk = DTR+ RTS+ DSR- DCD- CTS- (0x03)ix25prm.wd_timer = 5000ix25prm.seq_end_dly = 1ix25prm.lt_dly = 4ix25prm.hertz = 9216000ix25prm.board_type = 0ix25prm.elect_if_type = 6ix25prm.ix25_noops = 0ix25prm.histsz = 166ix25prm.line = 1ix25prm.irq = 10ix25prm.port_addr = 0x01ix25prm.mem_addr = 0xd6040000ix25prm.cable_port = 1
Input signalsOutput signals
Same as UPA
Board Number
Port on board
Number PAD chars
Initial syncs
![Page 50: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/50.jpg)
50
Protocol Stacks and DumpsX.25 Stack
Gcom_dlpi -L
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
LPA MUX PPA IFACE MODULE CDI_STATE LAP_TYPE--- --- --- ----- ------ --------------- -------- 1 94 1 CDI NULL INPUT_ALLOWED none 2 96 2 CDI NULL INPUT_ALLOWED none
Lower Point of AttachmentEquivalent to line number
Internal STREAMSmultiplexing ID
CDI Physical Point of AttachmentCDI UPA number
Ring System protocol moduleinside CDI User (NULL)
State of CDI User interface
LAP = Link Access ProcedureNone in CDI UserNote that these are LPAs
relative to DLPI Provider.
![Page 51: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/51.jpg)
51
Protocol Stacks and DumpsX.25 Stack
Gcom_dlpi -l
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
cd_state = INPUT_ALLOWED (6)cd_minor = 1cd_state_history[] = 2 3 6 = DISABLED ENABLE_PENDING INPUT_ALLOWEDcd_modem_bits = DTR+ RTS+ DSR- DCD- CTS-cd_events = 0x0cd_canput_next_stream = 1cd_wq_queued = 0cd_rd_queued = 0cd_wr_lo_mark = 15000cd_wr_hi_mark = 20000cd_rd_lo_mark = 2000cd_rd_hi_mark = 5000
Not meaningful due toRing System tunneling
From CDI User standpoint
![Page 52: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/52.jpg)
52
Protocol Stacks and DumpsX.25 Stack
Gcom_dlpi -l
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
cd_auth = id 0x53353730 / prt 31 / usr 31 feat: 07C SNA FrmRly Link X.25 BSC env: 11D LnxI86 SPARC SolI86 QNX HPU brd: 003 SYNC570-2 SYNC570-4cd_bfr_queue_count = 0cd_waiting_ack_count = 0cd_deferred_data_count = 0cd_next_wq_queued = 0cd_next_rd_queued = 0cd_next_next_wq_queued = 0cd_next_next_rd_queued = 0
License key
Not meaningful due toRing System tunneling
![Page 53: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/53.jpg)
53
Protocol Stacks and DumpsX.25 Stack
Gcom_dlpi -U
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
UPA MODULE DLPI_STATE LPA MUX BIND LAP_TYPE PRIM SEC XMIT RCV--- ------ ---------- --- --- ---- -------- ---- --- ---------- ---------- 1 frame infoxfer 1 94 01 lapb 01 03 1549 1544 2 frame infoxfer 2 96 01 lapb 01 03 1544 1548
Indicates X.25 Frame Level
sabmuawt = Sent SABM awaiting UAdiscuawt = Send DISC awaiting UAinfoxfer = Information transferuseruawt = Received SABM awaiting packet level UAuserdiscwt = Received DISC awaiting packet level UAdiscphase = Disconnected phaseverify_up = SABM/UA, verifying Information Transferfrmidle = Idle state, ready for SABM
These should match upwith Gcom_dlpi -L
Counts only I-Frames
![Page 54: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/54.jpg)
54
Protocol Stacks and DumpsX.25 Stack
Gcom_dlpi -u
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
frmpar.maxfsize = 300frmpar.frmwsize = 7frmpar.fdte = 0frmpar.T1_timer = 3frmpar.T2_timer = 10200frmpar.n2 = 20frmpar.fwrapflg = 0x00frmpar.nettype = 0frmpar.frm_optns = 0x00frmpar.fhistsz = 166frmpar.frm_chip_type = 0frmpar.dp_timer = 0frmpar.disc_type = 1frmpar.frm_enb = 1frmpar.T3_timer = 0frmpar.min_wsize = 2frmpar.frm_optns2 = 0x42frmpar.frm_mdmsigs = DTR- RTS- DSR- DCD- CTS- (0x00)frmpar.lap_type = lapb (8)frmpar.prim_addr = 01frmpar.sec_addr = 03
Ensure large enough
10200 = 200ms
Ensure not loopback
Signals required for operationUsually set to 0x00
Ensure LAPB
Correct for DTEOpposite for DCE
![Page 55: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/55.jpg)
55
Protocol Stacks and DumpsX.25 Stack
Gcom_dlpi -u
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
frmpar.lfc_low = 7frmpar.lfc_high = 12frmpar.frm_optns3 = 0x0720frmpar.link_mode = 1frmpar.pl_priority = 0frmpar.frm_optns4 = 0x0000frmpar.rcv_frmsize = 0frmpar.xmt_frmsize = 0frmpar.rcv_wsize = 7frmpar.xmt_wsize = 7
fvs (send sequence) = 6fvr (rcv sequence) = 1frbfrs (outbound q'd) = 0fstate = infoxfer (3)sent_rnr to client = 0
0x20 = Role negotiation
Next N(S) value
Last N(R) value
Should be zero
Should be zero
![Page 56: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/56.jpg)
56
Protocol Stacks and DumpsX.25 Stack
Gcom_dlpi -u
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
Frame Counts: Transmitted ReceivedI-Frames 1566 1561RR Cmnd 37 36RR Rsp 37 38RNR Cmnd 0 0RNR Rsp 0 0REJ Cmnd 0 0REJ Rsp 0 0SREJ Cmnd/Rsp 0 0SABM 2 0SABME 0 0UA 0 1DISC 0 0DM 0 0FRMR 0 0XID/TEST/UI 0 0T1 Timeouts 0T2 Timeouts 1T3 Timeouts 0N2 Timeouts 0Bad Address 0Unsolicited F-Bit 0Invalid Ctl 0
Should be zero
Should be zero
Non-zero is OK
![Page 57: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/57.jpg)
57
Protocol Stacks and DumpsX.25 Stack
Gcom_npi -L
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
LPA MUX INTERFACE MODULE STATE STYLE ATT BIND IND CONN PUID--- --- ----------- ------- ---------- ----- --- ---- --- ---- ---- 1 95 DLPI_IFACE packet IDLE 501 1 01 0 03 0001 2 97 DLPI_IFACE packet IDLE 501 2 01 0 03 0002
Lower Point of AttachmentEquivalent to line number Unique ID for each X.25
packet level module
Interface to DLPINot useful
Note that these are LPAsrelative to NPI Provider.
![Page 58: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/58.jpg)
58
Protocol Stacks and DumpsX.25 Stack
Gcom_npi -l
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
pktpar.dfltpsize = 256pktpar.maxpsize = 256pktpar.lopvc = 100pktpar.hipvc = 100pktpar.losvc = 1pktpar.hisvc = 16pktpar.pkt_pu_id = 1pktpar.dfltwsize = 2pktpar.clrdiag = 1pktpar.resdiag = 1pktpar.rstrtdiag = 1pktpar.pkt_optns = 0x2pktpar.pnettype = 0
Large enough for 240 byteAX.25 packets
Logical channel ranges
Default window size
![Page 59: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/59.jpg)
59
Protocol Stacks and DumpsX.25 Stack
Gcom_npi -l
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
pktpar.pdte = 0pktpar.pkstart = 12pktpar.pwrapflg = 0pktpar.T20 = 18pktpar.R20 = 1pktpar.T21 = 20pktpar.T22 = 18pktpar.R22 = 1pktpar.T23 = 18pktpar.R23 = 1pktpar.phistsz = 160
0 = DCE1 = DTEResult of role negotiation
Ensure not loopback
Timers and retriesin 10 sec ticks
![Page 60: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/60.jpg)
60
Protocol Stacks and DumpsX.25 Stack
Gcom_npi -l
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
offered = ff 1 2c 56 0 0 2f 2f 0 0 1 6 0 0 0 0 0 0selected = 3e 0 c 70 0 0 7f 3f 0 0 1 2 0 0 8 0 0 0performed = 30 0 0 1 0 0 0 0 0 0 f2 21 c 0 0 0 50 2
0x20 = charging info
[0]
Ensure all theseare zero
[4] [8] [12] [16]
0x80 = currency
0x02 = segments0x04 = duration
For Switched Virtual Circuit setup
Charging Facilities
![Page 61: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/61.jpg)
61
Protocol Stacks and DumpsX.25 Stack
Gcom_npi -l
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
offered = ff 1 2c 56 0 0 2f 2f 0 0 1 6 0 0 0 0 0 0selected = 3e 0 c 70 0 0 7f 3f 0 0 1 2 0 0 8 0 0 0performed = 10 0 0 1 0 0 0 0 0 0 f2 21 4c 0 0 0 50 2
[0] [4] [8] [12] [16]
0x40 = Suppress flwctl facils in all call packets. Overridessettings in [16] and [0]
0x40 = Call Acceptflw ctl facils dependson Call Request0x80 = Suppress flwctl facils in CallRequest only
For Switched Virtual Circuit setup
0x10 = Negotiate flwctl facils values
Flow Control Facilities
![Page 62: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/62.jpg)
62
Protocol Stacks and DumpsX.25 Stack
Gcom_npi -l
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
offered = ff 1 2c 56 0 0 2f 2f 0 0 1 6 0 0 0 0 0 0selected = 3e 0 c 70 0 0 7f 3f 0 0 1 2 0 0 8 0 0 0performed = 10 0 0 1 0 0 0 0 0 0 f2 21 4c 0 0 0 50 2
[0] [4] [8] [12] [16]
For Switched Virtual Circuit setup
0x20 = Negotiate throughput class facil values
Throughput Class Facilities
![Page 63: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/63.jpg)
63
Protocol Stacks and DumpsX.25 Stack
Gcom_npi -l
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
pktpar.T28 = 30pktpar.R28 = 1pktpar.intr_data = 32pktpar.tp_class = 0xaapktpar.std_version = 1984
Throughput class values.0xOI where O is outboundand I is inbound. 3 = 75 b/s4 = 150 b/s5 = 300 b/s6 = 600 b/s7 = 1,200 b/s8 = 2,400 b/s9 = 4,800 b/sA = 9,600 b/sB = 19,200 b/sC = 48,000 b/sD = 64,000 b/s
Which version of theX.25 standard to use.Values are 1980, 1984,1988 or 0.
Forces options in selectedstructure. 0 means usersets all desired options.
![Page 64: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/64.jpg)
64
Protocol Stacks and DumpsX.25 Stack
Gcom_npi -l
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
Packet Counters: Input OutputInvalid 0Call Req 0 2Call Acpt 2 0Clear Req 0 1Clear Conf 1 0Data Pkts 308 309Data Bytes 72520 72760Intr Req 0 0Intr Conf 0 0RR Pkt 200 199RNR Pkt 0 0Reset Req 0 0Reset Conf 0 0Restart Req 1 1Restart Conf 0 0Diagnostic 0 0Buffers Q'd 0 0Active Calls (both in and out) 1
Packet counts by type
![Page 65: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/65.jpg)
65
Protocol Stacks and DumpsX.25 Stack
Gcom_npi -U
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
MNR UPA LPA NPI_State Type Chan Data-out Data-in Address PID--- --- --- --------- ---- ---- -------- ------- --------------- ----- 1 - - IDLE * 0 0 0 * 30859 2 1 1 DATA_XFER X.25 1 291 290 321 30859 3 2 2 DATA_XFER X.25 1 291 291 321 30859
Minor device number/npip(241,1) in lsof
Upper Point of Attachment
LPA = Line numberX.25 LCN
Process ID of owner
![Page 66: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/66.jpg)
66
Protocol Stacks and DumpsX.25 Stack
Gcom_npi -u
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
stream.np_max_sdu = 4096stream.np_min_sdu = 0stream.np_wr_lo_mark = 15000stream.np_wr_hi_mark = 20000stream.np_rd_lo_mark = 15000stream.np_rd_hi_mark = 20000
Set by npip.0 sectionin config file
![Page 67: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/67.jpg)
67
Protocol Stacks and DumpsX.25 Stack
Gcom_npi -u
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
ps_lwr_module_type = packetps_dev = 2ps_pa_nr = 1ps_stateHistoryIndex = 3ps_state = DATA_XFER (9)ps_stateHistory[] = 3 6 9 -1 -1 -1 -1 -1ps_event_mask = 0x0ps_on_off = 1ps_downstream_rr = 1ps_down_stream_queued = 0ps_down_rsys_qd = 0ps_down_rsys_ex_qd = 0ps_upstream_rr = 1ps_up_rsys_queued = 0ps_up_stream_queued = 0ps_up_stream_next_qd = 0ps_canput_next_stream = 1
Minor device number
UPA number
Internal flow control“rr” should be 1“queued” should be 0
![Page 68: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/68.jpg)
68
Protocol Stacks and DumpsX.25 Stack
Gcom_npi -u
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
ps_lpa = 1ps_pu_id = 1ps_lvl3_ch = 0x1ps_lvl3_rsys = pktlvl.1 (9)ps_res_addr = "321"ps_lcl_addr = ""ps_user_id = 0ps_process_id = 30859
LPA number
PU ID number
X.25 LCN
PID of owning process
Ring System process
![Page 69: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/69.jpg)
69
Protocol Stacks and DumpsX.25 Stack
Gcom_npi -u
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
counters.np_data_in = 304counters.np_data_out = 305counters.np_exdata_in = 0counters.np_exdata_out = 0counters.np_rcdata_in = 0counters.np_rcdata_out = 0counters.np_datack_in = 0counters.np_datack_rout = 0counters.np_datack_out = 0counters.np_bytes_in = 72960counters.np_bytes_out = 73200counters.np_dataq_in = 0counters.np_dataq_out = 0counters.np_resets_in = 0counters.np_resets_out = 0counters.np_err_ack_cnt = 0
Counters maintainedby NPI driver perconnection
![Page 70: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/70.jpg)
70
Protocol Stacks and DumpsX.25 Stack
Gcom_npi -V
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
LPA PU-Nr PU-State Link-State Board Port Modem-Signals 1 1 Up Up 1 1 DTR+ RTS+ DSR+ DCD- CTS- 2 2 Up Up 1 2 DTR+ RTS+ DSR+ DCD- CTS-
X.25 packet levelup/down
X.25 frame levelup/down
![Page 71: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/71.jpg)
71
Protocol Stacks and DumpsX.25 Stack
Gcom_ivp npi-summary
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
MNR UPA LPA Lstns State Data-in Dta-out Local-Addr Remote-Addr--- --- --- ----- ----- ------- ------- ---------- ----------- 1 0 - 128 IDLE3 0 0 * * 2 1 1 0 DATA9 260 261 321 3 2 2 0 DATA9 261 261 321
States defined in/usr/include/gcom/npi.h
Non-zero meanslistening connection
Information similar toGcom_npi -U
![Page 72: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/72.jpg)
72
Protocol Stacks and DumpsX.25 Stack
Gcom_ivp npi-summary
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
LPA/PUID Calls Up/Down #routes Route-Id Cost Priority LCN Address-------- ----- ------- ------- -------- ---- -------- ---- ------- - 0 1 0 - 1/1 1 1 2 00000065 0 0 0 * 000000C9 5 0 100 100 2/2 1 1 2 00000066 0 0 0 *2 000000CA 5 0 100 200
Address pattern forougoing X.25 calls
Active X.25 calls NPI Routing Table
Packet level up/down
LCN 0 means SVC
![Page 73: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/73.jpg)
73
Protocol Stacks and DumpsX.25 Stack
Gcom_ss -Uw
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
Index:Name SS-State Type FilDes Operation PortId Rcv-Count Xmt-Count Partner 0:SyncSkt Idle GPI -1 Data 0 0 0 - 1:Probe-Conn Idle Probe 17 None 0 0 0 - 2:x25_out Idle X.25 -1 None 0 0 0 - 3:x25_in ConCnfPnd X.25 19 ConReq 0 1 0 - 45:Probe-Conn DataXfr Probe 23 Data 0 2 7 - 47:x25_in DataXfr X.25 22 Data 2 200 199 49:SyncSkt 48:SyncSkt DataXfr GPI 20 Data 0 199 198 50:x25_out 49:SyncSkt DataXfr GPI 18 Data 0 199 199 47:x25_in 50:x25_out DataXfr X.25 21 Data 1 199 200 48:SyncSkt
Internal SSD connectionindex number
Cloned connection
Defined in SS API manual
Most recent SS operation
Note partner connection
GPI = SyncSocket TCP connection
![Page 74: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/74.jpg)
74
Protocol Stacks and DumpsX.25 Stack
Gcom_ss -u
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
Connection name
X.25 Connection
name = 47:x25_iniface.pname = X.25iface.type = 4conf.conname = connection.3:conf.type = X.25conf.name = x25_inpidx = 47idx = 47fd = 22
partner = 49:SyncSktclone_parent = 3:x25_in
listen_address = 321remote_address = *line_number = 2listen = 1
facilities = 420808430202
npi.npi_state = DATA_XFER
NPI file descriptor
SyncSocket partner
Cloned from this connection
X.25 addresses
Line number
Listening type connection
Negotiated facilities
NPI state (npi.h)
![Page 75: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/75.jpg)
75
Protocol Stacks and DumpsX.25 Stack
Gcom_ss -u
Digi Sync/570
CDI Provider
Digi Driver
DLPI Provider
CDI User
NPI Provider
DLPI User
User
Kernel
Gcom_ssd
pktlvl.1
frmlvl.1
intsx25.1 intsx25.2
SyncSocket Connection
name = 49:SyncSktiface.pname = GPIiface.type = 1conf.conname = connection.0:conf.type = GPIconf.name = SyncSktpidx = 49idx = 49fd = 18
partner = 47:x25_inclone_parent = 0:SyncSkt
ss_state = 3 DATA TRANSFERSyncSocket state
Connection name
TCP file descriptor
X.25 partner
Cloned from this connection
![Page 76: 1 Protocol Stacks and Dumps Gcom, Inc. Training Presentation Providing Solutions for the World of Data Communications.](https://reader036.fdocuments.us/reader036/viewer/2022070408/56649e555503460f94b4ca27/html5/thumbnails/76.jpg)
04/21/23
Protocol Stacks and DumpsEnd of Presentation