* Network polling primitive. * * Instead of assuming that most of the network stack is sane, we just poll the * driver directly for packets. */
| 581 | * driver directly for packets. |
| 582 | */ |
| 583 | void |
| 584 | debugnet_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. |
no outgoing calls
no test coverage detected