Lines Matching refs:txfd

807 	int txfd = -1;  in gro_sender()  local
809 txfd = socket(PF_PACKET, SOCK_RAW, IPPROTO_RAW); in gro_sender()
810 if (txfd < 0) in gro_sender()
823 send_data_pkts(txfd, &daddr, PAYLOAD_LEN, PAYLOAD_LEN); in gro_sender()
824 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
826 send_data_pkts(txfd, &daddr, PAYLOAD_LEN, PAYLOAD_LEN / 2); in gro_sender()
827 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
829 send_data_pkts(txfd, &daddr, PAYLOAD_LEN / 2, PAYLOAD_LEN); in gro_sender()
830 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
832 send_ack(txfd, &daddr); in gro_sender()
833 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
835 send_flags(txfd, &daddr, 1, 0, 0, 0); in gro_sender()
836 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
838 send_flags(txfd, &daddr, 0, 1, 0, 0); in gro_sender()
839 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
841 send_flags(txfd, &daddr, 0, 0, 1, 0); in gro_sender()
842 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
844 send_flags(txfd, &daddr, 0, 0, 0, 1); in gro_sender()
845 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
847 send_changed_checksum(txfd, &daddr); in gro_sender()
848 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
850 send_changed_seq(txfd, &daddr); in gro_sender()
851 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
853 send_changed_ts(txfd, &daddr); in gro_sender()
854 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
856 send_diff_opt(txfd, &daddr); in gro_sender()
857 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
859 send_changed_ECN(txfd, &daddr); in gro_sender()
860 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
862 send_changed_tos(txfd, &daddr); in gro_sender()
863 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
870 send_changed_ttl(txfd, &daddr); in gro_sender()
871 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
874 send_ip_options(txfd, &daddr); in gro_sender()
876 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
879 send_fragment4(txfd, &daddr); in gro_sender()
881 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
883 send_fragment6(txfd, &daddr); in gro_sender()
884 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
894 send_large(txfd, &daddr, remainder); in gro_sender()
895 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
897 send_large(txfd, &daddr, remainder + 1); in gro_sender()
898 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
903 if (close(txfd)) in gro_sender()