Rev 3565 | Rev 3601 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3565 | Rev 3600 | ||
---|---|---|---|
Line 125... | Line 125... | ||
125 | last_ack_sent dd ? |
125 | last_ack_sent dd ? |
Line 126... | Line 126... | ||
126 | 126 | ||
127 | 127 | ||
- | 128 | ;------- |
|
128 | ;------- |
129 | ; Timers |
129 | ; Timers |
130 | timer_flags dd ? |
130 | timer_retransmission dd ? ; rexmt |
131 | timer_retransmission dd ? ; rexmt |
131 | timer_persist dd ? |
132 | timer_persist dd ? |
Line 213... | Line 214... | ||
213 | mov ecx, 5 |
214 | mov ecx, 5 |
214 | rep stosd |
215 | rep stosd |
Line 215... | Line 216... | ||
215 | 216 | ||
216 | @@: |
217 | @@: |
217 | pseudo_random eax |
218 | pseudo_random eax |
218 | cmp ax, MIN_EPHEMERAL_PORT |
219 | cmp ax, EPHEMERAL_PORT_MIN |
219 | jb @r |
220 | jb @r |
220 | cmp ax, MAX_EPHEMERAL_PORT |
221 | cmp ax, EPHEMERAL_PORT_MAX |
221 | ja @r |
222 | ja @r |
222 | xchg al, ah |
223 | xchg al, ah |
Line 223... | Line 224... | ||
223 | mov [last_UDP_port], ax |
224 | mov [last_UDP_port], ax |
224 | 225 | ||
225 | @@: |
226 | @@: |
226 | pseudo_random eax |
227 | pseudo_random eax |
227 | cmp ax, MIN_EPHEMERAL_PORT |
228 | cmp ax, EPHEMERAL_PORT_MIN |
228 | jb @r |
229 | jb @r |
229 | cmp ax, MAX_EPHEMERAL_PORT |
230 | cmp ax, EPHEMERAL_PORT_MAX |
230 | ja @r |
231 | ja @r |
Line 231... | Line 232... | ||
231 | xchg al, ah |
232 | xchg al, ah |
Line 1119... | Line 1120... | ||
1119 | .bind: |
1120 | .bind: |
1120 | cmp dword [edx+8], 0 |
1121 | cmp dword [edx+8], 0 |
1121 | je .unbind |
1122 | je .unbind |
Line 1122... | Line 1123... | ||
1122 | 1123 | ||
1123 | movzx edx, byte [edx + 9] |
1124 | movzx edx, byte [edx + 9] |
1124 | cmp edx, MAX_NET_DEVICES |
1125 | cmp edx, NET_DEVICES_MAX |
Line 1125... | Line 1126... | ||
1125 | ja s_error |
1126 | ja s_error |
1126 | 1127 | ||
1127 | mov edx, [NET_DRV_LIST + 4*edx] |
1128 | mov edx, [NET_DRV_LIST + 4*edx] |