Home
last modified time | relevance | path

Searched refs:endpoint (Results 1 – 15 of 15) sorted by relevance

/xnu-11215/tests/
H A Dinet_transfer.c116 if (endpoint->port != 0) { in inet_sockaddr_init_with_endpoint()
124 if (endpoint->port != 0) { in inet_sockaddr_init_with_endpoint()
291 if (endpoint->port == 0) { in inet_socket_init_server()
633 inet_endpoint endpoint; in inet_test_traffic() local
637 bzero(&endpoint, sizeof(endpoint)); in inet_test_traffic()
638 endpoint.af = af; in inet_test_traffic()
639 endpoint.addr = *server; in inet_test_traffic()
640 endpoint.port = 1; in inet_test_traffic()
648 endpoint.proto = *proto; in inet_test_traffic()
685 bzero(&endpoint, sizeof(endpoint)); in main()
[all …]
H A Dselect_stress.c22 struct endpoint { struct
28 typedef void (*setup_func)(struct endpoint *ep);
31 struct endpoint ep;
76 struct endpoint *ep;
81 setup_stress_event(struct endpoint *ep) in setup_stress_event()
101 recycle_fds(struct endpoint *ep) in recycle_fds()
130 write_data(struct endpoint *ep) in write_data()
139 do_stress_events(struct endpoint *ep) in do_stress_events()
218 struct endpoint *ep = &sarg->th[i].ep; in do_select()
260 struct endpoint *e = &th[i].ep; in test_select_stress()
[all …]
/xnu-11215/osfmk/kern/
H A Dexclaves_panic.c96 uint64_t endpoint = exclaves_service_lookup(EXCLAVES_DOMAIN_KERNEL, in exclaves_xnuproxy_panic_thread() local
98 if (endpoint == EXCLAVES_INVALID_ID) { in exclaves_xnuproxy_panic_thread()
106 TB_TRANSPORT_TYPE_XNU, endpoint, TB_ENDPOINT_OPTIONS_NONE); in exclaves_xnuproxy_panic_thread()
236 EXCLAVES_PANIC_FOUR_CC_CHARS(ex_thread->four_cc.endpoint), in exclaves_append_panic_addl_info()
H A Dexclaves_xnuproxy.c585 __block uint64_t endpoint = 0; in exclaves_xnuproxy_init() local
618 endpoint = bootinfo.endpointid; in exclaves_xnuproxy_init()
633 if (endpoint == 0) { in exclaves_xnuproxy_init()
643 TB_TRANSPORT_TYPE_XNU, endpoint, TB_ENDPOINT_OPTIONS_NONE); in exclaves_xnuproxy_init()
H A Dexclaves_shared_memory.h57 exclaves_shared_memory_init(const uint64_t endpoint,
H A Dexclaves_shared_memory.c41 exclaves_shared_memory_init(const uint64_t endpoint, in exclaves_shared_memory_init() argument
47 TB_TRANSPORT_TYPE_XNU, endpoint, TB_ENDPOINT_OPTIONS_NONE); in exclaves_shared_memory_init()
H A Dexclaves_driverkit.h229 exclaves_driver_service_lookup(const char *service_name, uint64_t *endpoint);
H A Dexclaves_driverkit.c1347 exclaves_driver_service_lookup(const char *service_name, uint64_t *endpoint) in exclaves_driver_service_lookup() argument
1349 assert3p(endpoint, !=, NULL); in exclaves_driver_service_lookup()
1355 *endpoint = result; in exclaves_driver_service_lookup()
H A Dexclaves.c1063 uint32_t endpoint = RINGGATE_EP_ENTER; in exclaves_enter() local
1113 result = sk_enter(endpoint, &regs); in exclaves_enter()
1161 uint32_t endpoint = RINGGATE_EP_INFO; in exclaves_bootinfo() local
1167 result = sk_enter(endpoint, &regs); in exclaves_bootinfo()
H A Dexclaves_resource.c1734 uint64_t endpoint = resource->r_type == XNUPROXY_RESOURCETYPE_SHAREDMEMORY ? in shared_memory_map() local
1738 kr = exclaves_shared_memory_init(endpoint, &sm->sm_client); in shared_memory_map()
/xnu-11215/bsd/net/
H A Dnecp_client.c2651 if (necp_client_address_is_valid(&endpoint->u.sa)) { in necp_client_endpoint_is_unspecified()
2652 if (endpoint->u.sa.sa_family == AF_INET) { in necp_client_endpoint_is_unspecified()
2653 return endpoint->u.sin.sin_addr.s_addr == INADDR_ANY; in necp_client_endpoint_is_unspecified()
2654 } else if (endpoint->u.sa.sa_family == AF_INET6) { in necp_client_endpoint_is_unspecified()
2701 if (necp_client_address_is_valid(&endpoint->u.sa)) { in necp_client_update_local_port_parameters()
2702 if (endpoint->u.sa.sa_family == AF_INET) { in necp_client_update_local_port_parameters()
2703 endpoint->u.sin.sin_port = local_port; in necp_client_update_local_port_parameters()
2704 } else if (endpoint->u.sa.sa_family == AF_INET6) { in necp_client_update_local_port_parameters()
2705 endpoint->u.sin6.sin6_port = local_port; in necp_client_update_local_port_parameters()
3399 local_address->sin6 = endpoint->u.sin6; in necp_client_parse_result()
[all …]
H A Dnecp.c8156 struct necp_client_endpoint *endpoint = (struct necp_client_endpoint *)(void *)value; in necp_application_find_policy_match_internal() local
8157 if (endpoint->u.endpoint.endpoint_family == AF_UNSPEC && in necp_application_find_policy_match_internal()
8158 endpoint->u.endpoint.endpoint_port != 0) { in necp_application_find_policy_match_internal()
8160 local_port = endpoint->u.endpoint.endpoint_port; in necp_application_find_policy_match_internal()
8171 struct necp_client_endpoint *endpoint = (struct necp_client_endpoint *)(void *)value; in necp_application_find_policy_match_internal() local
8172 if (endpoint->u.endpoint.endpoint_family == AF_UNSPEC) { in necp_application_find_policy_match_internal()
8173 remote_endpoint_type = endpoint->u.endpoint.endpoint_type; in necp_application_find_policy_match_internal()
8174 if (endpoint->u.endpoint.endpoint_port != 0) { in necp_application_find_policy_match_internal()
8176 remote_port = endpoint->u.endpoint.endpoint_port; in necp_application_find_policy_match_internal()
8178 } else if (necp_addr_is_empty(&endpoint->u.sa)) { in necp_application_find_policy_match_internal()
H A Dnecp.h919 } endpoint; member
/xnu-11215/libsyscall/mach/
H A Derr_iokit.sub138 "(iokit/usb) endpoint not found", // 0x057
/xnu-11215/iokit/Exclaves/
H A DExclaves.cpp110 exclaves_driver_service_lookup(const char *service_name, uint64_t *endpoint);