Home
last modified time | relevance | path

Searched refs:tx_ph (Results 1 – 2 of 2) sorted by relevance

/xnu-8796.121.2/bsd/net/
H A Dif_utun.c430 kern_packet_t tx_ph = kern_channel_slot_get_packet(tx_ring, tx_slot); in utun_netif_sync_tx() local
432 if (tx_ph == 0) { in utun_netif_sync_tx()
438 (void) kern_channel_slot_detach_packet(tx_ring, tx_slot, tx_ph); in utun_netif_sync_tx()
440 kern_packet_append(tx_ph, tx_chain_ph); in utun_netif_sync_tx()
442 tx_chain_ph = tx_ph; in utun_netif_sync_tx()
448 kern_buflet_t tx_buf = kern_packet_get_next_buflet(tx_ph, NULL); in utun_netif_sync_tx()
455 bpf_tap_packet_out(pcb->utun_ifp, DLT_RAW, tx_ph, NULL, 0); in utun_netif_sync_tx()
493 kern_packet_get_euuid(tx_ph, (void *)(tx_baddr + sizeof(af))); in utun_netif_sync_tx()
765 kern_packet_t tx_ph = kern_channel_slot_get_packet(tx_ring, tx_slot); in utun_netif_sync_rx() local
772 if (tx_ph == 0) { in utun_netif_sync_rx()
[all …]
H A Dif_ipsec.c884 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()
[all …]