Lines Matching refs:msg_len
66 unsigned msg_len;
127 send_icmp4->icmp_cksum = in_cksum((uint16_t *) send_icmp4, TT.msg_len);
135 len = TT.msg_len;
156 if (sendto(TT.snd_sock, out, TT.msg_len, 0,
505 TT.msg_len = pack_size = ICMP_HD_SIZE4; //udp payload is also 8bytes
507 TT.msg_len = atolx_range(toys.optargs[1], pack_size, 32768);//max packet size
559 if (setsockopt(TT.snd_sock, SOL_SOCKET, SO_SNDBUF, &TT.msg_len,
560 sizeof(TT.msg_len)) < 0) perror_exit("SO_SNDBUF failed ");
576 TT.packet = xzalloc(TT.msg_len);
638 xprintf(", %ld hops max, %u byte packets\n", TT.max_ttl, TT.msg_len);