Lines Matching defs:packet
40 * Attempt to trace the route an ip packet would follow to some
63 * traceroute to nis.nsf.net (35.1.1.48), 30 hops max, 56 byte packet
280 /* Data section of the probe packet */
282 u_char seq; /* sequence number of this packet */
283 u_char ttl; /* ttl packet left with */
287 } tv; /* time packet left */
325 static u_char packet[512]; /* last inbound (icmp) packet */
327 static struct ip *outip; /* last output (udp) packet */
328 static struct udphdr *outudp; /* last output (udp) packet */
332 static struct icmp *outicmp; /* last output (icmp) packet */
342 static int packlen; /* total length of packet */
343 static int minpacket; /* min ip packet size */
344 static int maxpacket = 32 * 1024; /* max ip packet size */
614 packlen = minpacket; /* minimum sized packet */
619 /* Process destination and optional packet size */
624 "packet length", minpacket, maxpacket);
961 i = packet_ok(packet, cc, from, seq);
962 /* Skip short packet */
968 print(packet, cc, from);
972 ip = (struct ip *)packet;
1054 decode_extensions(packet, cc);
1096 cc = prog_recvfrom(sock, (char *)packet, sizeof(packet), 0,
1190 * a unknown offset into the packet,
1223 Fprintf(stderr, "packet data:");
1351 * decrease the packet size until we find one that
1424 Printf("packet too short (%zd bytes) from %s\n", cc,