Home
last modified time | relevance | path

Searched refs:SRC_IP6 (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_sk_lookup.c69 static const __u32 SRC_IP6[] = IP6(0xfd000000, 0x0, 0x0, 0x00000002); variable
478 if (LSB(ctx->remote_ip6[0], 0) != ((SRC_IP6[0] >> 0) & 0xff) || in ctx_narrow_access()
479 LSB(ctx->remote_ip6[0], 1) != ((SRC_IP6[0] >> 8) & 0xff) || in ctx_narrow_access()
480 LSB(ctx->remote_ip6[0], 2) != ((SRC_IP6[0] >> 16) & 0xff) || in ctx_narrow_access()
481 LSB(ctx->remote_ip6[0], 3) != ((SRC_IP6[0] >> 24) & 0xff) || in ctx_narrow_access()
482 LSB(ctx->remote_ip6[1], 0) != ((SRC_IP6[1] >> 0) & 0xff) || in ctx_narrow_access()
483 LSB(ctx->remote_ip6[1], 1) != ((SRC_IP6[1] >> 8) & 0xff) || in ctx_narrow_access()
484 LSB(ctx->remote_ip6[1], 2) != ((SRC_IP6[1] >> 16) & 0xff) || in ctx_narrow_access()
485 LSB(ctx->remote_ip6[1], 3) != ((SRC_IP6[1] >> 24) & 0xff) || in ctx_narrow_access()
486 LSB(ctx->remote_ip6[2], 0) != ((SRC_IP6[2] >> 0) & 0xff) || in ctx_narrow_access()
[all …]
/linux/tools/testing/selftests/net/
H A Dfib_rule_tests.sh16 SRC_IP6=2001:db8:1::3
200 match="from $SRC_IP6 iif $DEV"
201 getnomatch="from $SRC_IP6 iif lo"
230 "from $SRC_IP6 iif $DEV $getmatch" \
231 "from $SRC_IP6 iif $DEV $getnomatch" \
288 getmatch="from $SRC_IP6 iif $DEV tos 0xfc"
289 getnomatch="from $SRC_IP6 iif $DEV tos 0xf4"