Lines Matching refs:tx_ph
884 kern_packet_t tx_ph = kern_channel_slot_get_packet(tx_ring, tx_slot); in ipsec_kpipe_sync_rx() local
886 if (tx_ph == 0) { in ipsec_kpipe_sync_rx()
893 (void) kern_channel_slot_detach_packet(tx_ring, tx_slot, tx_ph); in ipsec_kpipe_sync_rx()
895 kern_packet_append(tx_ph, tx_chain_ph); in ipsec_kpipe_sync_rx()
897 tx_chain_ph = tx_ph; in ipsec_kpipe_sync_rx()
903 kern_buflet_t tx_buf = kern_packet_get_next_buflet(tx_ph, NULL); in ipsec_kpipe_sync_rx()
909 bpf_tap_packet_out(pcb->ipsec_ifp, DLT_RAW, tx_ph, NULL, 0); in ipsec_kpipe_sync_rx()
911 length = MIN(kern_packet_get_data_length(tx_ph), in ipsec_kpipe_sync_rx()
1220 kern_packet_t tx_ph = kern_channel_slot_get_packet(tx_ring, tx_slot); in ipsec_netif_sync_tx() local
1222 if (tx_ph == 0) { in ipsec_netif_sync_tx()
1228 (void) kern_channel_slot_detach_packet(tx_ring, tx_slot, tx_ph); in ipsec_netif_sync_tx()
1230 kern_packet_append(tx_ph, tx_chain_ph); in ipsec_netif_sync_tx()
1232 tx_chain_ph = tx_ph; in ipsec_netif_sync_tx()
1238 kern_buflet_t tx_buf = kern_packet_get_next_buflet(tx_ph, NULL); in ipsec_netif_sync_tx()
1244 bpf_tap_packet_out(pcb->ipsec_ifp, DLT_RAW, tx_ph, NULL, 0); in ipsec_netif_sync_tx()
1246 length = MIN(kern_packet_get_data_length(tx_ph), in ipsec_netif_sync_tx()
1255 uint32_t policy_id = kern_packet_get_policy_id(tx_ph); in ipsec_netif_sync_tx()
1679 kern_packet_t tx_ph = kern_channel_slot_get_packet(tx_ring, tx_slot); in ipsec_netif_sync_rx() local
1685 if (tx_ph == 0) { in ipsec_netif_sync_rx()
1690 kern_buflet_t tx_buf = kern_packet_get_next_buflet(tx_ph, NULL); in ipsec_netif_sync_rx()
1696 length = MIN(kern_packet_get_data_length(tx_ph), in ipsec_netif_sync_rx()
1710 kern_packet_get_flow_uuid(tx_ph, &flow_uuid); in ipsec_netif_sync_rx()