Subversion Repositories Kolibri OS

Rev

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

Rev 2301 Rev 2302
Line 11... Line 11...
11
;;         GNU GENERAL PUBLIC LICENSE                              ;;
11
;;         GNU GENERAL PUBLIC LICENSE                              ;;
12
;;          Version 2, June 1991                                   ;;
12
;;          Version 2, June 1991                                   ;;
13
;;                                                                 ;;
13
;;                                                                 ;;
14
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
14
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 15... Line 15...
15
 
15
 
Line 16... Line 16...
16
$Revision: 2301 $
16
$Revision: 2302 $
Line 17... Line 17...
17
 
17
 
Line 564... Line 564...
564
	DEBUGF	1,"SOCKET_listen: socknum: %u backlog: %u\n", ecx, edx
564
	DEBUGF	1,"SOCKET_listen: socknum: %u backlog: %u\n", ecx, edx
Line 565... Line 565...
565
 
565
 
566
	call	SOCKET_num_to_ptr
566
	call	SOCKET_num_to_ptr
Line 567... Line 567...
567
	jz	s_error
567
	jz	s_error
568
 
568
 
Line 569... Line 569...
569
	cmp	word [eax + SOCKET.Domain], AF_INET4
569
	cmp	[eax + SOCKET.Domain], AF_INET4
570
	jne	s_error
570
	jne	s_error
Line 618... Line 618...
618
	jz	s_error
618
	jz	s_error
Line 619... Line 619...
619
 
619
 
620
	test	[eax + SOCKET.options], SO_ACCEPTCON
620
	test	[eax + SOCKET.options], SO_ACCEPTCON
Line 621... Line 621...
621
	jz	s_error
621
	jz	s_error
622
 
622
 
Line 623... Line 623...
623
	cmp	word [eax + SOCKET.Domain], AF_INET4
623
	cmp	[eax + SOCKET.Domain], AF_INET4
624
	jne	s_error
624
	jne	s_error
Line 862... Line 862...
862
 
862
 
863
	call	SOCKET_num_to_ptr
863
	call	SOCKET_num_to_ptr
Line 864... Line 864...
864
	jz	s_error
864
	jz	s_error
865
 
865
 
866
	cmp	dword [edx], IP_PROTO_TCP
866
	cmp	dword [edx], IP_PROTO_TCP
867
	jnz	s_error
867
	jne	s_error
868
	cmp	dword [edx+4], -2
868
	cmp	dword [edx+4], -2
869
	jz	@f
869
	je	@f
870
	cmp	dword [edx+4], -3
870
	cmp	dword [edx+4], -3
871
	jnz	s_error
871
	jne	s_error
872
@@:
872
@@:
873
;        mov     eax, [edx+12]
873
;        mov     eax, [edx+12]
874
;        test    eax, eax
874
;        test    eax, eax