Lines Matching refs:create_packet
285 static void create_packet(void *buf, int seq_offset, int ack_offset, in create_packet() function
309 create_packet(flag_buf, flag * payload_len, 0, payload_len, 0); in send_flags()
324 create_packet(buf, i * PAYLOAD_LEN, 0, PAYLOAD_LEN, 0); in send_flags()
337 create_packet(buf, 0, 0, payload_len1, 0); in send_data_pkts()
339 create_packet(buf, payload_len1, 0, payload_len2, 0); in send_data_pkts()
354 create_packet(pkts[i], i * MSS, 0, MSS, 0); in send_large()
355 create_packet(last, NUM_LARGE_PKT * MSS, 0, remainder, 0); in send_large()
356 create_packet(new_seg, (NUM_LARGE_PKT + 1) * MSS, 0, remainder, 0); in send_large()
369 create_packet(buf, 0, 0, 0, 0); in send_ack()
372 create_packet(buf, 0, 1, 0, 0); in send_ack()
475 create_packet(buf, 0, 0, PAYLOAD_LEN, 0); in send_changed_checksum()
478 create_packet(buf, PAYLOAD_LEN, 0, PAYLOAD_LEN, 0); in send_changed_checksum()
490 create_packet(buf, 0, 0, PAYLOAD_LEN, 0); in send_changed_seq()
493 create_packet(buf, PAYLOAD_LEN, 0, PAYLOAD_LEN, 0); in send_changed_seq()
509 create_packet(buf, 0, 0, PAYLOAD_LEN, 0); in send_changed_ts()
513 create_packet(buf, PAYLOAD_LEN, 0, PAYLOAD_LEN, 0); in send_changed_ts()
517 create_packet(buf, PAYLOAD_LEN * 2, 0, PAYLOAD_LEN, 0); in send_changed_ts()
521 create_packet(buf, PAYLOAD_LEN * 3, 0, PAYLOAD_LEN, 0); in send_changed_ts()
525 create_packet(buf, PAYLOAD_LEN * 4, 0, PAYLOAD_LEN, 0); in send_changed_ts()
539 create_packet(buf, 0, 0, PAYLOAD_LEN, 0); in send_diff_opt()
543 create_packet(buf, PAYLOAD_LEN, 0, PAYLOAD_LEN, 0); in send_diff_opt()
547 create_packet(buf, PAYLOAD_LEN * 2, 0, PAYLOAD_LEN, 0); in send_diff_opt()
587 create_packet(buf, 0, 0, PAYLOAD_LEN, 0); in send_ip_options()
590 create_packet(buf, PAYLOAD_LEN * 1, 0, PAYLOAD_LEN, 0); in send_ip_options()
594 create_packet(buf, PAYLOAD_LEN * 2, 0, PAYLOAD_LEN, 0); in send_ip_options()
605 create_packet(buf, 0, 0, PAYLOAD_LEN, 0); in send_fragment4()
630 create_packet(buf, 0, 0, PAYLOAD_LEN, 0); in send_changed_ttl()
633 create_packet(buf, PAYLOAD_LEN, 0, PAYLOAD_LEN, 0); in send_changed_ttl()
648 create_packet(buf, 0, 0, PAYLOAD_LEN, 0); in send_changed_tos()
651 create_packet(buf, PAYLOAD_LEN, 0, PAYLOAD_LEN, 0); in send_changed_tos()
669 create_packet(buf, 0, 0, PAYLOAD_LEN, 0); in send_changed_ECN()
672 create_packet(buf, PAYLOAD_LEN, 0, PAYLOAD_LEN, 0); in send_changed_ECN()
697 create_packet(buf, PAYLOAD_LEN * i, 0, PAYLOAD_LEN, 0); in send_fragment6()
701 create_packet(buf, PAYLOAD_LEN * 2, 0, PAYLOAD_LEN, 0); in send_fragment6()
713 create_packet(buf, PAYLOAD_LEN * 3, 0, PAYLOAD_LEN, 0); in send_fragment6()
820 create_packet(fin_pkt, PAYLOAD_LEN * 2, 0, 0, 1); in gro_sender()