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

/freebsd-13-stable/sys/dev/wtap/wtap_hal/
H A Dhal.c177 if(hal->hal_devs[id] != NULL){
182 hal->hal_devs[id] = (struct wtap_softc *)malloc(
184 bzero(hal->hal_devs[id], sizeof(struct wtap_softc));
185 hal->hal_devs[id]->sc_md = hal->hal_md;
186 hal->hal_devs[id]->id = id;
187 snprintf(hal->hal_devs[id]->name, sizeof(hal->hal_devs[id]->name),
189 mtx_init(&hal->hal_devs[id]->sc_mtx, "wtap_softc mtx", NULL,
192 if(wtap_attach(hal->hal_devs[id], macaddr)){
205 if(hal->hal_devs[i
[all...]
H A Dhal.h45 struct wtap_softc *hal_devs[MAX_NBR_WTAP]; member in struct:wtap_hal
/freebsd-13-stable/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 80 milliseconds