mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-29 17:50:18 +00:00
Kernel 0.93
This commit is contained in:
parent
167e9146c0
commit
b6fdc79b80
Binary file not shown.
@ -502,7 +502,7 @@ SKT.GetDataFromSktIn
|
||||
* lda #S.TCP.OPTIONS.ACK
|
||||
* jsr TCP.OUT.SendOptA
|
||||
|
||||
jsr TCP.SetSocketTCPO.ACK ACK=1 -> send WSIZE
|
||||
* jsr TCP.SetSocketTCPO.ACK ACK=1 -> send WSIZE
|
||||
|
||||
* jsr TCP.OUT.I SKT.GetTCB already called
|
||||
|
||||
|
@ -166,7 +166,7 @@ TCP.IN.JMP.ESTBLSH
|
||||
ldx TmpDWord+2
|
||||
bne .2
|
||||
tay
|
||||
beq .3
|
||||
beq .4
|
||||
|
||||
.2 clc
|
||||
adc SKT.Cache+S.SOCKET.TCP.OUTTAIL
|
||||
@ -227,24 +227,25 @@ TCP.IN.JMP.ESTBLSH
|
||||
bne .6
|
||||
inc SKT.Cache+S.SOCKET.TCP.INSEQNUM
|
||||
|
||||
.6 jsr SKT.StoreTCB success, update socket
|
||||
.6 jsr TCP.SetSocketTCPO.ACK
|
||||
|
||||
jsr TCP.SetSocketTCPO.ACK Try to ACK read DATA
|
||||
* lda #S.TCP.OPTIONS.ACK
|
||||
* jsr TCP.OUT.SendOptA Try to ACK read DATA
|
||||
|
||||
* jsr TCP.OUT.I SKT.GetTCB already called
|
||||
jsr SKT.StoreTCB success, update socket
|
||||
|
||||
.7 ldy #S.TCP.OPTIONS
|
||||
lda (ZPFrameInPtr),y
|
||||
and #S.TCP.OPTIONS.FIN
|
||||
beq .8
|
||||
|
||||
lda #S.SOCKET.TCP.S.CLWAIT
|
||||
ldy #S.SOCKET.TCP.S
|
||||
sta (ZPPtrSKT),y
|
||||
|
||||
jsr TCP.IN.ACKTheFIN
|
||||
lda #S.TCP.OPTIONS.FIN+S.TCP.OPTIONS.ACK
|
||||
jsr TCP.OUT.SendOptA FIN received, Send FIN.ACK
|
||||
bcs .9
|
||||
|
||||
lda #S.SOCKET.TCP.S.CLWAIT
|
||||
jmp SKT.StoreTCB.S
|
||||
jmp TCP.OUT.SendOptA FIN received, Send FIN.ACK
|
||||
|
||||
.8 clc
|
||||
.9 rts
|
||||
|
Loading…
Reference in New Issue
Block a user