KolibriOS kernel
tcp_subr.inc File Reference

Macros

#define tcp_checksum(IP1, IP2)
 
#define tcp_sendseqinit(ptr)
 
#define tcp_rcvseqinit(ptr)
 
#define tcp_init_socket(socket)
 
#define tcpt_rangeset(timer, value, min, max)
 

Variables

db TCP_backoff
 
label tcp_pull_out_of_band
 --------------------------------------------------------------—; ; tcp_pull_out_of_band ; ; IN: eax = ? ; ebx = socket ptr ; edx = tcp packet ptr ; ; OUT: / ; ; --------------------------------------------------------------—; More...
 
label tcp_drop
 --------------------------------------------------------------—; ; tcp_drop ; ; IN: eax = socket ptr ; ebx = error number ; ; OUT: eax = socket ptr ; ; --------------------------------------------------------------—; More...
 
label tcp_disconnect
 --------------------------------------------------------------—; ; tcp_disconnect ; ; IN: eax = socket ptr ; ; OUT: eax = socket ptr / 0 ; ; --------------------------------------------------------------—; More...
 
label tcp_close
 --------------------------------------------------------------—; ; tcp_close ; ; IN: eax = socket ptr ; ; OUT: / ; ; --------------------------------------------------------------—; More...
 
label tcp_outflags
 --------------------------------------------------------------—; ; tcp_outflags ; ; IN: eax = socket ptr ; ; OUT: edx = flags ; ; --------------------------------------------------------------—; More...
 
label tcp_respond
 --------------------------------------------------------------—; ; TCP_respond: Fast way to send an ACK/RST/keepalive segment. ; ; IN: ebx = socket ptr ; cl = flags ; ; OUT: / ; ; --------------------------------------------------------------—; More...
 
label tcp_respond_segment
 --------------------------------------------------------------—; ; tcp_respond_segment ; ; IN: ebx = device ptr ; edx = segment ptr (a previously received segment) ; edi = ptr to IPv4 header ; cl = flags ; ; OUT: / ; ; --------------------------------------------------------------—; More...
 
label tcp_set_persist
 --------------------------------------------------------------—; ; tcp_set_persist ; ; --------------------------------------------------------------—; More...
 
label tcp_xmit_timer
 --------------------------------------------------------------—; ; tcp_xmit_timer: Calculate new smoothed RTT. ; ; IN: eax = rtt ; ebx = socket ptr ; ; OUT: / ; ; --------------------------------------------------------------—; More...
 
label tcp_mss
 --------------------------------------------------------------—; ; tcp_mss: Update maximum segment size ; ; IN: eax = max segment size ; ebx = socket ptr ; ; OUT: / ; ; --------------------------------------------------------------—; More...
 
label tcp_reassemble
 --------------------------------------------------------------—; ; tcp_reassemble ; ; IN: ebx = socket ptr ; edx = segment ptr ; ; OUT: / ; ; --------------------------------------------------------------—; More...
 

Macro Definition Documentation

◆ tcp_checksum

#define tcp_checksum (   IP1,
  IP2 
)

◆ tcp_init_socket

#define tcp_init_socket (   socket)

◆ tcp_rcvseqinit

#define tcp_rcvseqinit (   ptr)

◆ tcp_sendseqinit

#define tcp_sendseqinit (   ptr)

◆ tcpt_rangeset

#define tcpt_rangeset (   timer,
  value,
  min,
  max 
)

Variable Documentation

◆ TCP_backoff

db TCP_backoff
Initial value
0,1,2,3,4,5,6,6,6,6,6,6,6
Source
network/tcp_subr.inc:20

◆ tcp_close

label tcp_close

--------------------------------------------------------------—; ; tcp_close ; ; IN: eax = socket ptr ; ; OUT: / ; ; --------------------------------------------------------------—;

Source
network/tcp_subr.inc:224

◆ tcp_disconnect

label tcp_disconnect

--------------------------------------------------------------—; ; tcp_disconnect ; ; IN: eax = socket ptr ; ; OUT: eax = socket ptr / 0 ; ; --------------------------------------------------------------—;

Source
network/tcp_subr.inc:180

◆ tcp_drop

label tcp_drop

--------------------------------------------------------------—; ; tcp_drop ; ; IN: eax = socket ptr ; ebx = error number ; ; OUT: eax = socket ptr ; ; --------------------------------------------------------------—;

Source
network/tcp_subr.inc:143

◆ tcp_mss

label tcp_mss

--------------------------------------------------------------—; ; tcp_mss: Update maximum segment size ; ; IN: eax = max segment size ; ebx = socket ptr ; ; OUT: / ; ; --------------------------------------------------------------—;

Source
network/tcp_subr.inc:589

◆ tcp_outflags

label tcp_outflags

--------------------------------------------------------------—; ; tcp_outflags ; ; IN: eax = socket ptr ; ; OUT: edx = flags ; ; --------------------------------------------------------------—;

Source
network/tcp_subr.inc:251

◆ tcp_pull_out_of_band

label tcp_pull_out_of_band

--------------------------------------------------------------—; ; tcp_pull_out_of_band ; ; IN: eax = ? ; ebx = socket ptr ; edx = tcp packet ptr ; ; OUT: / ; ; --------------------------------------------------------------—;

Source
network/tcp_subr.inc:122

◆ tcp_reassemble

label tcp_reassemble

--------------------------------------------------------------—; ; tcp_reassemble ; ; IN: ebx = socket ptr ; edx = segment ptr ; ; OUT: / ; ; --------------------------------------------------------------—;

Source
network/tcp_subr.inc:613

◆ tcp_respond

label tcp_respond

--------------------------------------------------------------—; ; TCP_respond: Fast way to send an ACK/RST/keepalive segment. ; ; IN: ebx = socket ptr ; cl = flags ; ; OUT: / ; ; --------------------------------------------------------------—;

Source
network/tcp_subr.inc:285

◆ tcp_respond_segment

label tcp_respond_segment

--------------------------------------------------------------—; ; tcp_respond_segment ; ; IN: ebx = device ptr ; edx = segment ptr (a previously received segment) ; edi = ptr to IPv4 header ; cl = flags ; ; OUT: / ; ; --------------------------------------------------------------—;

Source
network/tcp_subr.inc:376

◆ tcp_set_persist

label tcp_set_persist

--------------------------------------------------------------—; ; tcp_set_persist ; ; --------------------------------------------------------------—;

Source
network/tcp_subr.inc:469

◆ tcp_xmit_timer

label tcp_xmit_timer

--------------------------------------------------------------—; ; tcp_xmit_timer: Calculate new smoothed RTT. ; ; IN: eax = rtt ; ebx = socket ptr ; ; OUT: / ; ; --------------------------------------------------------------—;

Source
network/tcp_subr.inc:515