Lines Matching refs:ctx
20 int recvmsg6_prog(struct bpf_sock_addr *ctx)
24 sk = ctx->sk;
31 if (ctx->type != SOCK_STREAM && ctx->type != SOCK_DGRAM)
34 if (!get_set_sk_priority(ctx))
37 ctx->user_ip6[0] = bpf_htonl(SERV6_IP_0);
38 ctx->user_ip6[1] = bpf_htonl(SERV6_IP_1);
39 ctx->user_ip6[2] = bpf_htonl(SERV6_IP_2);
40 ctx->user_ip6[3] = bpf_htonl(SERV6_IP_3);
41 ctx->user_port = bpf_htons(SERV6_PORT);