Home
last modified time | relevance | path

Searched refs:DST_IP6 (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dtest_sk_lookup.c73 static const __u32 DST_IP6[] = IP6(0xfd000000, 0x0, 0x0, 0x00000001); variable
141 /* Redirect packets destined for DST_IP6 address to socket at redir_map[0]. */
152 if (ctx->local_ip6[0] != DST_IP6[0] || in redir_ip6()
153 ctx->local_ip6[1] != DST_IP6[1] || in redir_ip6()
154 ctx->local_ip6[2] != DST_IP6[2] || in redir_ip6()
155 ctx->local_ip6[3] != DST_IP6[3]) in redir_ip6()
486 /* Expect DST_IP6 in local_ip6 */ in ctx_narrow_access()
487 if (LSB(ctx->local_ip6[0], 0) != ((DST_IP6[0] >> 0) & 0xff) || in ctx_narrow_access()
488 LSB(ctx->local_ip6[0], 1) != ((DST_IP6[0] >> 8) & 0xff) || in ctx_narrow_access()
489 LSB(ctx->local_ip6[0], 2) != ((DST_IP6[ in ctx_narrow_access()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_sk_lookup.c73 static const __u32 DST_IP6[] = IP6(0xfd000000, 0x0, 0x0, 0x00000001); variable
149 /* Redirect packets destined for DST_IP6 address to socket at redir_map[0]. */
160 if (ctx->local_ip6[0] != DST_IP6[0] || in redir_ip6()
161 ctx->local_ip6[1] != DST_IP6[1] || in redir_ip6()
162 ctx->local_ip6[2] != DST_IP6[2] || in redir_ip6()
163 ctx->local_ip6[3] != DST_IP6[3]) in redir_ip6()
504 /* Expect DST_IP6 in local_ip6 */ in ctx_narrow_access()
505 if (LSB(ctx->local_ip6[0], 0) != ((DST_IP6[0] >> 0) & 0xff) || in ctx_narrow_access()
506 LSB(ctx->local_ip6[0], 1) != ((DST_IP6[0] >> 8) & 0xff) || in ctx_narrow_access()
507 LSB(ctx->local_ip6[0], 2) != ((DST_IP6[ in ctx_narrow_access()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A Dmae.c693 CHECK(DST_IP6, dst_ip6) || in efx_mae_match_check_caps()

Completed in 5 milliseconds