Home
last modified time | relevance | path

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

/xnu-8019.80.24/bsd/net/
H A Dif_utun.c653 kern_packet_t rx_ph = 0; in utun_netif_sync_rx() local
654 errno_t error = kern_pbufpool_alloc_nosleep(rx_pp, 1, &rx_ph); in utun_netif_sync_rx()
679 kern_pbufpool_free(rx_pp, rx_ph); in utun_netif_sync_rx()
691 kern_pbufpool_free(rx_pp, rx_ph); in utun_netif_sync_rx()
702 kern_buflet_t rx_buf = kern_packet_get_next_buflet(rx_ph, NULL); in utun_netif_sync_rx()
709 kern_packet_clear_flow_uuid(rx_ph); // Zero flow id in utun_netif_sync_rx()
716 error = kern_packet_set_headroom(rx_ph, 0); in utun_netif_sync_rx()
718 error = kern_packet_finalize(rx_ph); in utun_netif_sync_rx()
720 error = kern_channel_slot_attach_packet(rx_ring, rx_slot, rx_ph); in utun_netif_sync_rx()
725 bpf_tap_packet_in(pcb->utun_ifp, DLT_RAW, rx_ph, NULL, 0); in utun_netif_sync_rx()
[all …]
H A Dif_ipsec.c877 kern_packet_t rx_ph = 0; in ipsec_kpipe_sync_rx() local
878 error = kern_pbufpool_alloc_nosleep(rx_pp, 1, &rx_ph); in ipsec_kpipe_sync_rx()
891 kern_pbufpool_free(rx_pp, rx_ph); in ipsec_kpipe_sync_rx()
948 kern_pbufpool_free(rx_pp, rx_ph); in ipsec_kpipe_sync_rx()
956 kern_pbufpool_free(rx_pp, rx_ph); in ipsec_kpipe_sync_rx()
963 kern_buflet_t rx_buf = kern_packet_get_next_buflet(rx_ph, NULL); in ipsec_kpipe_sync_rx()
970 kern_packet_clear_flow_uuid(rx_ph); // Zero flow id in ipsec_kpipe_sync_rx()
977 error = kern_packet_finalize(rx_ph); in ipsec_kpipe_sync_rx()
979 error = kern_channel_slot_attach_packet(rx_ring, rx_slot, rx_ph); in ipsec_kpipe_sync_rx()
1455 kern_packet_t rx_ph = 0; in ipsec_netif_sync_rx() local
[all …]