Lines Matching full:sin
199 ep->sin.sin_port = src == TCP_EP_SRC ? th_sport(th) : in tcp_endpoint_set()
201 net_ipv4_addr_copy_raw((uint8_t *)&ep->sin.sin_addr, in tcp_endpoint_set()
786 (const void *)&conn->src.sin.sin_addr : in tcp_conn_release()
1353 UNALIGNED_PUT(conn->src.sin.sin_port, &th->th_sport); in tcp_header_add()
1354 UNALIGNED_PUT(conn->dst.sin.sin_port, &th->th_dport); in tcp_header_add()
1376 &conn->src.sin.sin_addr, in ip_header_add()
1377 &conn->dst.sin.sin_addr); in ip_header_add()
2425 (const void *)&conn->src.sin.sin_addr), in tcp_conn_new()
2427 (const void *)&conn->dst.sin.sin_addr)); in tcp_conn_new()
2443 &conn->src.sin.sin_addr); in tcp_conn_new()
2471 net_sin_ptr(&context->local)->sin_port = conn->src.sin.sin_port; in tcp_conn_new()
2487 ntohs(conn->dst.sin.sin_port),/* local port */ in tcp_conn_new()
2488 ntohs(conn->src.sin.sin_port),/* remote port */ in tcp_conn_new()
2500 (const void *)&conn->src.sin.sin_addr : in tcp_conn_new()
3855 conn->dst.sin.sin_port = remote_port; in net_tcp_connect()
3856 conn->src.sin.sin_port = local_port; in net_tcp_connect()
3867 net_ipaddr_copy(&conn->src.sin.sin_addr, ip4); in net_tcp_connect()
3869 net_ipaddr_copy(&conn->src.sin.sin_addr, in net_tcp_connect()
3872 net_ipaddr_copy(&conn->dst.sin.sin_addr, in net_tcp_connect()
3916 (const void *)&conn->src.sin.sin_addr), in net_tcp_connect()
3918 (const void *)&conn->dst.sin.sin_addr)); in net_tcp_connect()
3934 (const void *)&conn->src.sin.sin_addr : in net_tcp_connect()
4456 dest_mtu = get_ipv4_destination_mtu(iface, &conn->dst.sin.sin_addr); in net_tcp_get_supported_mss()
4499 net_ipv4_addr_cmp(&conn->dst.sin.sin_addr, in testing_find_conn()