Searched refs:tosend (Results 1 – 2 of 2) sorted by relevance
47 struct mbuf *tosend; /* packet to send -- also flag to enqueue */ member211 i, c->_enqueue, c->tosend, c->can_dequeue); in mainloop()212 if ( (m = c->tosend) ) { in mainloop()659 c->tosend = NULL; in controller()720 m = c->tosend = c->freelist; in controller()723 m = c->tosend = calloc(1, sizeof(struct mbuf)); in controller()
773 ng_source_send(sc_p sc, int tosend, int *sent_p) in ng_source_send() argument779 KASSERT(tosend >= 0, ("%s: negative tosend param", __func__)); in ng_source_send()783 if ((uint64_t)tosend > sc->packets) in ng_source_send()784 tosend = sc->packets; in ng_source_send()787 for (sent = 0; error == 0 && sent < tosend; ++sent) { in ng_source_send()