Home
last modified time | relevance | path

Searched refs:DST_PORT (Results 1 – 3 of 3) sorted by relevance

/tools/testing/selftests/bpf/progs/
A Dsendmsg4_prog.c18 #define DST_PORT 4040 macro
41 ctx->user_port == bpf_htons(DST_PORT)) { in sendmsg_v4_prog()
A Dtest_sk_lookup.c71 static const __u16 DST_PORT = 7007; /* Host byte order */ variable
114 if (ctx->local_port != DST_PORT) in redir_port()
135 if (ctx->local_port != DST_PORT) in redir_ip4()
158 if (ctx->local_port != DST_PORT) in redir_ip6()
432 if (LSB(ctx->local_port, 0) != ((DST_PORT >> 0) & 0xff) || in ctx_narrow_access()
433 LSB(ctx->local_port, 1) != ((DST_PORT >> 8) & 0xff) || in ctx_narrow_access()
436 if (LSW(ctx->local_port, 0) != DST_PORT) in ctx_narrow_access()
/tools/testing/selftests/bpf/prog_tests/
A Dcgroup_ancestor.c13 #define DST_PORT 1234 macro
27 .sin6_port = htons(DST_PORT), }; in send_datagram()
121 t.skel->bss->dport = htons(DST_PORT); in test_cgroup_ancestor()

Completed in 6 milliseconds