search for: r402m

Displaying 2 results from an estimated 2 matches for "r402m".

Did you mean: 402m
2009 Mar 11
1
ciaddr in dhcp_proto.c
...only filled in if client is in BOUND, RENEW or REBINDING state and can respond to ARP requests. " Is it ideal to change "boot.ciaddr = dev-> ip_addr" to "boot.ciaddr = INADDR_ANY" in dhcp_send() function? I've used a TP-LINK TL-R402M router and it will give a DHCPNAK if ciaddr is not empty.
2009 Mar 12
1
the return value of packet_peek()
Hello, all: I am executing ipconfig under a terminal and find one thing: If I execute ipconfig the first time, it will get an ip address from dhcp server, If I execute ipconfig the second time (or more times), since my TP-LINK TL-R402M router will give an icmp(ping) packet before DHCPOFFER, the ipconfig will fail after it receive the packet and tries unpack teh packet in packet_recv() since we have a packet form checking there: if (ntohs(ip->tot_len) > ret || ip->protocol != IPPROTO_UDP) goto free_pkt; ip config wil...