Subversion Repositories Kolibri OS

Rev

Rev 1733 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1733 Rev 1763
Line 1... Line 1...
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                                 ;;
2
;;                                                                 ;;
3
;; Copyright (C) KolibriOS team 2004-2010. All rights reserved.    ;;
3
;; Copyright (C) KolibriOS team 2004-2011. All rights reserved.    ;;
4
;; Distributed under terms of the GNU General Public License       ;;
4
;; Distributed under terms of the GNU General Public License       ;;
5
;;                                                                 ;;
5
;;                                                                 ;;
6
;;  TCP.INC                                                        ;;
-
 
7
;;                                                                 ;;
-
 
8
;;  Part of the tcp/ip network stack for KolibriOS                 ;;
6
;;  Part of the tcp/ip network stack for KolibriOS                 ;;
9
;;                                                                 ;;
7
;;                                                                 ;;
10
;;   Written by hidnplayr@kolibrios.org                            ;;
8
;;   Written by hidnplayr@kolibrios.org                            ;;
11
;;                                                                 ;;
9
;;                                                                 ;;
12
;;    Based on the code of 4.4BSD                                  ;;
10
;;    Based on the code of 4.4BSD                                  ;;
Line 14... Line 12...
14
;;          GNU GENERAL PUBLIC LICENSE                             ;;
12
;;          GNU GENERAL PUBLIC LICENSE                             ;;
15
;;             Version 2, June 1991                                ;;
13
;;             Version 2, June 1991                                ;;
16
;;                                                                 ;;
14
;;                                                                 ;;
17
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
15
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 18... Line 16...
18
 
16
 
Line 19... Line 17...
19
$Revision: 1733 $
17
$Revision: 1763 $
20
 
18
 
21
; Socket states
19
; Socket states
22
TCB_CLOSED		equ 0
20
TCB_CLOSED		equ 0
Line 75... Line 73...
75
 
73
 
76
;
74
;
77
TCP_max_winshift	equ 14
75
TCP_max_winshift	equ 14
Line -... Line 76...
-
 
76
TCP_max_win		equ 65535
-
 
77
 
78
TCP_max_win		equ 65535
78
TCP_re_xmit_thresh	equ 3
79
 
79
 
80
struct	TCP_segment
80
struct	TCP_segment
81
	.SourcePort		dw ?
81
	.SourcePort		dw ?
82
	.DestinationPort	dw ?
82
	.DestinationPort	dw ?