Home
last modified time | relevance | path

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

/xnu-8792.41.9/bsd/netinet/
H A Dtcp_cache.h67 union sockaddr_in_4_6 *local_address, union sockaddr_in_4_6 *remote_address,
71 union sockaddr_in_4_6 *remote_address);
H A Dtcp_cache.c1434 union sockaddr_in_4_6 *local_address, union sockaddr_in_4_6 *remote_address, in tcp_heuristic_do_tfo_with_address() argument
1444 if (remote_address->sa.sa_family == AF_INET6) { in tcp_heuristic_do_tfo_with_address()
1446 memcpy(&tcks.faddr.addr6, &remote_address->sin6.sin6_addr, sizeof(struct in6_addr)); in tcp_heuristic_do_tfo_with_address()
1448 } else if (remote_address->sa.sa_family == AF_INET) { in tcp_heuristic_do_tfo_with_address()
1450 memcpy(&tcks.faddr.addr, &remote_address->sin.sin_addr, sizeof(struct in_addr)); in tcp_heuristic_do_tfo_with_address()
1467 union sockaddr_in_4_6 *remote_address) in tcp_heuristics_tfo_update() argument
1476 if (remote_address->sa.sa_family == AF_INET6) { in tcp_heuristics_tfo_update()
1478 memcpy(&tcks.faddr.addr6, &remote_address->sin6.sin6_addr, sizeof(struct in6_addr)); in tcp_heuristics_tfo_update()
1480 } else if (remote_address->sa.sa_family == AF_INET) { in tcp_heuristics_tfo_update()
1482 memcpy(&tcks.faddr.addr, &remote_address->sin.sin_addr, sizeof(struct in_addr)); in tcp_heuristics_tfo_update()
H A Dflow_divert.c2597 struct sockaddr_storage remote_address; in flow_divert_handle_data() local
2620 memset(&remote_address, 0, sizeof(remote_address)); in flow_divert_handle_data()
2621 …lv(packet, (int)offset, FLOW_DIVERT_TLV_REMOTE_ADDR, sizeof(remote_address), &remote_address, &val… in flow_divert_handle_data()
2622 if (error || val_size > sizeof(remote_address)) { in flow_divert_handle_data()
2626 if (remote_address.ss_len > sizeof(remote_address)) { in flow_divert_handle_data()
2627 remote_address.ss_len = sizeof(remote_address); in flow_divert_handle_data()
2630 if (flow_divert_is_sockaddr_valid((struct sockaddr *)&remote_address)) { in flow_divert_handle_data()
2667 …error = flow_divert_dup_addr(remote_address.ss_family, (struct sockaddr *)&remote_address, &append… in flow_divert_handle_data()
/xnu-8792.41.9/bsd/kern/
H A Dvsock_domain.c80 pcb->remote_address.port == dst.port) { in vsock_get_matching_pcb()
121 … pcb_match->remote_address.cid == remote_cid && pcb_match->remote_address.port == remote_port)) { in vsock_bind_address_if_free()
131 pcb->remote_address = (struct vsock_address) { .cid = remote_cid, .port = remote_port }; in vsock_bind_address_if_free()
278 struct vsock_address dst = pcb->remote_address; in vsock_pcb_send_message()
778 xpcb.xvp_remote_cid = pcb->remote_address.cid;
779 xpcb.xvp_remote_port = pcb->remote_address.port;
870 pcb->remote_address = (struct vsock_address) { in vsock_attach()
1057 *nam = vsock_new_sockaddr(&pcb->remote_address); in vsock_accept()
1195 *nam = vsock_new_sockaddr(&pcb->remote_address); in vsock_peeraddr()
H A Dsocket_info.c227 vsocksi->remote_cid = pcb->remote_address.cid; in fill_socketinfo()
228 vsocksi->remote_port = pcb->remote_address.port; in fill_socketinfo()
/xnu-8792.41.9/bsd/sys/
H A Dvsock_domain.h43 struct vsock_address remote_address; member
/xnu-8792.41.9/tools/lldbmacros/
H A Dnet.py562 out_string += str(pcb.remote_address)
/xnu-8792.41.9/bsd/net/
H A Dnecp_client.c3232 union necp_sockaddr_union *remote_address, in necp_client_parse_result() argument
3259 if (remote_address != NULL && necp_client_address_is_valid(&endpoint->u.sa)) { in necp_client_parse_result()
3260 memcpy(remote_address, &endpoint->u.sa, endpoint->u.sa.sa_len); in necp_client_parse_result()