Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dsendmsg4_prog.c16 #define DST_IP4 0xC0A801FEU /* 192.168.1.254 */ macro
42 if ((ctx->user_ip4 >> 24) == (bpf_htonl(DST_IP4) >> 24) && in sendmsg_v4_prog()
Dtest_sk_lookup.c72 static const __u32 DST_IP4 = IP4(127, 0, 0, 1); variable
137 if (ctx->local_ip4 != DST_IP4) in redir_ip4()
453 if (LSB(ctx->local_ip4, 0) != ((DST_IP4 >> 0) & 0xff) || in ctx_narrow_access()
454 LSB(ctx->local_ip4, 1) != ((DST_IP4 >> 8) & 0xff) || in ctx_narrow_access()
455 LSB(ctx->local_ip4, 2) != ((DST_IP4 >> 16) & 0xff) || in ctx_narrow_access()
456 LSB(ctx->local_ip4, 3) != ((DST_IP4 >> 24) & 0xff)) in ctx_narrow_access()
458 if (LSW(ctx->local_ip4, 0) != ((DST_IP4 >> 0) & 0xffff) || in ctx_narrow_access()
459 LSW(ctx->local_ip4, 1) != ((DST_IP4 >> 16) & 0xffff)) in ctx_narrow_access()