Lines Matching refs:write_packet

274 static void write_packet(int fd, char *buf, int len, struct sockaddr_ll *daddr)  in write_packet()  function
321 write_packet(fd, flag_buf, pkt_size, daddr); in send_flags()
325 write_packet(fd, buf, total_hdr_len + PAYLOAD_LEN, daddr); in send_flags()
338 write_packet(fd, buf, total_hdr_len + payload_len1, daddr); in send_data_pkts()
340 write_packet(fd, buf, total_hdr_len + payload_len2, daddr); in send_data_pkts()
359 write_packet(fd, pkts[i], total_hdr_len + MSS, daddr); in send_large()
360 write_packet(fd, last, total_hdr_len + remainder, daddr); in send_large()
361 write_packet(fd, new_seg, total_hdr_len + remainder, daddr); in send_large()
370 write_packet(fd, buf, total_hdr_len, daddr); in send_ack()
371 write_packet(fd, buf, total_hdr_len, daddr); in send_ack()
373 write_packet(fd, buf, total_hdr_len, daddr); in send_ack()
476 write_packet(fd, buf, pkt_size, daddr); in send_changed_checksum()
480 write_packet(fd, buf, pkt_size, daddr); in send_changed_checksum()
491 write_packet(fd, buf, pkt_size, daddr); in send_changed_seq()
497 write_packet(fd, buf, pkt_size, daddr); in send_changed_seq()
511 write_packet(fd, extpkt, pkt_size, daddr); in send_changed_ts()
515 write_packet(fd, extpkt, pkt_size, daddr); in send_changed_ts()
519 write_packet(fd, extpkt, pkt_size, daddr); in send_changed_ts()
523 write_packet(fd, extpkt, pkt_size, daddr); in send_changed_ts()
527 write_packet(fd, extpkt, pkt_size, daddr); in send_changed_ts()
541 write_packet(fd, extpkt1, extpkt1_size, daddr); in send_diff_opt()
545 write_packet(fd, extpkt1, extpkt1_size, daddr); in send_diff_opt()
551 write_packet(fd, extpkt2, extpkt2_size, daddr); in send_diff_opt()
588 write_packet(fd, buf, total_hdr_len + PAYLOAD_LEN, daddr); in send_ip_options()
592 write_packet(fd, optpkt, pkt_size, daddr); in send_ip_options()
595 write_packet(fd, buf, total_hdr_len + PAYLOAD_LEN, daddr); in send_ip_options()
606 write_packet(fd, buf, pkt_size, daddr); in send_fragment4()
620 write_packet(fd, buf, pkt_size, daddr); in send_fragment4()
631 write_packet(fd, buf, pkt_size, daddr); in send_changed_ttl()
637 write_packet(fd, buf, pkt_size, daddr); in send_changed_ttl()
649 write_packet(fd, buf, pkt_size, daddr); in send_changed_tos()
659 write_packet(fd, buf, pkt_size, daddr); in send_changed_tos()
670 write_packet(fd, buf, pkt_size, daddr); in send_changed_ECN()
680 write_packet(fd, buf, pkt_size, daddr); in send_changed_ECN()
698 write_packet(fd, buf, bufpkt_len, daddr); in send_fragment6()
711 write_packet(fd, extpkt, extpkt_len, daddr); in send_fragment6()
714 write_packet(fd, buf, bufpkt_len, daddr); in send_fragment6()
824 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
827 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
830 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
833 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
836 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
839 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
842 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
845 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
848 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
851 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
854 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
857 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
860 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
863 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
871 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
876 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
881 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
884 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
895 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
898 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()