Searched refs:key_ipv6 (Results 1 – 1 of 1) sorted by relevance
369 struct bpf_lpm_trie_key *key_ipv4, *key_ipv6; in bpf_firewall_add_access_items() local375 key_ipv6 = alloca0(offsetof(struct bpf_lpm_trie_key, data) + sizeof(uint32_t) * 4); in bpf_firewall_add_access_items()391 key_ipv6->prefixlen = a->prefixlen; in bpf_firewall_add_access_items()392 memcpy(key_ipv6->data, &a->address, 4 * sizeof(uint32_t)); in bpf_firewall_add_access_items()394 r = bpf_map_update_element(ipv6_map_fd, key_ipv6, &value); in bpf_firewall_add_access_items()