Lines Matching refs:nr_name
389 char *nr_name = hdr->nr_name; in netmap_get_bdg_na() local
403 if (strncmp(nr_name, ops->name, strlen(ops->name) - 1)) { in netmap_get_bdg_na()
407 b = nm_find_bridge(nr_name, create, ops); in netmap_get_bdg_na()
409 nm_prdis("no bridges available for '%s'", nr_name); in netmap_get_bdg_na()
412 if (strlen(nr_name) < b->bdg_namelen) /* impossible */ in netmap_get_bdg_na()
427 if (!strcmp(vpna->up.name, nr_name)) { in netmap_get_bdg_na()
429 nm_prdis("found existing if %s refs %d", nr_name) in netmap_get_bdg_na()
453 ifname = nr_name + b->bdg_namelen + 1; in netmap_get_bdg_na()
496 error = hw->nm_bdg_attach(nr_name, hw, b); in netmap_get_bdg_na()
498 error = b->bdg_ops.bwrap_attach(nr_name, hw); in netmap_get_bdg_na()
556 b = nm_find_bridge(hdr->nr_name, 0 /* don't create */, NULL); in netmap_bdg_attach()
650 b = nm_find_bridge(hdr->nr_name, 0 /* don't create */, NULL); in netmap_bdg_detach_locked()
1155 netmap_bwrap_attach(const char *nr_name, struct netmap_adapter *hwna, in netmap_bwrap_attach() argument
1158 return ops->bwrap_attach(nr_name, hwna); in netmap_bwrap_attach()