Lines Matching refs:key

4559 BPF_CALL_3(bpf_xdp_redirect_map, struct bpf_map *, map, u64, key,  in BPF_CALL_3()  argument
4562 return map->ops->map_redirect(map, key, flags); in BPF_CALL_3()
4669 to->tunnel_id = be64_to_cpu(info->key.tun_id); in BPF_CALL_4()
4670 to->tunnel_tos = info->key.tos; in BPF_CALL_4()
4671 to->tunnel_ttl = info->key.ttl; in BPF_CALL_4()
4673 to->tunnel_flags = info->key.tun_flags; in BPF_CALL_4()
4678 memcpy(to->remote_ipv6, &info->key.u.ipv6.src, in BPF_CALL_4()
4680 memcpy(to->local_ipv6, &info->key.u.ipv6.dst, in BPF_CALL_4()
4682 to->tunnel_label = be32_to_cpu(info->key.label); in BPF_CALL_4()
4684 to->remote_ipv4 = be32_to_cpu(info->key.u.ipv4.src); in BPF_CALL_4()
4686 to->local_ipv4 = be32_to_cpu(info->key.u.ipv4.dst); in BPF_CALL_4()
4716 !(info->key.tun_flags & TUNNEL_OPTIONS_PRESENT))) { in BPF_CALL_3()
4786 info->key.tun_flags = TUNNEL_KEY | TUNNEL_CSUM | TUNNEL_NOCACHE; in BPF_CALL_4()
4788 info->key.tun_flags |= TUNNEL_DONT_FRAGMENT; in BPF_CALL_4()
4790 info->key.tun_flags &= ~TUNNEL_CSUM; in BPF_CALL_4()
4792 info->key.tun_flags |= TUNNEL_SEQ; in BPF_CALL_4()
4794 info->key.tun_flags &= ~TUNNEL_KEY; in BPF_CALL_4()
4796 info->key.tun_id = cpu_to_be64(from->tunnel_id); in BPF_CALL_4()
4797 info->key.tos = from->tunnel_tos; in BPF_CALL_4()
4798 info->key.ttl = from->tunnel_ttl; in BPF_CALL_4()
4802 memcpy(&info->key.u.ipv6.dst, from->remote_ipv6, in BPF_CALL_4()
4804 memcpy(&info->key.u.ipv6.src, from->local_ipv6, in BPF_CALL_4()
4806 info->key.label = cpu_to_be32(from->tunnel_label) & in BPF_CALL_4()
4809 info->key.u.ipv4.dst = cpu_to_be32(from->remote_ipv4); in BPF_CALL_4()
4810 info->key.u.ipv4.src = cpu_to_be32(from->local_ipv4); in BPF_CALL_4()
4811 info->key.flow_flags = FLOWI_FLAG_ANYSRC; in BPF_CALL_4()
11171 struct bpf_map *, map, void *, key, u32, flags) in BPF_CALL_4() argument
11177 selected_sk = map->ops->map_lookup_elem(map, key); in BPF_CALL_4()