Subversion Repositories Kolibri OS

Rev

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

Rev 3844 Rev 4013
Line 361... Line 361...
361
        cmp     [dhcpMsgType2], 0x05            ; Was the response an ACK? It should be
361
        cmp     [dhcpMsgType2], 0x05            ; Was the response an ACK? It should be
362
        jne     read_data                       ; NO - read next packets
362
        jne     read_data                       ; NO - read next packets
Line 363... Line 363...
363
 
363
 
Line -... Line 364...
-
 
364
        DEBUGF  2, "Setting IP using DHCP\n"
-
 
365
 
364
        DEBUGF  2, "Setting IP using DHCP\n"
366
        mov     [notify_struct.msg], str_connected
Line 365... Line 367...
365
 
367
        mcall   70, notify_struct
366
        call    dhcp_end
368
        call    dhcp_end
367
 
369
 
Line 627... Line 629...
627
        dw 67 shl 8     ; destination port
629
        dw 67 shl 8     ; destination port
628
        dd -1           ; destination IP
630
        dd -1           ; destination IP
Line 629... Line 631...
629
 
631
 
Line -... Line 632...
-
 
632
        rb 10
-
 
633
 
-
 
634
notify_struct:
-
 
635
        dd 7            ; run application
-
 
636
        dd 0
-
 
637
 .msg   dd 0
-
 
638
        dd 0
-
 
639
        dd 0
-
 
640
        db '/sys/@notify', 0
630
        rb 10
641
 
Line 631... Line 642...
631
 
642
str_connected   db 'You are now connected to the network.', 0
Line 632... Line 643...
632
path            db  '/sys/network.ini',0
643
path            db '/sys/network.ini',0