from sockets_priv.h:69
Location | Referrer | Text |
---|---|---|
sockets_priv.h:69 | struct netconn *conn; | |
sockets.c:464 | tryget_socket() | if (sock->conn) { |
sockets.c:511 | alloc_socket() | if (!sockets[i].conn) { |
sockets.c:520 | alloc_socket() | sockets[i].conn = newconn; |
sockets.c:564 | free_socket_locked() | *conn = sock->conn; |
sockets.c:565 | free_socket_locked() | sock->conn = NULL; |
sockets.c:638 | lwip_accept() | err = netconn_accept(sock->conn, &newconn); |
sockets.c:641 | lwip_accept() | if (NETCONNTYPE_GROUP(netconn_type(sock->conn)) != NETCONN_TCP) { |
sockets.c:756 | lwip_bind() | err = netconn_bind(sock->conn, &local_addr, local_port); |
sockets.c:785 | lwip_close() | if (sock->conn != NULL) { |
sockets.c:786 | lwip_close() | is_tcp = NETCONNTYPE_GROUP(netconn_type(sock->conn)) == NETCONN_TCP; |
sockets.c:800 | lwip_close() | err = netconn_prepare_delete(sock->conn); |
sockets.c:833 | lwip_connect() | err = netconn_disconnect(sock->conn); |
sockets.c:856 | lwip_connect() | err = netconn_connect(sock->conn, &remote_addr, remote_port); |
sockets.c:896 | lwip_listen() | err = netconn_listen_with_backlog(sock->conn, (u8_t)backlog); |
sockets.c:900 | lwip_listen() | if (NETCONNTYPE_GROUP(netconn_type(sock->conn)) != NETCONN_TCP) { |
sockets.c:927 | lwip_recv_tcp() | LWIP_ASSERT("this should be checked internally", NETCONNTYPE_GROUP(netconn_type(sock->conn)) == NETCONN_TCP); |
sockets.c:945 | lwip_recv_tcp() | err = netconn_recv_tcp_pbuf_flags(sock->conn, &p, apiflags); |
sockets.c:1014 | lwip_recv_tcp() | netconn_tcp_recvd(sock->conn, (size_t)recvd); |
sockets.c:1072 | lwip_recv_tcp_from() | netconn_getaddr(sock->conn, &tmpaddr, &port, 0); |
sockets.c:1077 | lwip_recv_tcp_from() | return lwip_sock_make_addr(sock->conn, &tmpaddr, port, from, fromlen); |
sockets.c:1111 | lwip_recvfrom_udp_raw() | err = netconn_recv_udp_raw_netbuf_flags(sock->conn, &buf, apiflags); |
sockets.c:1149 | lwip_recvfrom_udp_raw() | lwip_sock_make_addr(sock->conn, netbuf_fromaddr(buf), netbuf_fromport(buf), |
sockets.c:1211 | lwip_recvfrom() | if (NETCONNTYPE_GROUP(netconn_type(sock->conn)) == NETCONN_TCP) { |
sockets.c:1315 | lwip_recvmsg() | if (NETCONNTYPE_GROUP(netconn_type(sock->conn)) == NETCONN_TCP) { |
sockets.c:1397 | lwip_send() | if (NETCONNTYPE_GROUP(netconn_type(sock->conn)) != NETCONN_TCP) { |
sockets.c:1412 | lwip_send() | err = netconn_write_partly(sock->conn, data, size, write_flags, &written); |
sockets.c:1449 | lwip_sendmsg() | if (NETCONNTYPE_GROUP(netconn_type(sock->conn)) == NETCONN_TCP) { |
sockets.c:1456 | lwip_sendmsg() | err = netconn_write_vectors_partly(sock->conn, (struct netvector *)msg->msg_iov, (u16_t)msg->msg_iovlen, write_flags, &written); |
sockets.c:1562 | lwip_sendmsg() | err = netconn_send(sock->conn, &chain_buf); |
sockets.c:1599 | lwip_sendto() | if (NETCONNTYPE_GROUP(netconn_type(sock->conn)) == NETCONN_TCP) { |
sockets.c:1673 | lwip_sendto() | err = netconn_send(sock->conn, &buf); |
sockets.c:2668 | lwip_shutdown() | if (sock->conn != NULL) { |
sockets.c:2669 | lwip_shutdown() | if (NETCONNTYPE_GROUP(netconn_type(sock->conn)) != NETCONN_TCP) { |
sockets.c:2692 | lwip_shutdown() | err = netconn_shutdown(sock->conn, shut_rx, shut_tx); |
sockets.c:2714 | lwip_getaddrname() | err = netconn_getaddr(sock->conn, &naddr, &port, local); |
sockets.c:2904 | lwip_getsockopt_impl() | LWIP_SOCKOPT_CHECK_OPTLEN_CONN_PCB(sock, *optlen, int); |
sockets.c:2905 | lwip_getsockopt_impl() | if (NETCONNTYPE_GROUP(sock->conn->type) != NETCONN_TCP) { |
sockets.c:2909 | lwip_getsockopt_impl() | if ((sock->conn->pcb.tcp != NULL) && (sock->conn->pcb.tcp->state == LISTEN)) { |
sockets.c:2924 | lwip_getsockopt_impl() | (NETCONNTYPE_GROUP(sock->conn->type) != NETCONN_UDP)) { |
sockets.c:2931 | lwip_getsockopt_impl() | LWIP_SOCKOPT_CHECK_OPTLEN_CONN_PCB(sock, *optlen, int); |
sockets.c:2932 | lwip_getsockopt_impl() | *(int *)optval = ip_get_option(sock->conn->pcb.ip, optname); |
sockets.c:2938 | lwip_getsockopt_impl() | LWIP_SOCKOPT_CHECK_OPTLEN_CONN(sock, *optlen, int); |
sockets.c:2939 | lwip_getsockopt_impl() | switch (NETCONNTYPE_GROUP(netconn_type(sock->conn))) { |
sockets.c:2950 | lwip_getsockopt_impl() | *(int *)optval = netconn_type(sock->conn); |
sockets.c:2961 | lwip_getsockopt_impl() | *(int *)optval = err_to_errno(netconn_err(sock->conn)); |
sockets.c:3002 | lwip_getsockopt_impl() | LWIP_SOCKOPT_CHECK_OPTLEN_CONN_PCB_TYPE(sock, *optlen, int, NETCONN_UDP); |
sockets.c:3010 | lwip_getsockopt_impl() | *(int *)optval = udp_is_flag_set(sock->conn->pcb.udp, UDP_FLAGS_NOCHKSUM) ? 1 : 0; |
sockets.c:3025 | lwip_getsockopt_impl() | LWIP_SOCKOPT_CHECK_OPTLEN_CONN_PCB(sock, *optlen, int); |
sockets.c:3026 | lwip_getsockopt_impl() | *(int *)optval = sock->conn->pcb.ip->ttl; |
sockets.c:3031 | lwip_getsockopt_impl() | LWIP_SOCKOPT_CHECK_OPTLEN_CONN_PCB(sock, *optlen, int); |
sockets.c:3032 | lwip_getsockopt_impl() | *(int *)optval = sock->conn->pcb.ip->tos; |
sockets.c:3080 | lwip_getsockopt_impl() | LWIP_SOCKOPT_CHECK_OPTLEN_CONN_PCB_TYPE(sock, *optlen, int, NETCONN_TCP); |
sockets.c:3081 | lwip_getsockopt_impl() | if (sock->conn->pcb.tcp->state == LISTEN) { |
sockets.c:3087 | lwip_getsockopt_impl() | *(int *)optval = tcp_nagle_disabled(sock->conn->pcb.tcp); |
sockets.c:3092 | lwip_getsockopt_impl() | *(int *)optval = (int)sock->conn->pcb.tcp->keep_idle; |
sockets.c:3332 | lwip_setsockopt_impl() | (NETCONNTYPE_GROUP(sock->conn->type) != NETCONN_UDP)) { |
sockets.c:3339 | lwip_setsockopt_impl() | LWIP_SOCKOPT_CHECK_OPTLEN_CONN_PCB(sock, optlen, int); |
sockets.c:3341 | lwip_setsockopt_impl() | ip_set_option(sock->conn->pcb.ip, optname); |
sockets.c:3343 | lwip_setsockopt_impl() | ip_reset_option(sock->conn->pcb.ip, optname); |
sockets.c:3406 | lwip_setsockopt_impl() | LWIP_SOCKOPT_CHECK_OPTLEN_CONN_PCB_TYPE(sock, optlen, int, NETCONN_UDP); |
sockets.c:3415 | lwip_setsockopt_impl() | udp_set_flags(sock->conn->pcb.udp, UDP_FLAGS_NOCHKSUM); |
sockets.c:3417 | lwip_setsockopt_impl() | udp_clear_flags(sock->conn->pcb.udp, UDP_FLAGS_NOCHKSUM); |
sockets.c:3425 | lwip_setsockopt_impl() | LWIP_SOCKOPT_CHECK_OPTLEN_CONN(sock, optlen, struct ifreq); |
sockets.c:3436 | lwip_setsockopt_impl() | switch (NETCONNTYPE_GROUP(netconn_type(sock->conn))) { |
sockets.c:3439 | lwip_setsockopt_impl() | tcp_bind_netif(sock->conn->pcb.tcp, n); |
sockets.c:3444 | lwip_setsockopt_impl() | udp_bind_netif(sock->conn->pcb.udp, n); |
sockets.c:3470 | lwip_setsockopt_impl() | LWIP_SOCKOPT_CHECK_OPTLEN_CONN_PCB(sock, optlen, int); |
sockets.c:3471 | lwip_setsockopt_impl() | sock->conn->pcb.ip->ttl = (u8_t)(*(const int *)optval); |
sockets.c:3476 | lwip_setsockopt_impl() | LWIP_SOCKOPT_CHECK_OPTLEN_CONN_PCB(sock, optlen, int); |
sockets.c:3477 | lwip_setsockopt_impl() | sock->conn->pcb.ip->tos = (u8_t)(*(const int *)optval); |
sockets.c:3553 | lwip_setsockopt_impl() | LWIP_SOCKOPT_CHECK_OPTLEN_CONN_PCB_TYPE(sock, optlen, int, NETCONN_TCP); |
sockets.c:3554 | lwip_setsockopt_impl() | if (sock->conn->pcb.tcp->state == LISTEN) { |
sockets.c:3561 | lwip_setsockopt_impl() | tcp_nagle_disable(sock->conn->pcb.tcp); |
sockets.c:3563 | lwip_setsockopt_impl() | tcp_nagle_enable(sock->conn->pcb.tcp); |
sockets.c:3569 | lwip_setsockopt_impl() | sock->conn->pcb.tcp->keep_idle = (u32_t)(*(const int *)optval); |
sockets.c:3815 | lwip_ioctl() | netconn_set_nonblocking(sock->conn, val); |
sockets.c:3848 | lwip_fcntl() | ret = netconn_is_nonblocking(sock->conn) ? O_NONBLOCK : 0; |
sockets.c:3851 | lwip_fcntl() | if (NETCONNTYPE_GROUP(netconn_type(sock->conn)) == NETCONN_TCP) { |
sockets.c:3861 | lwip_fcntl() | if (sock->conn->pcb.tcp) { |
sockets.c:3862 | lwip_fcntl() | if (!(sock->conn->pcb.tcp->flags & TF_RXCLOSED)) { |
sockets.c:3865 | lwip_fcntl() | if (!(sock->conn->pcb.tcp->flags & TF_FIN)) { |
sockets.c:3888 | lwip_fcntl() | netconn_set_nonblocking(sock->conn, val & O_NONBLOCK); |