Searched refs:cbnode (Results 1 – 1 of 1) sorted by relevance
1830 ipnetif_cbdata_t *cbnode; in ipnet_walk_if() local1853 cbnode = kmem_zalloc(sizeof (ipnetif_cbdata_t), KM_SLEEP); in ipnet_walk_if()1854 (void) strlcpy(cbnode->ic_ifname, ipnetif->if_name, LIFNAMSIZ); in ipnet_walk_if()1855 cbnode->ic_dev = ipnetif->if_dev; in ipnet_walk_if()1856 list_insert_head(&cbdata, cbnode); in ipnet_walk_if()1860 while ((cbnode = list_head(&cbdata)) != NULL) { in ipnet_walk_if()1861 cb(cbnode->ic_ifname, arg, cbnode->ic_dev); in ipnet_walk_if()1862 list_remove(&cbdata, cbnode); in ipnet_walk_if()1863 kmem_free(cbnode, sizeof (ipnetif_cbdata_t)); in ipnet_walk_if()