Lines Matching refs:sa
204 ep->sa.sa_family = AF_INET; in tcp_endpoint_set()
228 ep->sa.sa_family = AF_INET6; in tcp_endpoint_set()
277 memcpy(local, &conn->src.sa, newlen); in net_tcp_endpoint_copy()
282 memcpy(peer, &conn->dst.sa, newlen); in net_tcp_endpoint_copy()
784 net_if_addr_unref(conn->iface, conn->src.sa.sa_family, in tcp_conn_release()
785 conn->src.sa.sa_family == AF_INET ? in tcp_conn_release()
2208 return !memcmp(ep, &ep_tmp, tcp_endpoint_len(ep->sa.sa_family)); in tcp_endpoint_cmp()
2424 net_sprint_addr(conn->src.sa.sa_family, in tcp_conn_new()
2426 net_sprint_addr(conn->dst.sa.sa_family, in tcp_conn_new()
2498 net_if_addr_ref(conn->iface, conn->dst.sa.sa_family, in tcp_conn_new()
2499 conn->src.sa.sa_family == AF_INET ? in tcp_conn_new()
2990 net_ipaddr_copy(&conn->context->remote, &conn->dst.sa); in tcp_in()
3852 conn->src.sa.sa_family = AF_INET; in net_tcp_connect()
3853 conn->dst.sa.sa_family = AF_INET; in net_tcp_connect()
3911 conn->seq = tcp_init_isn(&conn->src.sa, &conn->dst.sa); in net_tcp_connect()
3915 net_sprint_addr(conn->src.sa.sa_family, in net_tcp_connect()
3917 net_sprint_addr(conn->dst.sa.sa_family, in net_tcp_connect()
3932 net_if_addr_ref(conn->iface, conn->src.sa.sa_family, in net_tcp_connect()
3933 conn->src.sa.sa_family == AF_INET ? in net_tcp_connect()