freebsd网卡驱动程序详解 (2)

/* 开始在接口上输出.从队列中得到包并输出他们,在输出中,留出接收用一 部分时间,即打开中断再关闭中断,这样使接口接到的一些数据包不会丢失. */ static void el_start(struct ifnet *ifp) { struct el_softc *sc; u_short base; struct mbuf m, m0; int s, i, len, retries, done; / 定位softc结构的指针/ sc = ifp-

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus