Home
last modified time | relevance | path

Searched refs:key4 (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/samples/bpf/
H A Dxdp_router_ipv4_kern.c117 union key_4 key4; in xdp_router_ipv4_prog() local
153 key4.b32[0] = 32; in xdp_router_ipv4_prog()
154 key4.b8[4] = dest_ip & 0xff; in xdp_router_ipv4_prog()
155 key4.b8[5] = (dest_ip >> 8) & 0xff; in xdp_router_ipv4_prog()
156 key4.b8[6] = (dest_ip >> 16) & 0xff; in xdp_router_ipv4_prog()
157 key4.b8[7] = (dest_ip >> 24) & 0xff; in xdp_router_ipv4_prog()
158 prefix_value = bpf_map_lookup_elem(&lpm_map, &key4); in xdp_router_ipv4_prog()
/kernel/linux/linux-6.6/samples/bpf/
H A Dxdp_router_ipv4.bpf.c128 union key_4 key4; in xdp_router_ipv4_prog() local
131 key4.b32[0] = 32; in xdp_router_ipv4_prog()
132 key4.b8[4] = iph->daddr & 0xff; in xdp_router_ipv4_prog()
133 key4.b8[5] = (iph->daddr >> 8) & 0xff; in xdp_router_ipv4_prog()
134 key4.b8[6] = (iph->daddr >> 16) & 0xff; in xdp_router_ipv4_prog()
135 key4.b8[7] = (iph->daddr >> 24) & 0xff; in xdp_router_ipv4_prog()
137 prefix_value = bpf_map_lookup_elem(&lpm_map, &key4); in xdp_router_ipv4_prog()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dxdp.c7 struct vip key4 = {.protocol = 6, .family = AF_INET}; in test_xdp() local
26 bpf_map_update_elem(map_fd, &key4, &value4, 0); in test_xdp()
H A Dxdp_bpf2bpf.c49 struct vip key4 = {.protocol = 6, .family = AF_INET}; in test_xdp_bpf2bpf() local
62 bpf_map_update_elem(map_fd, &key4, &value4, 0); in test_xdp_bpf2bpf()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dxdp.c7 struct vip key4 = {.protocol = 6, .family = AF_INET}; in test_xdp() local
32 bpf_map_update_elem(map_fd, &key4, &value4, 0); in test_xdp()
H A Dxdp_bpf2bpf.c110 struct vip key4 = {.protocol = 6, .family = AF_INET}; in test_xdp_bpf2bpf() local
122 bpf_map_update_elem(map_fd, &key4, &value4, 0); in test_xdp_bpf2bpf()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/
H A Dkey.c134 u32 key0, key1, key2, key3, key4; in ath_hw_set_keycache_entry() local
188 key4 = get_unaligned_le32(k->kv_val + 12); in ath_hw_set_keycache_entry()
190 key4 &= 0xff; in ath_hw_set_keycache_entry()
216 REG_WRITE(ah, AR_KEYTABLE_KEY4(entry), key4); in ath_hw_set_keycache_entry()
233 * key4 [31:0] = TX key [63:32] in ath_hw_set_keycache_entry()
271 * key4 [31:0] = reserved in ath_hw_set_keycache_entry()
327 REG_WRITE(ah, AR_KEYTABLE_KEY4(entry), key4); in ath_hw_set_keycache_entry()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/
H A Dkey.c134 u32 key0, key1, key2, key3, key4; in ath_hw_set_keycache_entry() local
188 key4 = get_unaligned_le32(k->kv_val + 12); in ath_hw_set_keycache_entry()
190 key4 &= 0xff; in ath_hw_set_keycache_entry()
216 REG_WRITE(ah, AR_KEYTABLE_KEY4(entry), key4); in ath_hw_set_keycache_entry()
233 * key4 [31:0] = TX key [63:32] in ath_hw_set_keycache_entry()
271 * key4 [31:0] = reserved in ath_hw_set_keycache_entry()
327 REG_WRITE(ah, AR_KEYTABLE_KEY4(entry), key4); in ath_hw_set_keycache_entry()
/kernel/linux/linux-5.10/tools/testing/selftests/wireguard/
H A Dnetns.sh83 key4="$(pp wg genkey)"
87 pub4="$(pp wg pubkey <<<"$key4")"
269 n2 wg set wg1 listen-port 5 private-key <(echo "$key4") peer "$pub3" allowed-ips 192.168.241.1/32,fd00::1/128 endpoint [fd00::5:1]:5
/kernel/linux/linux-6.6/tools/testing/selftests/wireguard/
H A Dnetns.sh85 key4="$(pp wg genkey)"
89 pub4="$(pp wg pubkey <<<"$key4")"
269 n2 wg set wg1 listen-port 5 private-key <(echo "$key4") peer "$pub3" allowed-ips 192.168.241.1/32,fd00::1/128 endpoint [fd00::5:1]:5
/kernel/linux/linux-5.10/drivers/pinctrl/bcm/
H A Dpinctrl-cygnus-mux.c511 CYGNUS_PIN_GROUP(key4, 0x4, 16, 1),
/kernel/linux/linux-6.6/drivers/pinctrl/bcm/
H A Dpinctrl-cygnus-mux.c504 CYGNUS_PIN_GROUP(key4, 0x4, 16, 1),

Completed in 9 milliseconds