Changeset 15393 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Dec 12, 2008 7:16:05 PM (16 years ago)
- Location:
- trunk/src/VBox/Devices/Network/slirp
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/bootp.c
r15293 r15393 153 153 LogRel(("NAT: %s %R[IP4]\n", 154 154 rc ? "DHCP released IP address" : "Ignored DHCP release for IP address", 155 &bp->bp_ciaddr));155 bp->bp_ciaddr.s_addr)); 156 156 /* This message is not to be answered in any way. */ 157 157 return; … … 245 245 if (send_nak) 246 246 LogRel(("NAT: Client requested IP address %R[IP4] -- sending NAK\n", 247 &requested_ip));247 requested_ip.s_addr)); 248 248 else 249 249 LogRel(("NAT: DHCP offered IP address %R[IP4]\n", 250 &daddr.sin_addr));250 daddr.sin_addr.s_addr)); 251 251 252 252 if ( dhcp_msg_type == DHCPDISCOVER -
trunk/src/VBox/Devices/Network/slirp/debug.c
r15287 r15393 230 230 AssertReturn(strcmp(pszType, "IP4") == 0, 0); 231 231 232 ip = ntohl( *(uint32_t*)pvValue);232 ip = ntohl((uint32_t)(uintptr_t)pvValue); 233 233 return RTStrFormat(pfnOutput, pvArgOutput, NULL, 0, IP4_ADDR_PRINTF_FORMAT, 234 234 IP4_ADDR_PRINTF_DECOMP(ip)); -
trunk/src/VBox/Devices/Network/slirp/ip_icmp.c
r15387 r15393 219 219 { 220 220 /* Should be reaplaced by hash here */ 221 LogRel(("trying:%R[natsock] against %R[IP4]:%d lport=%d hlport=%d\n", so, &faddr, fport, lport, so->so_hlport));221 LogRel(("trying:%R[natsock] against %R[IP4]:%d lport=%d hlport=%d\n", so, faddr.s_addr, fport, lport, so->so_hlport)); 222 222 if ( so->so_faddr.s_addr == faddr.s_addr 223 223 && so->so_fport == fport
Note:
See TracChangeset
for help on using the changeset viewer.