Home
last modified time | relevance | path

Searched refs:tosend (Results 1 – 2 of 2) sorted by relevance

/f-stack/freebsd/netpfil/ipfw/test/
H A Dmain.c47 struct mbuf *tosend; /* packet to send -- also flag to enqueue */ member
211 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()
/f-stack/freebsd/netgraph/
H A Dng_source.c773 ng_source_send(sc_p sc, int tosend, int *sent_p) in ng_source_send() argument
779 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()