- 時間撮記:
- 2024-5-13 下午03:19:03 (10 月 以前)
- svn:sync-xref-src-repo-rev:
- 163144
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/NetworkServices/NAT/pxping.c
r98103 r104603 686 686 int hopl; 687 687 u16_t iphlen; 688 u16_t id , seq;688 u16_t id; 689 689 int status; 690 690 … … 695 695 696 696 id = icmph->id; 697 seq = icmph->seqno;698 699 697 pcb = pxping_pcb_for_request(pxping, 1, 700 698 ipX_current_src_addr(), … … 708 706 DPRINTF(("ping %p: %R[ping_pcb] seq %d len %u hopl %d\n", 709 707 pcb, pcb, 710 ntohs( seq), (unsigned int)p->tot_len,708 ntohs(icmph->seqno), (unsigned int)p->tot_len, 711 709 IP6H_HOPLIM(iph))); 712 710 … … 1259 1257 struct ip_hdr *iph; 1260 1258 struct icmp_echo_hdr *icmph; 1261 u16_t id , seq;1259 u16_t id; 1262 1260 ip_addr_t guest_ip, target_ip; 1263 1261 int mapped; … … 1272 1270 1273 1271 id = icmph->id; 1274 seq = icmph->seqno;1275 1276 1272 DPRINTF(("<--- PING %RTnaipv4 id 0x%x seq %d\n", 1277 peer->sin_addr.s_addr, ntohs(id), ntohs( seq)));1273 peer->sin_addr.s_addr, ntohs(id), ntohs(icmph->seqno))); 1278 1274 1279 1275 /* … … 1362 1358 struct icmp_echo_hdr *icmph, *oicmph; 1363 1359 u16_t oipoff, oiphlen, oiplen; 1364 u16_t id , seq;1360 u16_t id; 1365 1361 ip_addr_t guest_ip, target_ip, error_ip; 1366 1362 int target_mapped, error_mapped; … … 1424 1420 1425 1421 id = oicmph->id; 1426 seq = oicmph->seqno;1427 1422 1428 1423 DPRINTF2(("%s: ping %RTnaipv4 id 0x%x seq %d", 1429 __func__, ip4_addr_get_u32(&oiph->dest), ntohs(id), ntohs( seq)));1424 __func__, ip4_addr_get_u32(&oiph->dest), ntohs(id), ntohs(oicmph->seqno))); 1430 1425 if (ICMPH_TYPE(icmph) == ICMP_DUR) { 1431 1426 DPRINTF2((" unreachable (code %d)\n", ICMPH_CODE(icmph)));
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器