MCPcopy Create free account
hub / github.com/F-Stack/f-stack / debugnet_network_poll

Function debugnet_network_poll

freebsd/net/debugnet.c:583–590  ·  view source on GitHub ↗

* Network polling primitive. * * Instead of assuming that most of the network stack is sane, we just poll the * driver directly for packets. */

Source from the content-addressed store, hash-verified

581 * driver directly for packets.
582 */
583void
584debugnet_network_poll(struct debugnet_pcb *pcb)
585{
586 struct ifnet *ifp;
587
588 ifp = pcb->dp_ifp;
589 ifp->if_debugnet_methods->dn_poll(ifp, 1000);
590}
591
592/*
593 * Start of consumer API surface.

Callers 2

debugnet_sendFunction · 0.85
debugnet_arp_gwFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected