Searched refs:hal_devs (Results 1 - 3 of 3) sorted by relevance

/freebsd-10.2-release/sys/dev/wtap/wtap_hal/
H A Dhal.c175 if(hal->hal_devs[id] != NULL){
180 hal->hal_devs[id] = (struct wtap_softc *)malloc(
182 bzero(hal->hal_devs[id], sizeof(struct wtap_softc));
183 hal->hal_devs[id]->sc_md = hal->hal_md;
184 hal->hal_devs[id]->id = id;
185 mtx_init(&hal->hal_devs[id]->sc_mtx, "wtap_softc mtx", NULL,
188 if(wtap_attach(hal->hal_devs[id], macaddr)){
201 if(hal->hal_devs[id] == NULL){
206 if(wtap_detach(hal->hal_devs[id]))
208 mtx_destroy(&hal->hal_devs[i
[all...]
H A Dhal.h43 struct wtap_softc *hal_devs[MAX_NBR_WTAP]; member in struct:wtap_hal
/freebsd-10.2-release/sys/dev/wtap/plugins/
H A Dvisibility.c149 if(hal->hal_devs[k] != NULL
150 && hal->hal_devs[k]->up == 1){
152 hal->hal_devs[k];

Completed in 27 milliseconds