Home
last modified time | relevance | path

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

/xnu-10063.141.1/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.c1435 union sockaddr_in_4_6 *local_address, union sockaddr_in_4_6 *remote_address, in tcp_heuristic_do_tfo_with_address() argument
1445 if (remote_address->sa.sa_family == AF_INET6) { in tcp_heuristic_do_tfo_with_address()
1447 memcpy(&tcks.faddr.addr6, &remote_address->sin6.sin6_addr, sizeof(struct in6_addr)); in tcp_heuristic_do_tfo_with_address()
1449 } else if (remote_address->sa.sa_family == AF_INET) { in tcp_heuristic_do_tfo_with_address()
1451 memcpy(&tcks.faddr.addr, &remote_address->sin.sin_addr, sizeof(struct in_addr)); in tcp_heuristic_do_tfo_with_address()
1468 union sockaddr_in_4_6 *remote_address) in tcp_heuristics_tfo_update() argument
1477 if (remote_address->sa.sa_family == AF_INET6) { in tcp_heuristics_tfo_update()
1479 memcpy(&tcks.faddr.addr6, &remote_address->sin6.sin6_addr, sizeof(struct in6_addr)); in tcp_heuristics_tfo_update()
1481 } else if (remote_address->sa.sa_family == AF_INET) { in tcp_heuristics_tfo_update()
1483 memcpy(&tcks.faddr.addr, &remote_address->sin.sin_addr, sizeof(struct in_addr)); in tcp_heuristics_tfo_update()
H A Dflow_divert.c2807 struct sockaddr_storage remote_address; in flow_divert_handle_data() local
2830 memset(&remote_address, 0, sizeof(remote_address)); in flow_divert_handle_data()
2831 …lv(packet, (int)offset, FLOW_DIVERT_TLV_REMOTE_ADDR, sizeof(remote_address), &remote_address, &val… in flow_divert_handle_data()
2832 if (error || val_size > sizeof(remote_address)) { in flow_divert_handle_data()
2836 if (remote_address.ss_len > sizeof(remote_address)) { in flow_divert_handle_data()
2837 remote_address.ss_len = sizeof(remote_address); in flow_divert_handle_data()
2840 if (flow_divert_is_sockaddr_valid((struct sockaddr *)&remote_address)) { in flow_divert_handle_data()
2877 …error = flow_divert_dup_addr(remote_address.ss_family, (struct sockaddr *)&remote_address, &append… in flow_divert_handle_data()
/xnu-10063.141.1/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()
293 struct vsock_address dst = pcb->remote_address; in vsock_pcb_send_message()
801 xpcb.xvp_remote_cid = pcb->remote_address.cid;
802 xpcb.xvp_remote_port = pcb->remote_address.port;
893 pcb->remote_address = (struct vsock_address) { in vsock_attach()
1076 *nam = vsock_new_sockaddr(&pcb->remote_address); in vsock_accept()
1214 *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-10063.141.1/bsd/sys/
H A Dvsock_domain.h43 struct vsock_address remote_address; member
/xnu-10063.141.1/tools/lldbmacros/
H A Dnet.py557 out_string += str(pcb.remote_address)
/xnu-10063.141.1/bsd/net/
H A Dnecp_client.c3268 union necp_sockaddr_union *remote_address, in necp_client_parse_result() argument
3295 if (remote_address != NULL && necp_client_address_is_valid(&endpoint->u.sa)) { in necp_client_parse_result()
3296 memcpy(remote_address, &endpoint->u.sa, endpoint->u.sa.sa_len); in necp_client_parse_result()