Lines Matching refs:cfg_payload_len
107 static int cfg_payload_len = 100;
231 uh->len = htons(sizeof(*uh) + cfg_payload_len);
237 uh->source = checksum(uh, IPPROTO_UDP, sizeof(*uh) + cfg_payload_len);
247 uh->check = checksum(uh, IPPROTO_UDP, sizeof(*uh) + cfg_payload_len);
265 th->check = checksum(th, IPPROTO_TCP, sizeof(*th) + cfg_payload_len);
288 cfg_payload_len);
312 tlen = sizeof(struct udphdr) + cfg_payload_len;
314 tlen = sizeof(struct tcphdr) + cfg_payload_len;
337 *len = cfg_payload_len;
341 *len = off - buf + cfg_payload_len;
820 cfg_payload_len = strtol(optarg, NULL, 0);
877 if (cfg_payload_len > MAX_PAYLOAD_LEN)
940 cfg_payload_len = rand() % MAX_PAYLOAD_LEN;