Lines Matching refs:netinfo
361 struct bpf_netdev_t *netinfo = cookie;
364 if (netinfo->filter_idx > 0 && netinfo->filter_idx != ifinfo->ifi_index)
367 if (netinfo->used_len == netinfo->array_len) {
368 netinfo->devices = realloc(netinfo->devices,
369 (netinfo->array_len + 16) *
371 if (!netinfo->devices)
374 netinfo->array_len += 16;
376 netinfo->devices[netinfo->used_len].ifindex = ifinfo->ifi_index;
377 snprintf(netinfo->devices[netinfo->used_len].devname,
378 sizeof(netinfo->devices[netinfo->used_len].devname),
383 netinfo->used_len++;