CAPACITY_PAYLOAD_LEN
if (data_len == CAPACITY_PAYLOAD_LEN * 2) {
CAPACITY_PAYLOAD_LEN * 2);
bool coaled = coalesced[flow_id] > CAPACITY_PAYLOAD_LEN;
bool coaled = coalesced[flow_id] > CAPACITY_PAYLOAD_LEN;
int seq_offset = pkt_idx * CAPACITY_PAYLOAD_LEN;
create_packet(buf, seq_offset, 0, CAPACITY_PAYLOAD_LEN, 0);
memset(buf + total_hdr_len, 'a' + flow_id, CAPACITY_PAYLOAD_LEN);
tcph->check = tcp_checksum(tcph, CAPACITY_PAYLOAD_LEN);
static char buf[MAX_HDR_LEN + CAPACITY_PAYLOAD_LEN];
int pkt_size = total_hdr_len + CAPACITY_PAYLOAD_LEN;