Home
last modified time | relevance | path

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

/xnu-8796.101.5/bsd/net/
H A Dif_utun.c652 kern_packet_t rx_ph = 0; in utun_netif_sync_rx() local
653 errno_t error = kern_pbufpool_alloc_nosleep(rx_pp, 1, &rx_ph); in utun_netif_sync_rx()
678 kern_pbufpool_free(rx_pp, rx_ph); in utun_netif_sync_rx()
690 kern_pbufpool_free(rx_pp, rx_ph); in utun_netif_sync_rx()
701 kern_buflet_t rx_buf = kern_packet_get_next_buflet(rx_ph, NULL); in utun_netif_sync_rx()
708 kern_packet_clear_flow_uuid(rx_ph); // Zero flow id in utun_netif_sync_rx()
715 error = kern_packet_set_headroom(rx_ph, 0); in utun_netif_sync_rx()
717 error = kern_packet_finalize(rx_ph); in utun_netif_sync_rx()
719 error = kern_channel_slot_attach_packet(rx_ring, rx_slot, rx_ph); in utun_netif_sync_rx()
724 bpf_tap_packet_in(pcb->utun_ifp, DLT_RAW, rx_ph, NULL, 0); in utun_netif_sync_rx()
[all …]
H A Dif_ipsec.c876 kern_packet_t rx_ph = 0; in ipsec_kpipe_sync_rx() local
877 error = kern_pbufpool_alloc_nosleep(rx_pp, 1, &rx_ph); in ipsec_kpipe_sync_rx()
890 kern_pbufpool_free(rx_pp, rx_ph); in ipsec_kpipe_sync_rx()
947 kern_pbufpool_free(rx_pp, rx_ph); in ipsec_kpipe_sync_rx()
955 kern_pbufpool_free(rx_pp, rx_ph); in ipsec_kpipe_sync_rx()
962 kern_buflet_t rx_buf = kern_packet_get_next_buflet(rx_ph, NULL); in ipsec_kpipe_sync_rx()
969 kern_packet_clear_flow_uuid(rx_ph); // Zero flow id in ipsec_kpipe_sync_rx()
976 error = kern_packet_finalize(rx_ph); in ipsec_kpipe_sync_rx()
978 error = kern_channel_slot_attach_packet(rx_ring, rx_slot, rx_ph); in ipsec_kpipe_sync_rx()
1454 kern_packet_t rx_ph = 0; in ipsec_netif_sync_rx() local
[all …]