Rev 6912 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6912 | Rev 7678 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;; ;; |
2 | ;; ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2017. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2019. 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 | ;; Part of the TCP/IP network stack for KolibriOS ;; |
6 | ;; Part of the TCP/IP network stack for KolibriOS ;; |
7 | ;; ;; |
7 | ;; ;; |
8 | ;; Written by hidnplayr@kolibrios.org ;; |
8 | ;; Written by hidnplayr@kolibrios.org ;; |
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: 6912 $ |
17 | $Revision: 7678 $ |
18 | 18 | ||
19 | 19 | ||
Line 120... | Line 120... | ||
120 | mov eax, [eax + TCP_SOCKET.RemoteIP] |
120 | mov eax, [eax + TCP_SOCKET.RemoteIP] |
121 | call ipv4_route |
121 | call ipv4_route |
122 | test eax, eax |
122 | test eax, eax |
123 | jz .enoroute |
123 | jz .enoroute |
124 | pop eax |
124 | pop eax |
125 | mov ebx, [NET_DRV_LIST + edi] |
125 | mov ebx, [net_drv_list + edi] |
126 | mov [eax + TCP_SOCKET.device], ebx |
126 | mov [eax + TCP_SOCKET.device], ebx |
127 | mov [eax + TCP_SOCKET.LocalIP], edx |
127 | mov [eax + TCP_SOCKET.LocalIP], edx |
128 | popa |
128 | popa |
Line 129... | Line 129... | ||
129 | 129 |