Lines Matching defs:packet
31 * Attempt to trace the route an ip packet would follow to some
54 * traceroute to nis.nsf.net (35.1.1.48), 30 hops max, 56 byte packet
274 /* Data section of the probe packet */
276 unsigned char seq; /* sequence number of this packet */
277 unsigned char ttl; /* ttl packet left with */
278 // UNUSED. Retaining to have the same packet size.
279 struct timeval tv_UNUSED ATTRIBUTE_PACKED; /* time packet left */
288 static struct ip *outip; /* last output (udp) packet */
289 static struct udphdr *outudp; /* last output (udp) packet */
290 static struct outdata *outdata; /* last output (udp) packet */
293 static struct icmp *outicmp; /* last output (icmp) packet */
299 static int packlen; /* total length of packet */
300 static int minpacket; /* min ip packet size */
301 static int maxpacket = 32 * 1024; /* max ip packet size */
349 /* last inbound (icmp) packet */
350 unsigned char packet[512];
363 #define packet (G.packet )
552 cc = recvfrom(sock, (char *)packet, sizeof(packet), 0,
730 printf("packet too short (%d bytes) from %s\n", cc,
1012 packlen = minpacket; /* minimum sized packet */
1014 /* Process destination and optional packet size */
1221 i = packet_ok(packet, cc, from, seq);
1222 /* Skip short packet */
1227 print(packet, cc, from);
1232 ip = (struct ip *)packet;