Changeset 27976 in vbox for trunk/src/VBox/Devices/Network/slirp/ip_icmp.c
- Timestamp:
- Apr 4, 2010 2:16:32 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 59682
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/ip_icmp.c
r27764 r27976 188 188 } 189 189 icp0 = (struct icmp *)((char *)ip0 + (ip0->ip_hl << 2)); 190 /* 191 * IP could pointer to ICMP_REPLY datagram (1) 192 * or pointer IP header in ICMP payload in case of 190 /* 191 * IP could pointer to ICMP_REPLY datagram (1) 192 * or pointer IP header in ICMP payload in case of 193 193 * ICMP_TIMXCEED or ICMP_UNREACH (2) 194 * 194 * 195 195 * if (1) and then ICMP (type should be ICMP_ECHOREPLY) and we need check that 196 196 * IP.IP_SRC == IP0.IP_DST received datagramm comes from destination. 197 197 * 198 * if (2) then check that payload ICMP has got type ICMP_ECHO and 198 * if (2) then check that payload ICMP has got type ICMP_ECHO and 199 199 * IP.IP_DST == IP0.IP_DST destination of returned datagram is the same as 200 200 * one was sent. … … 425 425 else 426 426 slirp_arm_fast_timer(pData->pvUser); 427 427 428 428 } 429 429 else
Note:
See TracChangeset
for help on using the changeset viewer.