KolibriOS kernel
tcp.inc File Reference

Classes

struct  TCP_header
 
struct  TCP_queue_entry
 

Macros

#define tcp_init
 --------------------------------------------------------------—; ; TCP_init: Resets all TCP variables. ; ; --------------------------------------------------------------—; More...
 

Variables

rd TCP_segments_tx
 
rd TCP_segments_rx
 
rd TCP_segments_missed
 
rd TCP_segments_dumped
 
dd TCP_sequence_num
 TCP_bytes_rx rq NET_DEVICES_MAX TCP_bytes_tx rq NET_DEVICES_MAX. More...
 
rd TCP_queue
 
dd TCP_input_event
 
dd TCP_timer1_event
 
dd TCPS_accepts
 #SYNs received in LISTEN state More...
 
dd TCPS_closed
 #connections closed (includes drops) More...
 
dd TCPS_connattempt
 #connections initiated (calls to connect) More...
 
dd TCPS_conndrops
 #embryonic connections dropped (before SYN received) More...
 
dd TCPS_connects
 #connections established actively or passively More...
 
dd TCPS_delack
 #delayed ACKs sent More...
 
dd TCPS_drops
 #connections dropped (after SYN received) More...
 
dd TCPS_keepdrops
 #connections dropped in keepalive (established or awaiting SYN) More...
 
dd TCPS_keepprobe
 #keepalive probes sent More...
 
dd TCPS_keeptimeo
 #times keepalive timer or connections-establishment timer expire More...
 
dd TCPS_pawsdrop
 #segments dropped due to PAWS More...
 
dd TCPS_pcbcachemiss
 #times PCB cache comparison fails More...
 
dd TCPS_persisttimeo
 #times persist timer expires More...
 
dd TCPS_predack
 #times header prediction correct for ACKs More...
 
dd TCPS_preddat
 #times header prediction correct for data packets More...
 
dd TCPS_rcvackbyte
 #bytes ACKed by received ACKs More...
 
dd TCPS_rcvackpack
 #received ACK packets More...
 
dd TCPS_rcvacktoomuch
 #received ACKs for unsent data More...
 
dd TCPS_rcvafterclose
 #packets received after connection closed More...
 
dd TCPS_rcvbadoff
 #packets received with invalid header length More...
 
dd TCPS_rcvbadsum
 #packets received with checksum errors More...
 
dd TCPS_rcvbyte
 #bytes received in sequence More...
 
dd TCPS_rcvbyteafterwin
 #bytes received beyond advertised window More...
 
dd TCPS_rcvdupack
 #duplicate ACKs received More...
 
dd TCPS_rcvdupbyte
 #bytes receivedin completely duplicate packets More...
 
dd TCPS_rcvduppack
 #packets received with completely duplicate bytes More...
 
dd TCPS_rcvoobyte
 #out-of-order bytes received More...
 
dd TCPS_rcvoopack
 #out-of-order packets received More...
 
dd TCPS_rcvpack
 #packets received in sequence More...
 
dd TCPS_rcvpackafterwin
 #packets with some data beyond advertised window More...
 
dd TCPS_rcvpartdupbyte
 #duplicate bytes in part-duplicate packets More...
 
dd TCPS_rcvpartduppack
 #packets with some duplicate data More...
 
dd TCPS_rcvshort
 #packets received too short More...
 
dd TCPS_rcvtotal
 #total packets received More...
 
dd TCPS_rcvwinprobe
 #window probe packets received More...
 
dd TCPS_rcvwinupd
 #received window update packets More...
 
dd TCPS_rexmttimeo
 #retransmission timeouts More...
 
dd TCPS_rttupdated
 #times RTT estimators updated More...
 
dd TCPS_segstimed
 #segments for which TCP tried to measure RTT More...
 
dd TCPS_sndacks
 #ACK-only packets sent (data length = 0) More...
 
dd TCPS_sndbyte
 #data bytes sent More...
 
dd TCPS_sndctrl
 #control (SYN, FIN, RST) packets sent (data length = 0) More...
 
dd TCPS_sndpack
 #data packets sent (data length > 0) More...
 
dd TCPS_sndprobe
 #window probes sent (1 byte of data forced by persist timer) More...
 
dd TCPS_sndrexmitbyte
 #data bytes retransmitted More...
 
dd TCPS_sndrexmitpack
 #data packets retransmitted More...
 
dd TCPS_sndtotal
 total #packets sent More...
 
dd TCPS_sndurg
 #packets sent with URG-only (data length=0) More...
 
dd TCPS_sndwinup
 #window update-only packets sent (data length=0) More...
 
dd TCPS_timeoutdrop
 #connections dropped in retransmission timeout More...
 
label tcp_api
 ---------------------------------------------------------------—; ; tcp_api: Part of system function 76 ; ; IN: bl = subfunction number ; bh = device number ; ecx, edx, .. depends on subfunction ; ; OUT: depends on subfunction ; ; ---------------------------------------------------------------—; More...
 

