Lines Matching refs:a_sd
884 struct socket_data *a_sd; in handle_socket_msg_accept() local
887 a_sd = &w1500_data.socket_data[accept_msg->sock]; in handle_socket_msg_accept()
889 memcpy(a_sd, sd, sizeof(struct socket_data)); in handle_socket_msg_accept()
892 IPPROTO_TCP, &a_sd->context); in handle_socket_msg_accept()
901 winc1500_close((intptr_t)a_sd->context->offload_context); in handle_socket_msg_accept()
903 a_sd->context->offload_context = (void *)((intptr_t)accept_msg->sock); in handle_socket_msg_accept()
905 a_sd->context->iface = sd->context->iface; in handle_socket_msg_accept()
908 a_sd->context->remote.sa_family = AF_INET; in handle_socket_msg_accept()
909 net_sin(&a_sd->context->remote)->sin_port = in handle_socket_msg_accept()
911 net_sin(&a_sd->context->remote)->sin_addr.s_addr = in handle_socket_msg_accept()
913 a_sd->context->flags |= NET_CONTEXT_REMOTE_ADDR_SET; in handle_socket_msg_accept()
915 sd->accept_cb(a_sd->context, in handle_socket_msg_accept()