Lines Matching refs:packet
107 * LBNL bug fixed: in LBNL traceroute 'uchar_t packet[512];'
108 * Not sufficient to hold the complete packet for ECHO REPLY of a big probe.
113 static uint64_t packet[(IP_MAXPACKET + 1)/8]; /* received packet */
504 "packet length", 0, -1);
755 * Calculate the packet length to be used, and check against the valid range.
761 int minpacket; /* min ip packet size */
775 * destination host. When this packet is sent, on the wire
790 /* take care of the packet length calculations and checks */
798 plen = minpacket; /* minimum sized packet */
800 Fprintf(stderr, "%s: %s packet size must be >= %d and <= %d\n",
1283 * request packet. However for convenience and for future options
1287 * the size of the request and the start of the packet is set
1352 * If a raw IPv4 packet is going to be sent, the Type of Service
1353 * field in the packet will be initialized in set_buffers().
1415 * probe packet, gateway addresses and the outgoing interface index.
1502 struct ip *ip = (struct ip *)packet;
1640 * Put a delay before sending this probe packet. Don't
1641 * delay it if it's the very first packet.
1666 iov.iov_base = (char *)packet;
1667 iov.iov_len = sizeof (packet);
1684 /* Skip short packet */
1697 (*pr->print_addr_fn) ((uchar_t *)packet,
1839 * message, as it'll try to send the probe packet out and will
1905 * Wait until a reply arrives or timeout occurs. If packet arrived, read it
1906 * return the size of the packet read.