Home
last modified time | relevance | path

Searched refs:sph (Results 1 – 11 of 11) sorted by relevance

/xnu-11215/bsd/net/
H A Dif_fake.c1469 sph = sphs[i]; in feth_rx_submit()
1474 dph = sph; in feth_rx_submit()
1559 sph = sphs[i]; in feth_rx_queue_submit()
1564 dph = sph; in feth_rx_queue_submit()
2264 VERIFY(sph != 0); in feth_nx_sync_tx()
2285 ASSERT(sph != 0); in feth_nx_sync_tx()
2858 while (sph != 0) { in feth_nx_tx_queue_deliver_pkt_chain()
2881 ASSERT(sph != 0); in feth_nx_tx_queue_deliver_pkt_chain()
2894 sph = next; in feth_nx_tx_queue_deliver_pkt_chain()
2981 &more, &sph); in feth_nx_tx_qset_notify()
[all …]
H A Dif_redirect.c651 kern_packet_t sph; in redirect_nx_sync_tx() local
654 sph = kern_channel_slot_get_packet(tx_ring, tx_slot); in redirect_nx_sync_tx()
655 VERIFY(sph != 0); in redirect_nx_sync_tx()
656 kern_channel_slot_detach_packet(tx_ring, tx_slot, sph); in redirect_nx_sync_tx()
659 redirect_bpf_tap(ifp, sph, false); in redirect_nx_sync_tx()
661 ASSERT(sph != 0); in redirect_nx_sync_tx()
666 stats.kcrsi_bytes_transferred += kern_packet_get_data_length(sph); in redirect_nx_sync_tx()
668 KPKTQ_ENQUEUE(&tx_pktq, SK_PTR_ADDR_KPKT(sph)); in redirect_nx_sync_tx()
H A Dif_ipsec.c687 ipsec_encrypt_kpipe_pkt(ifnet_t interface, kern_packet_t sph, in ipsec_encrypt_kpipe_pkt() argument
695 VERIFY(sph != 0); in ipsec_encrypt_kpipe_pkt()
698 kern_buflet_t __single sbuf = __packet_get_next_buflet(sph, NULL); in ipsec_encrypt_kpipe_pkt()
715 err = ipsec4_interface_kpipe_output(interface, sph, dph); in ipsec_encrypt_kpipe_pkt()
724 err = ipsec6_interface_kpipe_output(interface, sph, dph); in ipsec_encrypt_kpipe_pkt()
/xnu-11215/bsd/skywalk/packet/
H A Dpacket_copy.c98 struct __kern_packet *spkt = SK_PTR_ADDR_KPKT(sph); in pkt_copy_from_pkt()
224 struct __kern_packet *spkt = SK_PTR_ADDR_KPKT(sph); in _pkt_copyaddr_sum()
227 sbcnt = __packet_get_buflet_count(sph); in _pkt_copyaddr_sum()
392 struct __kern_packet *spkt = SK_PTR_ADDR_KPKT(sph); in _pkt_copypkt_sum()
397 sbcnt = __packet_get_buflet_count(sph); in _pkt_copypkt_sum()
537 struct __kern_packet *spkt = SK_PTR_ADDR_KPKT(sph); in pkt_sum()
540 sbcnt = __packet_get_buflet_count(sph); in pkt_sum()
683 rc = _pkt_copypkt_sum(sph, soff, dph, doff, in pkt_copy_multi_buflet_from_pkt()
687 _pkt_copypkt_sum(sph, (soff + start), dph, in pkt_copy_multi_buflet_from_pkt()
712 rc = _pkt_copypkt_sum(sph, soff, dph, doff, in pkt_copy_multi_buflet_from_pkt()
[all …]
H A Dpacket_var.h865 pkt_copyaddr_sum(kern_packet_t sph, uint16_t soff, uint8_t *__sized_by(len) dbaddr,
/xnu-11215/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_agg.c1576 pkt_finalize(*sph); in finalize_super_packet()
1582 *sph = 0; in finalize_super_packet()
1642 kern_packet_t sph = 0; in flow_rx_agg_channel() local
1874 _append_dbuf_array_to_kpkt(sph, sbuf, &dbuf_array, in flow_rx_agg_channel()
1878 if (sph != 0) { in flow_rx_agg_channel()
1879 finalize_super_packet(&spkt, &sph, &fa, in flow_rx_agg_channel()
1884 err = kern_pbufpool_alloc_nosleep(dpp, 0, &sph); in flow_rx_agg_channel()
1893 spkt = SK_PTR_ADDR_KPKT(sph); in flow_rx_agg_channel()
1904 sbuf = kern_packet_get_next_buflet(sph, NULL); in flow_rx_agg_channel()
1905 _append_dbuf_array_to_kpkt(sph, sbuf, &dbuf_array, in flow_rx_agg_channel()
[all …]
/xnu-11215/bsd/skywalk/nexus/monitor/
H A Dnx_monitor.c1243 kern_packet_t sph, dph; in nx_mon_parent_sync() local
1252 sph = SK_PTR_ENCODE(spkt, METADATA_TYPE(spkt), in nx_mon_parent_sync()
1275 mna->mna_pkt_copy_from_pkt(kring->ckr_tx, dph, 0, sph, in nx_mon_parent_sync()
1680 const uint16_t doff, kern_packet_t sph, const uint16_t soff, in nx_mon_quantum_copy_64x() argument
1689 struct __kern_quantum *squm = SK_PTR_ADDR_KQUM(sph); in nx_mon_quantum_copy_64x()
/xnu-11215/bsd/netinet6/
H A Desp_output.c973 esp_kpipe_output(struct secasvar *sav, kern_packet_t sph, kern_packet_t dph) in esp_kpipe_output() argument
1000 kern_buflet_t __single sbuf = __packet_get_next_buflet(sph, NULL); in esp_kpipe_output()
H A Dipsec.c3331 ipsec4_interface_kpipe_output(ifnet_t interface, kern_packet_t sph, in ipsec4_interface_kpipe_output() argument
3346 kern_buflet_t __single sbuf = __packet_get_next_buflet(sph, NULL); in ipsec4_interface_kpipe_output()
3446 if (__improbable((err = esp_kpipe_output(sav, sph, dph)) != 0)) { in ipsec4_interface_kpipe_output()
3476 ipsec6_interface_kpipe_output(ifnet_t interface, kern_packet_t sph, in ipsec6_interface_kpipe_output() argument
3490 kern_buflet_t __single sbuf = __packet_get_next_buflet(sph, NULL); in ipsec6_interface_kpipe_output()
3583 if (__improbable((err = esp_kpipe_output(sav, sph, dph)) != 0)) { in ipsec6_interface_kpipe_output()
H A Desp_input.c1728 esp_kpipe_input(ifnet_t interface, kern_packet_t sph, kern_packet_t dph) in esp_kpipe_input() argument
1752 kern_buflet_t __single sbuf = __packet_get_next_buflet(sph, NULL); in esp_kpipe_input()
/xnu-11215/bsd/skywalk/nexus/flowswitch/
H A Dfsw_dp.c568 kern_packet_t sph = SK_PTR_ENCODE(spkt, METADATA_TYPE(spkt), in copy_packet_from_dev() local
623 fsw->fsw_pkt_copy_from_pkt(NR_RX, dph, 0, sph, in copy_packet_from_dev()
2582 kern_packet_t sph = SK_PTR_ENCODE(spkt, in dp_copy_to_dev_mbuf() local
2588 sph, spkt->pkt_headroom, copy_len, FALSE, 0, 0, 0); in dp_copy_to_dev_mbuf()
2621 kern_packet_t sph = SK_PTR_ENCODE(spkt, in dp_copy_to_dev_pkt() local
2626 dpkt->pkt_headroom, sph, spkt->pkt_headroom, in dp_copy_to_dev_pkt()