Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d66bd135c0 |
No files matched your search
@@ -226,6 +226,7 @@ macro socket_init {
|
|||||||
mov ecx, 5
|
mov ecx, 5
|
||||||
rep stosd
|
rep stosd
|
||||||
|
|
||||||
|
rdtsc ; seed, differs from boot to boot
|
||||||
@@:
|
@@:
|
||||||
pseudo_random eax
|
pseudo_random eax
|
||||||
cmp ax, EPHEMERAL_PORT_MIN
|
cmp ax, EPHEMERAL_PORT_MIN
|
||||||
|
|||||||
@@ -208,6 +208,7 @@ macro tcp_init {
|
|||||||
mov ecx, (6*NET_DEVICES_MAX)
|
mov ecx, (6*NET_DEVICES_MAX)
|
||||||
rep stosd
|
rep stosd
|
||||||
|
|
||||||
|
rdtsc ; seed, differs from boot to boot
|
||||||
pseudo_random eax
|
pseudo_random eax
|
||||||
mov [TCP_sequence_num], eax
|
mov [TCP_sequence_num], eax
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user