Home
last modified time | relevance | path

Searched refs:sa46_peer (Results 1 – 8 of 8) sorted by relevance

/third_party/libwebsockets/lib/core-net/client/
Dconnect3.c108 if (!connect(wsi->desc.sockfd, (const struct sockaddr *)&wsi->sa46_peer.sa4, in lws_client_connect_check()
276 memset(&wsi->sa46_peer, 0, sizeof(wsi->sa46_peer));
324 wsi->sa46_peer = curr->dest;
332 sa46_sockport(&wsi->sa46_peer, htons(port));
334 psa = sa46_sockaddr(&wsi->sa46_peer);
335 n = (int)sa46_socklen(&wsi->sa46_peer);
364 af = wsi->sa46_peer.sa4.sin_family;
365 wsi->desc.sockfd = socket(wsi->sa46_peer.sa4.sin_family,
484 memmove(&wsi->sa46_peer, psa, (unsigned int)n);
567 lws_sa46_write_numeric_address(&wsi->sa46_peer, nads,
[all …]
Dconmon.c139 dest->peer46 = wsi->sa46_peer; in lws_conmon_wsi_take()
/third_party/libwebsockets/lib/core-net/
Droute.c303 if (!wsi->sa46_peer.sa4.sin_family || in _lws_route_check_wsi()
306 wsi->sa46_peer.sa4.sin_family == AF_UNIX || in _lws_route_check_wsi()
315 if (!_lws_route_est_outgoing(pt, &wsi->sa46_peer)) { in _lws_route_check_wsi()
396 wsi->sa46_peer.sa4.sin_family != AF_UNIX && in _lws_route_pt_close_route_users()
398 wsi->sa46_peer.sa4.sin_family && in _lws_route_pt_close_route_users()
Dadopt.c536 getpeername(info->fd.sockfd, (struct sockaddr *)&new_wsi->sa46_peer, in lws_adopt_descriptor_vhost_via_info()
759 wsi->sa46_peer = s->dest; in lws_create_adopt_udp2()
Dprivate-lib-core-net.h696 lws_sockaddr46 sa46_peer; member
/third_party/libwebsockets/lib/roles/http/server/
Daccess-log.c99 if (nwsi->sa46_peer.sa4.sin_family) in lws_prepare_access_log_info()
100 lws_sa46_write_numeric_address(&nwsi->sa46_peer, ta, sizeof(ta)); in lws_prepare_access_log_info()
/third_party/libwebsockets/lib/system/metrics/
Dmetrics.c635 lws_sa46_write_numeric_address(&wsi->sa46_peer, d1, sizeof(d1)); in lws_metrics_hist_bump_describe_wsi()
/third_party/libwebsockets/lib/roles/h2/
Dhttp2.c1520 h2n->swsi->sa46_peer = wsi->sa46_peer; in lws_h2_parse_end_of_frame()