Searched refs:vpna (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/dev/netmap/ |
H A D | netmap_vale.c | 323 struct netmap_vp_adapter *vpna; in netmap_vale_list() local 346 vpna = b->bdg_ports[i]; in netmap_vale_list() 347 if (vpna == NULL) { in netmap_vale_list() 354 if (!strcmp(vpna->up.name, hdr->nr_name)) { in netmap_vale_list() 377 vpna = b->bdg_ports[j]; in netmap_vale_list() 379 strlcpy(hdr->nr_name, vpna->up.name, in netmap_vale_list() 400 struct netmap_vp_adapter *vpna = (struct netmap_vp_adapter*)na; in netmap_vale_vp_dtor() local 401 struct nm_bridge *b = vpna->na_bdg; in netmap_vale_vp_dtor() 406 netmap_bdg_detach_common(b, vpna->bdg_port, -1); in netmap_vale_vp_dtor() 411 if (vpna->autodelete) { in netmap_vale_vp_dtor() [all …]
|
H A D | netmap_bdg.c | 352 struct netmap_vp_adapter *vpna = (struct netmap_vp_adapter *)na; in netmap_vp_bdg_ctl() local 353 struct nm_bridge *b = vpna->na_bdg; in netmap_vp_bdg_ctl() 360 netmap_bdg_detach_common(b, vpna->bdg_port, -1); in netmap_vp_bdg_ctl() 361 vpna->na_bdg = NULL; in netmap_vp_bdg_ctl() 393 struct netmap_vp_adapter *vpna, *hostna = NULL; in netmap_get_bdg_na() local 425 vpna = b->bdg_ports[i]; in netmap_get_bdg_na() 426 nm_prdis("checking %s", vpna->up.name); in netmap_get_bdg_na() 427 if (!strcmp(vpna->up.name, nr_name)) { in netmap_get_bdg_na() 428 netmap_adapter_get(&vpna->up); in netmap_get_bdg_na() 430 *na = &vpna->up; in netmap_get_bdg_na() [all …]
|
H A D | netmap.c | 3018 struct netmap_vp_adapter *vpna = in netmap_ioctl() local 3022 vpna->mfs = NETMAP_BUF_SIZE(na); in netmap_ioctl()
|