Lines Matching defs:bctx
1709 void io_socket_bpf_populate(struct io_uring_bpf_ctx *bctx, struct io_kiocb *req)
1713 bctx->socket.family = sock->domain;
1714 bctx->socket.type = sock->type;
1715 bctx->socket.protocol = sock->protocol;
1718 void io_connect_bpf_populate(struct io_uring_bpf_ctx *bctx, struct io_kiocb *req)
1731 bctx->connect.family = ss->ss_family;
1738 bctx->connect.port = sin->sin_port;
1739 bctx->connect.v4_addr = sin->sin_addr.s_addr;
1748 bctx->connect.port = sin6->sin6_port;
1749 memcpy(bctx->connect.v6_addr, &sin6->sin6_addr,
1750 sizeof(bctx->connect.v6_addr));