Macro Definition Documentation

◆ tcp_init

#define tcp_init

--------------------------------------------------------------—; ; TCP_init: Resets all TCP variables. ; ; --------------------------------------------------------------—;

Source
network/tcp.inc:204

Variable Documentation

◆ tcp_api

label tcp_api

---------------------------------------------------------------—; ; tcp_api: Part of system function 76 ; ; IN: bl = subfunction number ; bh = device number ; ecx, edx, .. depends on subfunction ; ; OUT: depends on subfunction ; ; ---------------------------------------------------------------—;

Source
network/tcp.inc:254

◆ TCP_input_event

dd TCP_input_event
Initial value
?
Source
network/tcp.inc:138

◆ TCP_queue

rd TCP_queue
Initial value
(TCP_QUEUE_SIZE*sizeof.TCP_queue_entry + sizeof.queue)/4
Source
network/tcp.inc:137

◆ TCP_segments_dumped

rd TCP_segments_dumped
Initial value
NET_DEVICES_MAX
Source
network/tcp.inc:133

◆ TCP_segments_missed

rd TCP_segments_missed
Initial value
NET_DEVICES_MAX
Source
network/tcp.inc:132

◆ TCP_segments_rx

rd TCP_segments_rx
Initial value
NET_DEVICES_MAX
Source
network/tcp.inc:131

◆ TCP_segments_tx

rd TCP_segments_tx
Initial value
NET_DEVICES_MAX
Source
network/tcp.inc:130

◆ TCP_sequence_num

dd TCP_sequence_num

TCP_bytes_rx rq NET_DEVICES_MAX TCP_bytes_tx rq NET_DEVICES_MAX.

Initial value
?
Source
network/tcp.inc:136

◆ TCP_timer1_event

dd TCP_timer1_event
Initial value
?
Source
network/tcp.inc:139

◆ TCPS_accepts

dd TCPS_accepts

#SYNs received in LISTEN state

Initial value
?
Source
network/tcp.inc:145

◆ TCPS_closed

dd TCPS_closed

#connections closed (includes drops)

Initial value
?
Source
network/tcp.inc:146

◆ TCPS_connattempt

dd TCPS_connattempt

#connections initiated (calls to connect)

Initial value
?
Source
network/tcp.inc:147

◆ TCPS_conndrops

dd TCPS_conndrops

#embryonic connections dropped (before SYN received)

Initial value
?
Source
network/tcp.inc:148

◆ TCPS_connects

dd TCPS_connects

#connections established actively or passively

Initial value
?
Source
network/tcp.inc:149

◆ TCPS_delack

dd TCPS_delack

#delayed ACKs sent

Initial value
?
Source
network/tcp.inc:150

◆ TCPS_drops

dd TCPS_drops

#connections dropped (after SYN received)

Initial value
?
Source
network/tcp.inc:151

◆ TCPS_keepdrops

dd TCPS_keepdrops

#connections dropped in keepalive (established or awaiting SYN)

Initial value
?
Source
network/tcp.inc:152

◆ TCPS_keepprobe

dd TCPS_keepprobe

#keepalive probes sent

Initial value
?
Source
network/tcp.inc:153

◆ TCPS_keeptimeo

dd TCPS_keeptimeo

#times keepalive timer or connections-establishment timer expire

Initial value
?
Source
network/tcp.inc:154

◆ TCPS_pawsdrop

dd TCPS_pawsdrop

#segments dropped due to PAWS

Initial value
?
Source
network/tcp.inc:155

◆ TCPS_pcbcachemiss

dd TCPS_pcbcachemiss

#times PCB cache comparison fails

Initial value
?
Source
network/tcp.inc:156

◆ TCPS_persisttimeo

dd TCPS_persisttimeo

#times persist timer expires

Initial value
?
Source
network/tcp.inc:157

◆ TCPS_predack

dd TCPS_predack

#times header prediction correct for ACKs

Initial value
?
Source
network/tcp.inc:158

◆ TCPS_preddat

dd TCPS_preddat

#times header prediction correct for data packets

Initial value
?
Source
network/tcp.inc:159

◆ TCPS_rcvackbyte

dd TCPS_rcvackbyte

#bytes ACKed by received ACKs

Initial value
?
Source
network/tcp.inc:160

◆ TCPS_rcvackpack

dd TCPS_rcvackpack

#received ACK packets

Initial value
?
Source
network/tcp.inc:161

◆ TCPS_rcvacktoomuch

dd TCPS_rcvacktoomuch

#received ACKs for unsent data

Initial value
?
Source
network/tcp.inc:162

◆ TCPS_rcvafterclose

dd TCPS_rcvafterclose

#packets received after connection closed

Initial value
?
Source
network/tcp.inc:163

◆ TCPS_rcvbadoff

