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