Searched refs:local_port (Results 1 – 13 of 13) sorted by relevance
/tools/testing/selftests/bpf/progs/ |
D | test_misc_tcp_hdr_options.c | 218 active_lport_h = skops->local_port; in write_active_opt() 251 if (skops->local_port == passive_lport_h) in handle_hdr_opt_len() 259 if (skops->local_port == passive_lport_h) in handle_write_hdr_opt() 270 if (skops->local_port == active_lport_h) in handle_parse_hdr() 303 passive_lport_h = skops->local_port; in misc_estab()
|
D | sockmap_parse_prog.c | 12 __u32 lport = skb->local_port; in bpf_prog1()
|
D | test_sk_lookup.c | 106 if (ctx->local_port != DST_PORT) in redir_port() 127 if (ctx->local_port != DST_PORT) in redir_ip4() 150 if (ctx->local_port != DST_PORT) in redir_ip6() 413 if (LSB(ctx->local_port, 0) != ((DST_PORT >> 0) & 0xff) || in ctx_narrow_access() 414 LSB(ctx->local_port, 1) != ((DST_PORT >> 8) & 0xff) || in ctx_narrow_access() 415 LSB(ctx->local_port, 2) != 0 || LSB(ctx->local_port, 3) != 0) in ctx_narrow_access() 417 if (LSW(ctx->local_port, 0) != DST_PORT) in ctx_narrow_access()
|
D | sockmap_verdict_prog.c | 40 __u32 lport = skb->local_port; in bpf_prog2()
|
D | socket_cookie_prog.c | 73 p->cookie_value |= (ctx->local_port << 8); in update_cookie_sockops()
|
D | test_sockmap_kern.h | 109 __u32 lport = skb->local_port; in bpf_prog2() 198 lport = skops->local_port; in bpf_sockmap() 213 lport = skops->local_port; in bpf_sockmap()
|
/tools/testing/selftests/bpf/verifier/ |
D | ctx_sk_lookup.c | 216 offsetof(struct bpf_sk_lookup, local_port)), 218 offsetof(struct bpf_sk_lookup, local_port) + 1), 220 offsetof(struct bpf_sk_lookup, local_port) + 2), 222 offsetof(struct bpf_sk_lookup, local_port) + 3), 225 offsetof(struct bpf_sk_lookup, local_port)), 227 offsetof(struct bpf_sk_lookup, local_port) + 2), 230 offsetof(struct bpf_sk_lookup, local_port)), 344 offsetof(struct bpf_sk_lookup, local_port)),
|
D | ctx_sk_msg.c | 45 offsetof(struct sk_msg_md, local_port)),
|
D | cgroup_skb.c | 116 offsetof(struct __sk_buff, local_port)),
|
D | ctx_skb.c | 171 offsetof(struct __sk_buff, local_port)), 253 offsetof(struct __sk_buff, local_port)),
|
/tools/testing/selftests/bpf/ |
D | test_tcp_hdr_options.h | 143 __lport = skops->local_port; \
|
/tools/include/uapi/linux/ |
D | bpf.h | 5282 __u32 local_port; /* stored in host byte order */ member 5502 __u32 local_port; /* stored in host byte order */ member 5697 __u32 local_port; /* stored in host byte order */ member 6234 __u32 local_port; /* Host byte order */ member
|
/tools/testing/selftests/bpf/prog_tests/ |
D | sk_lookup.c | 255 static int fill_sk_lookup_ctx(struct bpf_sk_lookup *ctx, const char *local_ip, __u16 local_port, in fill_sk_lookup_ctx() argument 262 ctx->local_port = local_port; in fill_sk_lookup_ctx()
|