Changeset 15481 in vbox for trunk/src/VBox/Devices/Network/slirp
- Timestamp:
- Dec 15, 2008 8:13:20 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/ip_icmp.c
r15479 r15481 159 159 160 160 161 Log Rel(("%s: processing (proto:%d)\n", __FUNCTION__, ip->ip_p));161 Log(("%s: processing (proto:%d)\n", __FUNCTION__, ip->ip_p)); 162 162 switch (ip->ip_p) 163 163 { … … 178 178 break; 179 179 } 180 Log Rel(("Have found nothing\n"));180 Log(("Have found nothing\n")); 181 181 } 182 182 break; … … 219 219 { 220 220 /* Should be reaplaced by hash here */ 221 Log Rel(("trying:%R[natsock] against %R[IP4]:%d lport=%d hlport=%d\n", so, &faddr, fport, lport, so->so_hlport));221 Log(("trying:%R[natsock] against %R[IP4]:%d lport=%d hlport=%d\n", so, &faddr, fport, lport, so->so_hlport)); 222 222 if ( so->so_faddr.s_addr == faddr.s_addr 223 223 && so->so_fport == fport … … 240 240 icm->im_so = so; 241 241 found = 1; 242 Log Rel(("hit:%R[natsock]\n", so));242 Log(("hit:%R[natsock]\n", so)); 243 243 /*XXX: this storage not very long, 244 244 * better add flag if it should removed from lis … … 413 413 icmp_attach(pData, m); 414 414 ttl = ip->ip_ttl; 415 Log Rel(("NAT/ICMP: try to set TTL(%d)\n", ttl));415 Log(("NAT/ICMP: try to set TTL(%d)\n", ttl)); 416 416 status = setsockopt(pData->icmp_socket.s, IPPROTO_IP, IP_TTL, 417 417 (void *)&ttl, sizeof(ttl));
Note:
See TracChangeset
for help on using the changeset viewer.