Lines Matching refs:create_packet
284 static void create_packet(void *buf, int seq_offset, int ack_offset, in create_packet() function
308 create_packet(flag_buf, flag * payload_len, 0, payload_len, 0); in send_flags()
323 create_packet(buf, i * PAYLOAD_LEN, 0, PAYLOAD_LEN, 0); in send_flags()
336 create_packet(buf, 0, 0, payload_len1, 0); in send_data_pkts()
338 create_packet(buf, payload_len1, 0, payload_len2, 0); in send_data_pkts()
353 create_packet(pkts[i], i * MSS, 0, MSS, 0); in send_large()
354 create_packet(last, NUM_LARGE_PKT * MSS, 0, remainder, 0); in send_large()
355 create_packet(new_seg, (NUM_LARGE_PKT + 1) * MSS, 0, remainder, 0); in send_large()
368 create_packet(buf, 0, 0, 0, 0); in send_ack()
371 create_packet(buf, 0, 1, 0, 0); in send_ack()
474 create_packet(buf, 0, 0, PAYLOAD_LEN, 0); in send_changed_checksum()
477 create_packet(buf, PAYLOAD_LEN, 0, PAYLOAD_LEN, 0); in send_changed_checksum()
489 create_packet(buf, 0, 0, PAYLOAD_LEN, 0); in send_changed_seq()
492 create_packet(buf, PAYLOAD_LEN, 0, PAYLOAD_LEN, 0); in send_changed_seq()
508 create_packet(buf, 0, 0, PAYLOAD_LEN, 0); in send_changed_ts()
512 create_packet(buf, PAYLOAD_LEN, 0, PAYLOAD_LEN, 0); in send_changed_ts()
516 create_packet(buf, PAYLOAD_LEN * 2, 0, PAYLOAD_LEN, 0); in send_changed_ts()
520 create_packet(buf, PAYLOAD_LEN * 3, 0, PAYLOAD_LEN, 0); in send_changed_ts()
524 create_packet(buf, PAYLOAD_LEN * 4, 0, PAYLOAD_LEN, 0); in send_changed_ts()
538 create_packet(buf, 0, 0, PAYLOAD_LEN, 0); in send_diff_opt()
542 create_packet(buf, PAYLOAD_LEN, 0, PAYLOAD_LEN, 0); in send_diff_opt()
546 create_packet(buf, PAYLOAD_LEN * 2, 0, PAYLOAD_LEN, 0); in send_diff_opt()
586 create_packet(buf, 0, 0, PAYLOAD_LEN, 0); in send_ip_options()
589 create_packet(buf, PAYLOAD_LEN * 1, 0, PAYLOAD_LEN, 0); in send_ip_options()
593 create_packet(buf, PAYLOAD_LEN * 2, 0, PAYLOAD_LEN, 0); in send_ip_options()
604 create_packet(buf, 0, 0, PAYLOAD_LEN, 0); in send_fragment4()
629 create_packet(buf, 0, 0, PAYLOAD_LEN, 0); in send_changed_ttl()
632 create_packet(buf, PAYLOAD_LEN, 0, PAYLOAD_LEN, 0); in send_changed_ttl()
647 create_packet(buf, 0, 0, PAYLOAD_LEN, 0); in send_changed_tos()
650 create_packet(buf, PAYLOAD_LEN, 0, PAYLOAD_LEN, 0); in send_changed_tos()
668 create_packet(buf, 0, 0, PAYLOAD_LEN, 0); in send_changed_ECN()
671 create_packet(buf, PAYLOAD_LEN, 0, PAYLOAD_LEN, 0); in send_changed_ECN()
696 create_packet(buf, PAYLOAD_LEN * i, 0, PAYLOAD_LEN, 0); in send_fragment6()
700 create_packet(buf, PAYLOAD_LEN * 2, 0, PAYLOAD_LEN, 0); in send_fragment6()
712 create_packet(buf, PAYLOAD_LEN * 3, 0, PAYLOAD_LEN, 0); in send_fragment6()
819 create_packet(fin_pkt, PAYLOAD_LEN * 2, 0, 0, 1); in gro_sender()