| /xnu-12377.1.9/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_var.h | 56 struct pktq; 150 struct __kern_channel_ring *ring, struct pktq *pktq); 162 struct pktq *pktq, bool input); 164 extern void fsw_receive(struct nx_flowswitch *fsw, struct pktq *pktq); 168 struct flow_entry *fe, struct pktq *rx_pkts, uint32_t rx_bytes, 234 fsw_snoop_and_dequeue(struct flow_entry *fe, struct pktq *target, in fsw_snoop_and_dequeue() 235 struct pktq *source, bool input) in fsw_snoop_and_dequeue()
|
| H A D | fsw_dp.c | 306 dp_free_pktq(struct nx_flowswitch *fsw __sk_unused, struct pktq *pktq) in dp_free_pktq() argument 308 pp_free_pktq(pktq); in dp_free_pktq() 311 #define dp_drop_pktq(fsw, pktq, outgoing, _reason, line, _flags) do { \ argument 312 uint32_t _len = KPKTQ_LEN(pktq); \ 313 if (KPKTQ_EMPTY(pktq)) { \ 321 dp_free_pktq(fsw, pktq); \ 326 struct __kern_packet *kpkt = KPKTQ_FIRST(pktq); \ 334 dp_free_pktq(fsw, pktq); \ 383 fsw_snoop(struct nx_flowswitch *fsw, struct flow_entry *fe, struct pktq *pktq, in fsw_snoop() argument 426 KPKTQ_FOREACH(pkt, pktq) { in fsw_snoop() [all …]
|
| H A D | nx_flowswitch.h | 174 struct pktq frt_pktq;
|
| /xnu-12377.1.9/bsd/skywalk/packet/ |
| H A D | pbufpool_var.h | 248 extern int pp_alloc_pktq(struct kern_pbufpool *, uint16_t, struct pktq *, 256 extern void pp_free_pktq(struct pktq *); 257 extern void pp_drop_pktq(struct pktq *, struct ifnet *, uint16_t,
|
| H A D | pbufpool.c | 2094 struct pktq *pktq, uint32_t num, alloc_cb_func_t cb, const void *ctx, in pp_alloc_pktq() argument 2103 ASSERT(pktq != NULL && num > 0); in pp_alloc_pktq() 2140 KPKTQ_ENQUEUE(pktq, kpkt); in pp_alloc_pktq() 2302 pp_free_pktq(struct pktq *pktq) in pp_free_pktq() argument 2304 if (__improbable(KPKTQ_EMPTY(pktq))) { in pp_free_pktq() 2307 struct __kern_packet *pkt = KPKTQ_FIRST(pktq); in pp_free_pktq() 2309 KPKTQ_DISPOSE(pktq); in pp_free_pktq() 2313 pp_drop_pktq(struct pktq *pktq, struct ifnet *ifp, uint16_t flags, in pp_drop_pktq() argument 2319 if (KPKTQ_EMPTY(pktq)) { in pp_drop_pktq() 2334 KPKTQ_FOREACH(kpkt, pktq) { in pp_drop_pktq() [all …]
|
| H A D | packet_queue.h | 162 KPKTQ_HEAD(pktq);
|
| /xnu-12377.1.9/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif_filter_vp.c | 376 struct filter_pktq pktq[KPKT_TC_MAX], *q; in netif_filter_na_txsync() local 400 pktq[i].fp_head = NULL; in netif_filter_na_txsync() 401 pktq[i].fp_tailp = &pktq[i].fp_head; in netif_filter_na_txsync() 444 q = &pktq[tc]; in netif_filter_na_txsync() 467 q = &pktq[i]; in netif_filter_na_txsync()
|
| H A D | nx_netif.h | 114 struct pktq nq_pktq;
|
| H A D | nx_netif_host.c | 445 struct pktq pkt_q; in nx_netif_host_output()
|
| H A D | nx_netif.c | 4493 struct pktq *pktq = &q->nq_pktq; local 4506 KPKTQ_ENQUEUE_LIST(pktq, pkt_chain); 4508 pkt_chain = KPKTQ_FIRST(pktq); 4509 KPKTQ_INIT(pktq);
|
| H A D | nx_netif_gso.c | 262 struct pktq pktq_alloc, pktq_seg; in netif_gso_tcp_segment_mbuf()
|
| /xnu-12377.1.9/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_var.h | 253 struct pktq *pkts, uint32_t rx_bytes, struct mbufq *host_mq, 282 struct pktq fe_rx_pktq; 298 struct pktq fe_tx_pktq; 1034 extern void fsw_host_rx_cb(struct nx_flowswitch *fsw, struct pktq *pktq); 1035 extern void fsw_host_rx_enqueue_mbq(struct nx_flowswitch *fsw, struct pktq *pktq, 1040 struct pktq *rx_pkts, uint32_t rx_bytes, struct mbufq *host_mq,
|
| H A D | flow_agg.c | 1609 struct pktq *rx_pkts, uint32_t rx_bytes, bool is_mbuf) in flow_rx_agg_channel() 1620 struct pktq super_pkts; /* dst super packets */ in flow_rx_agg_channel() 1621 struct pktq disposed_pkts; /* done src packets */ in flow_rx_agg_channel() 1983 struct pktq *rx_pkts, struct mbufq *host_mq, in flow_rx_agg_host() 1997 struct pktq disposed_pkts; /* done src packets */ in flow_rx_agg_host() 2527 struct pktq *rx_pkts, uint32_t rx_bytes, struct mbufq *host_mq, in flow_rx_agg_tcp() 2531 struct pktq dropped_pkts; in flow_rx_agg_tcp()
|
| /xnu-12377.1.9/bsd/net/ |
| H A D | if_redirect.c | 324 redirect_tx_submit(ifnet_t delegate_ifp, struct pktq *spktq) in redirect_tx_submit() 632 struct pktq tx_pktq; in redirect_nx_sync_tx() 691 DTRACE_SKYWALK2(unsent, if_redirect_t, rd, struct pktq *, &tx_pktq); in redirect_nx_sync_tx() 745 redirect_rx_cb(void *arg, struct pktq *spktq) in redirect_rx_cb() 749 struct pktq rpktq; in redirect_rx_cb() 761 DTRACE_SKYWALK2(no__ring__drop, if_redirect_t, rd, struct pktq *, spktq); in redirect_rx_cb()
|
| H A D | if_var_private.h | 690 typedef void (*ifnet_fsw_rx_cb_t)(void *, struct pktq *);
|