Home
last modified time | relevance | path

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

/xnu-8020.121.3/bsd/net/
H A Dif_fake.c859 feth_clone_packet(if_fake_ref dif, kern_packet_t sph, kern_packet_t *pdph) in feth_clone_packet() argument
870 sbuf = kern_packet_get_next_buflet(sph, NULL); in feth_clone_packet()
876 ASSERT(kern_packet_get_buflet_count(sph) == 1); in feth_clone_packet()
877 ASSERT(soff == kern_packet_get_headroom(sph)); in feth_clone_packet()
878 ASSERT(slen == kern_packet_get_data_length(sph)); in feth_clone_packet()
940 kern_packet_get_link_header_length(sph)); in feth_clone_packet()
943 kern_packet_get_service_class(sph)); in feth_clone_packet()
1036 feth_copy_packet(if_fake_ref dif, kern_packet_t sph, kern_packet_t *pdph) in feth_copy_packet() argument
1046 bufcnt = kern_packet_get_buflet_count(sph); in feth_copy_packet()
1058 sbuf = kern_packet_get_next_buflet(sph, NULL); in feth_copy_packet()
[all …]
/xnu-8020.121.3/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-8020.121.3/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_agg.c1476 kern_packet_t sph = 0; in flow_rx_agg_channel() local
1672 _append_dbuf_array_to_kpkt(sph, sbuf, &dbuf_array, in flow_rx_agg_channel()
1676 if (sph != 0) { in flow_rx_agg_channel()
1682 pkt_finalize(sph); in flow_rx_agg_channel()
1686 sph = 0; in flow_rx_agg_channel()
1692 err = kern_pbufpool_alloc_nosleep(dpp, 0, &sph); in flow_rx_agg_channel()
1700 spkt = SK_PTR_ADDR_KPKT(sph); in flow_rx_agg_channel()
1711 sbuf = kern_packet_get_next_buflet(sph, NULL); in flow_rx_agg_channel()
1712 _append_dbuf_array_to_kpkt(sph, sbuf, &dbuf_array, in flow_rx_agg_channel()
1737 if (sph != 0) { in flow_rx_agg_channel()
[all …]
/xnu-8020.121.3/bsd/skywalk/nexus/monitor/
H A Dnx_monitor.c1237 kern_packet_t sph, dph; in nx_mon_parent_sync() local
1246 sph = SK_PTR_ENCODE(spkt, METADATA_TYPE(spkt), in nx_mon_parent_sync()
1269 mna->mna_pkt_copy_from_pkt(kring->ckr_tx, dph, 0, sph, in nx_mon_parent_sync()
1674 const uint16_t doff, kern_packet_t sph, const uint16_t soff, in nx_mon_quantum_copy_64x() argument
1683 struct __kern_quantum *squm = SK_PTR_ADDR_KQUM(sph); in nx_mon_quantum_copy_64x()
/xnu-8020.121.3/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()
1876 kern_packet_t sph = SK_PTR_ENCODE(spkt, in dp_copy_to_dev_mbuf() local
1882 sph, spkt->pkt_headroom, copy_len, FALSE, 0, 0, 0); in dp_copy_to_dev_mbuf()
1912 kern_packet_t sph = SK_PTR_ENCODE(spkt, in dp_copy_to_dev_pkt() local
1917 dpkt->pkt_headroom, sph, spkt->pkt_headroom, in dp_copy_to_dev_pkt()