Searched refs:ifindex (Results 1 – 2 of 2) sorted by relevance
503 return dev ? &dev->ifindex : NULL; in dev_map_lookup_elem()512 return dev ? &dev->ifindex : NULL; in dev_map_hash_lookup_elem()588 u32 ifindex, in __dev_map_alloc_node() argument612 dev->dev = dev_get_by_index(net, ifindex); in __dev_map_alloc_node()630 u32 ifindex = *(u32 *)value; in __dev_map_update_elem() local640 if (!ifindex) { in __dev_map_update_elem()643 dev = __dev_map_alloc_node(net, dtab, ifindex, i); in __dev_map_update_elem()671 u32 ifindex = *(u32 *)value; in __dev_map_hash_update_elem() local676 if (unlikely(map_flags > BPF_EXIST || !ifindex)) in __dev_map_hash_update_elem()685 dev = __dev_map_alloc_node(net, dtab, ifindex, idx); in __dev_map_hash_update_elem()
279 args->info->ifindex = aux->offload->netdev->ifindex; in bpf_prog_offload_info_fill_ns()284 args->info->ifindex = 0; in bpf_prog_offload_info_fill_ns()310 if (!info->ifindex) in bpf_prog_offload_info_fill()506 args->info->ifindex = args->offmap->netdev->ifindex; in bpf_map_offload_info_fill_ns()511 args->info->ifindex = 0; in bpf_map_offload_info_fill_ns()533 if (!info->ifindex) in bpf_map_offload_info_fill()