Home
last modified time | relevance | path

Searched refs:pktsched_pkt_t (Results 1 – 13 of 13) sorted by relevance

/xnu-12377.61.12/bsd/net/pktsched/
H A Dpktsched.h74 } pktsched_pkt_t; typedef
156 pktsched_get_pkt_len(pktsched_pkt_t *pkt) in pktsched_get_pkt_len()
196 extern void pktsched_free_pkt(pktsched_pkt_t *);
197 extern void pktsched_drop_pkt(pktsched_pkt_t *, struct ifnet *, uint32_t, const char *, uint16_t,
199 extern int pktsched_clone_pkt(pktsched_pkt_t *, pktsched_pkt_t *);
200 extern void pktsched_corrupt_packet(pktsched_pkt_t *pkt);
201 extern void pktsched_get_pkt_vars(pktsched_pkt_t *, volatile uint32_t **,
203 extern void pktsched_pkt_encap(pktsched_pkt_t *, classq_pkt_t *);
204 extern void pktsched_pkt_encap_chain(pktsched_pkt_t *, classq_pkt_t *,
206 extern mbuf_svc_class_t pktsched_get_pkt_svc(pktsched_pkt_t *);
[all …]
H A Dpktsched.c101 pktsched_pkt_t pkt; in pktsched_enqueue_noop()
284 pktsched_pkt_encap(pktsched_pkt_t *pkt, classq_pkt_t *cpkt) in pktsched_pkt_encap()
310 pktsched_pkt_encap_chain(pktsched_pkt_t *pkt, classq_pkt_t *cpkt, in pktsched_pkt_encap_chain()
335 pktsched_clone_pkt(pktsched_pkt_t *pkt1, pktsched_pkt_t *pkt2) in pktsched_clone_pkt()
392 pktsched_corrupt_packet(pktsched_pkt_t *pkt) in pktsched_corrupt_packet()
434 pktsched_free_pkt(pktsched_pkt_t *pkt) in pktsched_free_pkt()
481 pktsched_drop_pkt(pktsched_pkt_t *pkt, struct ifnet *ifp, drop_reason_t reason, const char *funcnam… in pktsched_drop_pkt()
530 pktsched_get_pkt_svc(pktsched_pkt_t *pkt) in pktsched_get_pkt_svc()
555 pktsched_get_pkt_vars(pktsched_pkt_t *pkt, volatile uint32_t **flags, in pktsched_get_pkt_vars()
644 pktsched_alloc_fcentry(pktsched_pkt_t *pkt, struct ifnet *ifp, int how) in pktsched_alloc_fcentry()
[all …]
H A Dpktsched_netem.c688 pktsched_pkt_t pkt;
698 static int heap_insert(struct heap *h, uint64_t k, pktsched_pkt_t *p);
699 static int heap_peek(struct heap *h, uint64_t *k, pktsched_pkt_t *p);
700 static int heap_extract(struct heap *h, uint64_t *k, pktsched_pkt_t *p);
720 pktsched_pkt_t *pkts, uint32_t n_pkts);
832 heap_insert(struct heap *h, uint64_t key, pktsched_pkt_t *pkt) in heap_insert()
865 heap_peek(struct heap *h, uint64_t *key, pktsched_pkt_t *pkt) in heap_peek()
877 heap_extract(struct heap *h, uint64_t *key, pktsched_pkt_t *pkt) in heap_extract()
913 corruption_event(struct netem *ne, pktsched_pkt_t *pkt) in corruption_event()
1060 rate_limiter(struct netem *ne, pktsched_pkt_t *pkt, uint64_t start_abs_time) in rate_limiter()
[all …]
H A Dpktsched_fq_codel.h196 pktsched_pkt_t *pkt, uint64_t now);
198 pktsched_pkt_t *pkt, fq_if_classq_t *fq_cl);
356 extern boolean_t fq_if_add_fcentry(fq_if_t *, pktsched_pkt_t *, uint8_t,
359 extern boolean_t fq_if_report_congestion(fq_if_t *, pktsched_pkt_t *, uint32_t,
H A Dpktsched_netem.h35 typedef int (netem_output_func_t)(void *handle, pktsched_pkt_t *pkts,
H A Dpktsched_fq_codel.c363 pktsched_pkt_t pkt; in fq_getq_flow_kpkt()
426 pktsched_pkt_t pkt; in fq_getq_flow_mbuf()
769 pktsched_pkt_t pkt; in fq_if_enqueue()
1450 pktsched_pkt_t pkt; in fq_if_purge_flow()
2258 pktsched_pkt_t pkt; in fq_if_drop_packet()
2340 fq_if_add_fcentry(fq_if_t *fqs, pktsched_pkt_t *pkt, uint8_t flowsrc, in fq_if_add_fcentry()
2419 fq_if_report_congestion(fq_if_t *fqs, pktsched_pkt_t *pkt, uint32_t congestion_cnt, in fq_if_report_congestion()
/xnu-12377.61.12/bsd/net/classq/
H A Dclassq_fq_codel.c207 pktsched_pkt_t pkt; in fq_head_drop()
246 pktsched_pkt_t *pkt) in fq_compressor()
334 fq_codel_enq_legacy(void *fqs_p, fq_if_group_t *fq_grp, pktsched_pkt_t *pkt, in fq_codel_enq_legacy()
427 int, droptype, pktsched_pkt_t *, pkt, in fq_codel_enq_legacy()
449 int, droptype, pktsched_pkt_t *, pkt, in fq_codel_enq_legacy()
495 pktsched_pkt_t *, pkt, uint32_t, cnt); in fq_codel_enq_legacy()
526 pktsched_pkt_t *, pkt, uint32_t, cnt); in fq_codel_enq_legacy()
542 fq_t *, fq, pktsched_pkt_t *, pkt, in fq_codel_enq_legacy()
570 fq_t *, fq, pktsched_pkt_t *, pkt, uint32_t, cnt); in fq_codel_enq_legacy()
605 fq_getq_flow_internal(fq_if_t *fqs, fq_t *fq, pktsched_pkt_t *pkt) in fq_getq_flow_internal()
[all …]
H A Dclassq_fq_codel.h287 extern int fq_codel_enq_legacy(void * fqs, fq_if_group_t *, pktsched_pkt_t *, struct fq_if_classq *…
288 extern void fq_codel_dq_legacy(void *fqs, void *fq, pktsched_pkt_t *pkt, uint64_t now);
290 fq_t *, pktsched_pkt_t *);
295 extern void fq_codel_dq(void *fqs_p, void *fq_p, pktsched_pkt_t *pkt, uint64_t now);
296 extern int fq_codel_enq(void *fqs_p, fq_if_group_t *fq_grp, pktsched_pkt_t *pkt,
H A Dclassq_sfb.h156 extern int sfb_addq(struct sfb *, class_queue_t *, pktsched_pkt_t *,
158 extern void sfb_getq(struct sfb *, class_queue_t *, pktsched_pkt_t *);
/xnu-12377.61.12/bsd/skywalk/nexus/flowswitch/
H A Dfsw_var.h160 pktsched_pkt_t *__counted_by(n_pkts) pkts, uint32_t n_pkts);
H A Dfsw_dp.c2510 pktsched_pkt_t *__counted_by(n_pkts)pkts, uint32_t n_pkts) in fsw_dev_input_netem_dequeue()
/xnu-12377.61.12/bsd/net/
H A Dif_var_private.h1809 pktsched_pkt_t *__sized_by(n_pkts) pkts, uint32_t n_pkts);
H A Ddlil.c3262 ifnet_enqueue_netem(void *handle, pktsched_pkt_t *__sized_by(n_pkts)pkts, uint32_t n_pkts) in ifnet_enqueue_netem()