Lines Matching refs:fragment

593                                          struct iovec *fragment,  in net_tx_pkt_tcp_fragment_init()  argument
600 struct iovec *l4 = fragment + NET_TX_PKT_PL_START_FRAG; in net_tx_pkt_tcp_fragment_init()
639 static void net_tx_pkt_tcp_fragment_deinit(struct iovec *fragment) in net_tx_pkt_tcp_fragment_deinit() argument
641 g_free(fragment[NET_TX_PKT_PL_START_FRAG].iov_base); in net_tx_pkt_tcp_fragment_deinit()
645 struct iovec *fragment, in net_tx_pkt_tcp_fragment_fix() argument
649 struct iovec *l3hdr = fragment + NET_TX_PKT_L3HDR_FRAG; in net_tx_pkt_tcp_fragment_fix()
650 struct iovec *l4hdr = fragment + NET_TX_PKT_PL_START_FRAG; in net_tx_pkt_tcp_fragment_fix()
669 struct iovec *fragment, in net_tx_pkt_tcp_fragment_advance() argument
673 struct iovec *l3hdr = fragment + NET_TX_PKT_L3HDR_FRAG; in net_tx_pkt_tcp_fragment_advance()
674 struct iovec *l4hdr = fragment + NET_TX_PKT_PL_START_FRAG; in net_tx_pkt_tcp_fragment_advance()
700 struct iovec *fragment, in net_tx_pkt_udp_fragment_fix() argument
706 struct iovec *l3hdr = fragment + NET_TX_PKT_L3HDR_FRAG; in net_tx_pkt_udp_fragment_fix()
728 struct iovec fragment[NET_MAX_FRAG_SG_LIST]; in net_tx_pkt_do_sw_fragmentation() local
742 fragment[NET_TX_PKT_VHDR_FRAG].iov_base = &virt_hdr; in net_tx_pkt_do_sw_fragmentation()
743 fragment[NET_TX_PKT_VHDR_FRAG].iov_len = sizeof(virt_hdr); in net_tx_pkt_do_sw_fragmentation()
744 fragment[NET_TX_PKT_L2HDR_FRAG] = pkt->vec[NET_TX_PKT_L2HDR_FRAG]; in net_tx_pkt_do_sw_fragmentation()
745 fragment[NET_TX_PKT_L3HDR_FRAG] = pkt->vec[NET_TX_PKT_L3HDR_FRAG]; in net_tx_pkt_do_sw_fragmentation()
750 if (!net_tx_pkt_tcp_fragment_init(pkt, fragment, &pl_idx, &l4hdr_len, in net_tx_pkt_do_sw_fragmentation()
772 &src_idx, &src_offset, src_len, fragment, &dst_idx); in net_tx_pkt_do_sw_fragmentation()
780 net_tx_pkt_tcp_fragment_fix(pkt, fragment, fragment_len, gso_type); in net_tx_pkt_do_sw_fragmentation()
781 net_tx_pkt_do_sw_csum(pkt, fragment + NET_TX_PKT_L2HDR_FRAG, in net_tx_pkt_do_sw_fragmentation()
787 net_tx_pkt_udp_fragment_fix(pkt, fragment, fragment_offset, in net_tx_pkt_do_sw_fragmentation()
793 fragment + NET_TX_PKT_L2HDR_FRAG, dst_idx - NET_TX_PKT_L2HDR_FRAG, in net_tx_pkt_do_sw_fragmentation()
794 fragment + NET_TX_PKT_VHDR_FRAG, dst_idx - NET_TX_PKT_VHDR_FRAG); in net_tx_pkt_do_sw_fragmentation()
798 net_tx_pkt_tcp_fragment_advance(pkt, fragment, fragment_len, in net_tx_pkt_do_sw_fragmentation()
807 net_tx_pkt_tcp_fragment_deinit(fragment); in net_tx_pkt_do_sw_fragmentation()