Lines Matching refs:j
45 int j; in netmap_init_handle() local
59 for (j = 0; j < g_config.mos->netdev_table->num; j++) { in netmap_init_handle()
61 if (if_indextoname(devices_attached[j], ifname) == NULL) { in netmap_init_handle()
64 ifname, devices_attached[j], strerror(errno)); in netmap_init_handle()
68 strcpy(ifname, ent[j]->dev_name); in netmap_init_handle()
75 TRACE_INFO("Opening %s with j: %d (cpu: %d)\n", nifname, j, ctxt->cpu); in netmap_init_handle()
81 npc->local_nmd[j] = nm_open(nifname, &base_nmd, 0, NULL); in netmap_init_handle()
82 if (npc->local_nmd[j] == NULL) { in netmap_init_handle()
335 int j; in netmap_load_module_lower_half() local
339 for (j = 0; j < g_config.mos->netdev_table->num; j++) { in netmap_load_module_lower_half()
340 set_promisc(ent[j]->dev_name); in netmap_load_module_lower_half()