Lines Matching refs:datalen
332 int datalen = sizeof(struct pkt_format); variable
470 datalen = atoi(*argv); in main()
474 if (datalen == 0) in main()
475 datalen = sizeof(struct pkt_format); in main()
476 else if (datalen < (int)sizeof(struct pkt_format) || in main()
477 datalen >= MAXPACKET) { in main()
487 sendbuff = malloc(datalen); in main()
528 if (setsockopt(sndsock, SOL_SOCKET, SO_SNDBUF, (char *)&datalen, in main()
529 sizeof(datalen)) < 0) { in main()
590 Fprintf(stderr, ", %d hops max, %d byte packets\n", max_ttl, datalen); in main()
743 i = sendto(sndsock, sendbuff, datalen, 0, in send_probe()
747 if (i < 0 || i != datalen) { in send_probe()
751 datalen, i); in send_probe()