Lines Matching refs:net_context
40 static void zsock_received_cb(struct net_context *ctx,
57 static void zsock_flush_queue(struct net_context *ctx) in zsock_flush_queue()
88 struct net_context *ctx; in zsock_socket_internal()
145 int zsock_close_ctx(struct net_context *ctx, int sock) in zsock_close_ctx()
184 static void zsock_accepted_cb(struct net_context *new_ctx, in zsock_accepted_cb()
188 struct net_context *parent = user_data; in zsock_accepted_cb()
215 static void zsock_received_cb(struct net_context *ctx, in zsock_received_cb()
270 int zsock_shutdown_ctx(struct net_context *ctx, int how) in zsock_shutdown_ctx()
305 int zsock_bind_ctx(struct net_context *ctx, const struct sockaddr *addr, in zsock_bind_ctx()
332 static void zsock_connected_cb(struct net_context *ctx, int status, void *user_data) in zsock_connected_cb()
340 int zsock_connect_ctx(struct net_context *ctx, const struct sockaddr *addr, in zsock_connect_ctx()
418 int zsock_listen_ctx(struct net_context *ctx, int backlog) in zsock_listen_ctx()
437 int zsock_accept_ctx(struct net_context *parent, struct sockaddr *addr, in zsock_accept_ctx()
440 struct net_context *ctx; in zsock_accept_ctx()
526 static int send_check_and_wait(struct net_context *ctx, int status, in send_check_and_wait()
601 ssize_t zsock_sendto_ctx(struct net_context *ctx, const void *buf, size_t len, in zsock_sendto_ctx()
658 ssize_t zsock_sendmsg_ctx(struct net_context *ctx, const struct msghdr *msg, in zsock_sendmsg_ctx()
815 struct net_context *ctx, in sock_get_offload_pkt_src_addr()
854 struct net_context *ctx, in sock_get_offload_pkt_src_addr()
899 int zsock_wait_data(struct net_context *ctx, k_timeout_t *timeout) in zsock_wait_data()
957 static int add_timestamping(struct net_context *ctx, in add_timestamping()
973 static int add_pktinfo(struct net_context *ctx, in add_pktinfo()
1055 static ssize_t zsock_recv_dgram(struct net_context *ctx, in zsock_recv_dgram()
1244 static size_t zsock_recv_stream_immediate(struct net_context *ctx, uint8_t **buf, size_t *max_len, in zsock_recv_stream_immediate()
1317 static int zsock_fionread_ctx(struct net_context *ctx) in zsock_fionread_ctx()
1324 static ssize_t zsock_recv_stream_timed(struct net_context *ctx, struct msghdr *msg, in zsock_recv_stream_timed()
1409 static ssize_t zsock_recv_stream(struct net_context *ctx, struct msghdr *msg, in zsock_recv_stream()
1452 ssize_t zsock_recvfrom_ctx(struct net_context *ctx, void *buf, size_t max_len, in zsock_recvfrom_ctx()
1475 ssize_t zsock_recvmsg_ctx(struct net_context *ctx, struct msghdr *msg, in zsock_recvmsg_ctx()
1509 static int zsock_poll_prepare_ctx(struct net_context *ctx, in zsock_poll_prepare_ctx()
1560 static int zsock_poll_update_ctx(struct net_context *ctx, in zsock_poll_update_ctx()
1614 static int ipv4_multicast_if(struct net_context *ctx, const void *optval, in ipv4_multicast_if()
1707 int zsock_getsockopt_ctx(struct net_context *ctx, int level, int optname, in zsock_getsockopt_ctx()
2092 static int ipv4_multicast_group(struct net_context *ctx, const void *optval, in ipv4_multicast_group()
2148 static int ipv6_multicast_group(struct net_context *ctx, const void *optval, in ipv6_multicast_group()
2200 int zsock_setsockopt_ctx(struct net_context *ctx, int level, int optname, in zsock_setsockopt_ctx()
2734 int zsock_getpeername_ctx(struct net_context *ctx, struct sockaddr *addr, in zsock_getpeername_ctx()
2786 int zsock_getsockname_ctx(struct net_context *ctx, struct sockaddr *addr, in zsock_getsockname_ctx()
2851 static void zsock_ctx_set_lock(struct net_context *ctx, struct k_mutex *lock) in zsock_ctx_set_lock()