Subversion Repositories Kolibri OS

Rev

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

Rev 909 Rev 915
Line 18... Line 18...
18
;;                                                              ;;
18
;;                                                              ;;
19
;;  See file COPYING for details                                ;;
19
;;  See file COPYING for details                                ;;
20
;;                                                              ;;
20
;;                                                              ;;
21
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
21
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 22... Line 22...
22
 
22
 
Line 23... Line 23...
23
$Revision: 909 $
23
$Revision: 915 $
24
 
24
 
25
 
25
 
Line 100... Line 100...
100
	; 255.255.255.255
100
	; 255.255.255.255
101
	cmp	[ebx + SOCKET.RemoteIP], 0xffffffff
101
	cmp	[ebx + SOCKET.RemoteIP], 0xffffffff
102
	je	@f
102
	je	@f
Line 103... Line 103...
103
 
103
 
104
	mov	eax, [edx + IP_PACKET.SourceAddress]	; get the Source address from the IP packet
104
	mov	eax, [edx + IP_PACKET.SourceAddress]	; get the Source address from the IP packet
105
	cmp	[ebx + SOCKET.RemoteIP], ebx
105
	cmp	[ebx + SOCKET.RemoteIP], eax
Line 106... Line 106...
106
	jne	.exit		   ; Quit if the source IP is not valid
106
	jne	.exit		   ; Quit if the source IP is not valid
107
 
107
 
108
    @@: ; OK - we have a valid UDP packet for this socket.
108
    @@: ; OK - we have a valid UDP packet for this socket.