Lines Matching refs:rawTracePacket
567 struct packet rawTracePacket; in ltp_traceroute() local
598 memset(&rawTracePacket, 0, sizeof(rawTracePacket)); in ltp_traceroute()
600 rawTracePacket.hdr.type = ICMP_ECHO; in ltp_traceroute()
601 rawTracePacket.hdr.un.echo.id = pid; in ltp_traceroute()
603 for (i = 0; i < sizeof(rawTracePacket.msg) - 1; i++) { in ltp_traceroute()
604 rawTracePacket.msg[i] = i + '0'; in ltp_traceroute()
607 rawTracePacket.msg[i] = 0; in ltp_traceroute()
608 rawTracePacket.hdr.un.echo.sequence = count++; in ltp_traceroute()
609 rawTracePacket.hdr.checksum = in ltp_traceroute()
610 checksum(&rawTracePacket, sizeof(rawTracePacket)); in ltp_traceroute()
613 (rawTraceSocket, &rawTracePacket, sizeof(rawTracePacket), 0, in ltp_traceroute()