Rev 3626 | Rev 4265 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3626 | Rev 3725 | ||
---|---|---|---|
Line 12... | Line 12... | ||
12 | ;; GNU GENERAL PUBLIC LICENSE ;; |
12 | ;; GNU GENERAL PUBLIC LICENSE ;; |
13 | ;; Version 2, June 1991 ;; |
13 | ;; Version 2, June 1991 ;; |
14 | ;; ;; |
14 | ;; ;; |
15 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
15 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 16... | Line 16... | ||
16 | 16 | ||
Line 17... | Line 17... | ||
17 | $Revision: 3626 $ |
17 | $Revision: 3725 $ |
18 | 18 | ||
19 | ; Socket states |
19 | ; Socket states |
20 | TCPS_CLOSED = 0 |
20 | TCPS_CLOSED = 0 |
Line 125... | Line 125... | ||
125 | buffer_ptr dd ? |
125 | buffer_ptr dd ? |
126 | timestamp dd ? |
126 | timestamp dd ? |
Line 127... | Line 127... | ||
127 | 127 | ||
Line 128... | Line -... | ||
128 | ends |
- | |
129 | 128 | ends |
|
- | 129 | ||
- | 130 | uglobal |
|
130 | align 4 |
131 | align 4 |
131 | uglobal |
132 | |
132 | TCP_segments_tx rd NET_DEVICES_MAX |
133 | TCP_segments_tx rd NET_DEVICES_MAX |
133 | TCP_segments_rx rd NET_DEVICES_MAX |
134 | TCP_segments_rx rd NET_DEVICES_MAX |
134 | TCP_segments_missed rd NET_DEVICES_MAX |
135 | TCP_segments_missed rd NET_DEVICES_MAX |
135 | TCP_segments_dumped rd NET_DEVICES_MAX |
136 | TCP_segments_dumped rd NET_DEVICES_MAX |
136 | ; TCP_bytes_rx rq NET_DEVICES_MAX |
137 | ; TCP_bytes_rx rq NET_DEVICES_MAX |
137 | ; TCP_bytes_tx rq NET_DEVICES_MAX |
138 | ; TCP_bytes_tx rq NET_DEVICES_MAX |
138 | TCP_sequence_num dd ? |
139 | TCP_sequence_num dd ? |
139 | TCP_queue rd TCP_QUEUE_SIZE*sizeof.TCP_queue_entry/4 |
140 | TCP_queue rd (TCP_QUEUE_SIZE*sizeof.TCP_queue_entry + sizeof.queue)/4 |
Line 140... | Line 141... | ||
140 | TCP_input_event dd ? |
141 | TCP_input_event dd ? |
Line 161... | Line 162... | ||
161 | init_queue TCP_queue |
162 | init_queue TCP_queue |
Line 162... | Line 163... | ||
162 | 163 | ||
163 | movi ebx, 1 |
164 | movi ebx, 1 |
164 | mov ecx, TCP_process_input |
165 | mov ecx, TCP_process_input |
- | 166 | call new_sys_threads |
|
- | 167 | test eax, eax |
|
- | 168 | jns @f |
|
- | 169 | DEBUGF DEBUG_NETWORK_ERROR,'K : cannot create kernel thread for TCP, error %d\n', eax |
|
Line 165... | Line 170... | ||
165 | call new_sys_threads |
170 | @@: |
Line 166... | Line 171... | ||
166 | 171 |