Rev 1728 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1728 | Rev 1801 | ||
---|---|---|---|
Line 372... | Line 372... | ||
372 | link_local: |
372 | link_local: |
373 | call random |
373 | call random |
374 | mov ecx,0xfea9 ; IP 169.254.0.0 link local net, see RFC3927 |
374 | mov ecx,0xfea9 ; IP 169.254.0.0 link local net, see RFC3927 |
375 | mov cx,ax |
375 | mov cx,ax |
376 | eth.set_IP ecx ; mask is 255.255.0.0 |
376 | eth.set_IP ecx ; mask is 255.255.0.0 |
377 | DEBUGF 1,"Link Local IP assinged: 169.254.%u.%u\n",[generator+2]:1,[generator+3]:1 |
377 | DEBUGF 1,"Link Local IP assigned: 169.254.%u.%u\n",[generator+2]:1,[generator+3]:1 |
378 | eth.set_SUBNET 0xffff |
378 | eth.set_SUBNET 0xffff |
379 | eth.set_GATEWAY 0x0 |
379 | eth.set_GATEWAY 0x0 |
380 | eth.set_DNS 0x0 |
380 | eth.set_DNS 0x0 |
Line 381... | Line 381... | ||
381 | 381 | ||
Line 404... | Line 404... | ||
404 | inc esi |
404 | inc esi |
Line 405... | Line 405... | ||
405 | 405 | ||
406 | cmp esi,PROBE_NUM |
406 | cmp esi,PROBE_NUM |
Line 407... | Line 407... | ||
407 | jl probe_loop |
407 | jl probe_loop |
408 | 408 | ||
Line 409... | Line 409... | ||
409 | ; now we wait further ANNOUNCE_WAIT seconds and send ANNOUNCE_NUM ARP announces. If any other host has assingned |
409 | ; now we wait further ANNOUNCE_WAIT seconds and send ANNOUNCE_NUM ARP announces. If any other host has assigned |
410 | ; IP within this time, we should create another adress, that have to be done later |
410 | ; IP within this time, we should create another adress, that have to be done later |
411 | 411 |