Lines Matching defs:pktsize
140 doping(const char *target, int loops, u_int pktsize)
168 if (pktsize < sizeof(*icmp))
169 pktsize = sizeof(*icmp);
170 if (pktsize > sizeof(sndbuf.buf))
171 pktsize = sizeof(sndbuf.buf);
174 &pktsize, sizeof(pktsize)));
176 &pktsize, sizeof(pktsize)));
184 icmp->icmp_cksum = in_cksum(icmp, pktsize);
186 n = rump_sys_sendto(s, icmp, pktsize, 0,