dd TCPS_rcvbadoff

#packets received with invalid header length

Initial value
?
Source
network/tcp.inc:164

◆ TCPS_rcvbadsum

dd TCPS_rcvbadsum

#packets received with checksum errors

Initial value
?
Source
network/tcp.inc:165

◆ TCPS_rcvbyte

dd TCPS_rcvbyte

#bytes received in sequence

Initial value
?
Source
network/tcp.inc:166

◆ TCPS_rcvbyteafterwin

dd TCPS_rcvbyteafterwin

#bytes received beyond advertised window

Initial value
?
Source
network/tcp.inc:167

◆ TCPS_rcvdupack

dd TCPS_rcvdupack

#duplicate ACKs received

Initial value
?
Source
network/tcp.inc:168

◆ TCPS_rcvdupbyte

dd TCPS_rcvdupbyte

#bytes receivedin completely duplicate packets

Initial value
?
Source
network/tcp.inc:169

◆ TCPS_rcvduppack

dd TCPS_rcvduppack

#packets received with completely duplicate bytes

Initial value
?
Source
network/tcp.inc:170

◆ TCPS_rcvoobyte

dd TCPS_rcvoobyte

#out-of-order bytes received

Initial value
?
Source
network/tcp.inc:171

◆ TCPS_rcvoopack

dd TCPS_rcvoopack

#out-of-order packets received

Initial value
?
Source
network/tcp.inc:172

◆ TCPS_rcvpack

dd TCPS_rcvpack

#packets received in sequence

Initial value
?
Source
network/tcp.inc:173

◆ TCPS_rcvpackafterwin

dd TCPS_rcvpackafterwin

#packets with some data beyond advertised window

Initial value
?
Source
network/tcp.inc:174

◆ TCPS_rcvpartdupbyte

dd TCPS_rcvpartdupbyte

#duplicate bytes in part-duplicate packets

Initial value
?
Source
network/tcp.inc:175

◆ TCPS_rcvpartduppack

dd TCPS_rcvpartduppack

#packets with some duplicate data

Initial value
?
Source
network/tcp.inc:176

◆ TCPS_rcvshort

dd TCPS_rcvshort

#packets received too short

Initial value
?
Source
network/tcp.inc:177

◆ TCPS_rcvtotal

dd TCPS_rcvtotal

#total packets received

Initial value
?
Source
network/tcp.inc:178

◆ TCPS_rcvwinprobe

dd TCPS_rcvwinprobe

#window probe packets received

Initial value
?
Source
network/tcp.inc:179

◆ TCPS_rcvwinupd

dd TCPS_rcvwinupd

#received window update packets

Initial value
?
Source
network/tcp.inc:180

◆ TCPS_rexmttimeo

dd TCPS_rexmttimeo

#retransmission timeouts

Initial value
?
Source
network/tcp.inc:181

◆ TCPS_rttupdated

dd TCPS_rttupdated

#times RTT estimators updated

Initial value
?
Source
network/tcp.inc:182

◆ TCPS_segstimed

dd TCPS_segstimed

#segments for which TCP tried to measure RTT

Initial value
?
Source
network/tcp.inc:183

◆ TCPS_sndacks

dd TCPS_sndacks

#ACK-only packets sent (data length = 0)

Initial value
?
Source
network/tcp.inc:184

◆ TCPS_sndbyte

dd TCPS_sndbyte

#data bytes sent

Initial value
?
Source
network/tcp.inc:185

◆ TCPS_sndctrl

dd TCPS_sndctrl

#control (SYN, FIN, RST) packets sent (data length = 0)

Initial value
?
Source
network/tcp.inc:186

◆ TCPS_sndpack

dd TCPS_sndpack

#data packets sent (data length > 0)

Initial value
?
Source
network/tcp.inc:187

◆ TCPS_sndprobe

dd TCPS_sndprobe

#window probes sent (1 byte of data forced by persist timer)

Initial value
?
Source
network/tcp.inc:188

◆ TCPS_sndrexmitbyte

dd TCPS_sndrexmitbyte

#data bytes retransmitted

Initial value
?
Source
network/tcp.inc:189

◆ TCPS_sndrexmitpack

dd TCPS_sndrexmitpack

#data packets retransmitted

Initial value
?
Source
network/tcp.inc:190

◆ TCPS_sndtotal

dd TCPS_sndtotal

total #packets sent

Initial value
?
Source
network/tcp.inc:191

◆ TCPS_sndurg

dd TCPS_sndurg

#packets sent with URG-only (data length=0)

Initial value
?
Source
network/tcp.inc:192

◆ TCPS_sndwinup

dd TCPS_sndwinup

#window update-only packets sent (data length=0)

Initial value
?
Source
network/tcp.inc:193

◆ TCPS_timeoutdrop

dd TCPS_timeoutdrop

#connections dropped in retransmission timeout

Initial value
?
Source
network/tcp.inc:194