Searched refs:tx_ph (Results 1 – 2 of 2) sorted by relevance
| /xnu-8019.80.24/bsd/net/ |
| H A D | if_utun.c | 431 kern_packet_t tx_ph = kern_channel_slot_get_packet(tx_ring, tx_slot); in utun_netif_sync_tx() local 433 if (tx_ph == 0) { in utun_netif_sync_tx() 439 (void) kern_channel_slot_detach_packet(tx_ring, tx_slot, tx_ph); in utun_netif_sync_tx() 441 kern_packet_append(tx_ph, tx_chain_ph); in utun_netif_sync_tx() 443 tx_chain_ph = tx_ph; in utun_netif_sync_tx() 449 kern_buflet_t tx_buf = kern_packet_get_next_buflet(tx_ph, NULL); in utun_netif_sync_tx() 456 bpf_tap_packet_out(pcb->utun_ifp, DLT_RAW, tx_ph, NULL, 0); in utun_netif_sync_tx() 494 kern_packet_get_euuid(tx_ph, (void *)(tx_baddr + sizeof(af))); in utun_netif_sync_tx() 766 kern_packet_t tx_ph = kern_channel_slot_get_packet(tx_ring, tx_slot); in utun_netif_sync_rx() local 773 if (tx_ph == 0) { in utun_netif_sync_rx() [all …]
|
| H A D | if_ipsec.c | 885 kern_packet_t tx_ph = kern_channel_slot_get_packet(tx_ring, tx_slot); in ipsec_kpipe_sync_rx() local 887 if (tx_ph == 0) { in ipsec_kpipe_sync_rx() 894 (void) kern_channel_slot_detach_packet(tx_ring, tx_slot, tx_ph); in ipsec_kpipe_sync_rx() 896 kern_packet_append(tx_ph, tx_chain_ph); in ipsec_kpipe_sync_rx() 898 tx_chain_ph = tx_ph; in ipsec_kpipe_sync_rx() 904 kern_buflet_t tx_buf = kern_packet_get_next_buflet(tx_ph, NULL); in ipsec_kpipe_sync_rx() 910 bpf_tap_packet_out(pcb->ipsec_ifp, DLT_RAW, tx_ph, NULL, 0); in ipsec_kpipe_sync_rx() 912 length = MIN(kern_packet_get_data_length(tx_ph), in ipsec_kpipe_sync_rx() 1221 kern_packet_t tx_ph = kern_channel_slot_get_packet(tx_ring, tx_slot); in ipsec_netif_sync_tx() local 1223 if (tx_ph == 0) { in ipsec_netif_sync_tx() [all …]
|