Subversion Repositories Kolibri OS

Rev

Rev 907 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 907 Rev 922
Line 10... Line 10...
10
;;                                                                 ;;
10
;;                                                                 ;;
11
;;  See file COPYING for details                                   ;;
11
;;  See file COPYING for details                                   ;;
12
;;                                                                 ;;
12
;;                                                                 ;;
13
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
13
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 14... Line 14...
14
 
14
 
Line 15... Line 15...
15
$Revision: 907 $
15
$Revision: 922 $
16
 
16
 
17
 
17
 
Line 148... Line 148...
148
    ; If the IP address is 255.255.255.255, accept it
148
    ; If the IP address is 255.255.255.255, accept it
149
    ; - it is a broadcast packet, which we need for dhcp
149
    ; - it is a broadcast packet, which we need for dhcp
Line 150... Line 150...
150
 
150
 
151
	mov	eax, [ebx + IP_PACKET.DestinationAddress]
151
	mov	eax, [ebx + IP_PACKET.DestinationAddress]
152
	cmp	eax, 0xffffffff
152
	cmp	eax, 0xffffffff
153
	;je      @f
153
	je	@f
154
	;mov     ecx, [stack_ip]
154
	mov	ecx, [stack_ip]
155
	;and     eax, [subnet_mask]
155
	and	eax, [subnet_mask]
156
	;and     ecx, [subnet_mask]
156
	and	ecx, [subnet_mask]
157
	;cmp     eax, ecx
157
	cmp	eax, ecx
158
	;jne     .dump.2
158
	jne	.dump.2
159
	;mov     eax, [ebx + IP_PACKET.DestinationAddress]
159
	mov	eax, [ebx + IP_PACKET.DestinationAddress]
160
	;or      eax, [subnet_mask]
160
	or	eax, [subnet_mask]
161
	;cmp     eax, 0xffffffff
161
	cmp	eax, 0xffffffff
Line 162... Line 162...
162
	jne	.dump.2
162
	jne	.dump.2
163
 
163
 
164
  @@:
164
  @@:
Line 221... Line 221...
221
  .dump.3:
221
  .dump.3:
222
	DEBUGF	1, "K : ip_rx - dumped (ihl: %u)\n", al
222
	DEBUGF	1, "K : ip_rx - dumped (ihl: %u)\n", al
223
	jmp	.dump.x
223
	jmp	.dump.x
Line 224... Line 224...
224
 
224
 
225
  .dump.4:
225
  .dump.4:
226
	DEBUGF	1, "K : ip_rx - dumped (ihl: %u)\n", [ebx + IP_PACKET.TimeToLive]
226
	DEBUGF	1, "K : ip_rx - dumped (ttl: %u)\n", [ebx + IP_PACKET.TimeToLive]
Line 227... Line 227...
227
	jmp	.dump.x
227
	jmp	.dump.x
228
 
228
 
229
  .dump.5:
229
  .dump.5: