Home
last modified time | relevance | path

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

/xnu-8019.80.24/bsd/net/
H A Dif_fake.c860 feth_clone_packet(if_fake_ref dif, kern_packet_t sph, kern_packet_t *pdph) in feth_clone_packet() argument
871 sbuf = kern_packet_get_next_buflet(sph, NULL); in feth_clone_packet()
877 ASSERT(kern_packet_get_buflet_count(sph) == 1); in feth_clone_packet()
878 ASSERT(soff == kern_packet_get_headroom(sph)); in feth_clone_packet()
879 ASSERT(slen == kern_packet_get_data_length(sph)); in feth_clone_packet()
941 kern_packet_get_link_header_length(sph)); in feth_clone_packet()
944 kern_packet_get_service_class(sph)); in feth_clone_packet()
1037 feth_copy_packet(if_fake_ref dif, kern_packet_t sph, kern_packet_t *pdph) in feth_copy_packet() argument
1047 bufcnt = kern_packet_get_buflet_count(sph); in feth_copy_packet()
1059 sbuf = kern_packet_get_next_buflet(sph, NULL); in feth_copy_packet()
[all …]
/xnu-8019.80.24/bsd/skywalk/packet/
H A Dpacket_copy.c88 kern_packet_t sph, const uint16_t soff, const uint32_t len, in pkt_copy_from_pkt() argument
93 struct __kern_packet *spkt = SK_PTR_ADDR_KPKT(sph); in pkt_copy_from_pkt()
206 _pkt_copyaddr_sum(kern_packet_t sph, uint16_t soff, uint8_t *dbaddr, in _pkt_copyaddr_sum() argument
215 struct __kern_packet *spkt = SK_PTR_ADDR_KPKT(sph); in _pkt_copyaddr_sum()
218 sbcnt = __packet_get_buflet_count(sph); in _pkt_copyaddr_sum()
356 _pkt_copypkt_sum(kern_packet_t sph, uint16_t soff, kern_packet_t dph, in _pkt_copypkt_sum() argument
364 struct __kern_packet *spkt = SK_PTR_ADDR_KPKT(sph); in _pkt_copypkt_sum()
369 sbcnt = __packet_get_buflet_count(sph); in _pkt_copypkt_sum()
501 pkt_sum(kern_packet_t sph, uint16_t soff, uint16_t len) in pkt_sum() argument
508 struct __kern_packet *spkt = SK_PTR_ADDR_KPKT(sph); in pkt_sum()
[all …]
H A Dpacket_var.h826 pkt_copyaddr_sum(kern_packet_t sph, uint16_t soff, uint8_t *dbaddr,
/xnu-8019.80.24/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_agg.c1458 kern_packet_t sph = 0; in flow_rx_agg_channel() local
1654 _append_dbuf_array_to_kpkt(sph, sbuf, &dbuf_array, in flow_rx_agg_channel()
1658 if (sph != 0) { in flow_rx_agg_channel()
1664 pkt_finalize(sph); in flow_rx_agg_channel()
1668 sph = 0; in flow_rx_agg_channel()
1674 err = kern_pbufpool_alloc_nosleep(dpp, 0, &sph); in flow_rx_agg_channel()
1682 spkt = SK_PTR_ADDR_KPKT(sph); in flow_rx_agg_channel()
1693 sbuf = kern_packet_get_next_buflet(sph, NULL); in flow_rx_agg_channel()
1694 _append_dbuf_array_to_kpkt(sph, sbuf, &dbuf_array, in flow_rx_agg_channel()
1719 if (sph != 0) { in flow_rx_agg_channel()
[all …]
/xnu-8019.80.24/bsd/skywalk/nexus/monitor/
H A Dnx_monitor.c1248 kern_packet_t sph, dph; in nx_mon_parent_sync() local
1257 sph = SK_PTR_ENCODE(spkt, METADATA_TYPE(spkt), in nx_mon_parent_sync()
1280 mna->mna_pkt_copy_from_pkt(kring->ckr_tx, dph, 0, sph, in nx_mon_parent_sync()
1685 const uint16_t doff, kern_packet_t sph, const uint16_t soff, in nx_mon_quantum_copy_64x() argument
1694 struct __kern_quantum *squm = SK_PTR_ADDR_KQUM(sph); in nx_mon_quantum_copy_64x()
/xnu-8019.80.24/bsd/skywalk/nexus/flowswitch/
H A Dfsw_dp.c500 kern_packet_t sph = SK_PTR_ENCODE(spkt, METADATA_TYPE(spkt), in copy_packet_from_dev() local
555 fsw->fsw_pkt_copy_from_pkt(NR_RX, dph, 0, sph, in copy_packet_from_dev()
1880 kern_packet_t sph = SK_PTR_ENCODE(spkt, in dp_copy_to_dev_mbuf() local
1886 sph, spkt->pkt_headroom, copy_len, FALSE, 0, 0, 0); in dp_copy_to_dev_mbuf()
1916 kern_packet_t sph = SK_PTR_ENCODE(spkt, in dp_copy_to_dev_pkt() local
1921 dpkt->pkt_headroom, sph, spkt->pkt_headroom, in dp_copy_to_dev_pkt()