Lines Matching refs:netmap_slot
111 struct netmap_slot *slots;
133 oq_enq(struct overflow_queue *q, const struct netmap_slot *s) in oq_enq()
146 static inline struct netmap_slot
149 struct netmap_slot s = q->slots[q->head]; in oq_deq()
367 struct netmap_slot s = oq_deq(q); in free_buffers()
487 uint32_t forward_packet(struct group_des *g, struct netmap_slot *rs) in forward_packet()
501 struct netmap_slot *ts = &ring->slot[ring->head]; in forward_packet()
502 struct netmap_slot old_slot = *ts; in forward_packet()
554 struct netmap_slot tmp = oq_deq(lp->oq); in forward_packet()
729 freeq->slots = calloc(extra_bufs, sizeof(struct netmap_slot)); in main()
745 struct netmap_slot s; in main()
798 q->slots = calloc(extra_bufs, sizeof(struct netmap_slot)); in main()
901 struct netmap_slot *rs = &ring->slot[last]; in main()
922 struct netmap_slot *slot; in main()
933 struct netmap_slot s = oq_deq(q), tmp; in main()
952 struct netmap_slot *next_slot = &rxring->slot[next_cur]; in main()
955 struct netmap_slot *rs = next_slot; in main()