Searched defs:sockaddr (Results 1 - 7 of 7) sorted by relevance
/sssd/src/providers/ipa/ |
H A D | ipa_common.c | 738 struct sockaddr_storage *sockaddr; local 767 sockaddr = resolv_get_sockaddr_address(tmp_ctx, srvaddr, LDAP_PORT); 768 if (sockaddr == NULL) { 799 talloc_zfree(service->sdap->sockaddr); 800 service->sdap->sockaddr = talloc_steal(service, sockaddr);
|
/sssd/src/providers/ad/ |
H A D | ad_common.c | 791 struct sockaddr_storage *sockaddr; local 849 sockaddr = resolv_get_sockaddr_address(tmp_ctx, srvaddr, LDAP_PORT); 850 if (sockaddr == NULL) { 859 talloc_zfree(service->sdap->sockaddr); 860 service->sdap->sockaddr = talloc_steal(service->sdap, sockaddr); 863 talloc_zfree(service->gc->sockaddr); 871 service->gc->sockaddr = resolv_get_sockaddr_address(service->gc, 880 service->gc->sockaddr = talloc_memdup(service->gc, service->sdap->sockaddr, [all...] |
/sssd/src/providers/ldap/ |
H A D | ldap_common.c | 80 struct sockaddr_storage *sockaddr; local 108 sockaddr = resolv_get_sockaddr_address(tmp_ctx, srvaddr, 110 if (sockaddr == NULL) { 147 talloc_zfree(service->sockaddr); 148 service->sockaddr = talloc_steal(service, sockaddr);
|
H A D | sdap_async_connection.c | 66 struct sockaddr_storage *sockaddr, 78 if (uri == NULL || sockaddr == NULL) { 79 DEBUG(SSSDBG_CRIT_FAILURE, "Invalid uri or sockaddr\n"); 111 subreq = sss_ldap_init_send(state, ev, state->uri, sockaddr, 522 struct sockaddr_storage *sockaddr = NULL; local 537 sockaddr = resolv_get_sockaddr_address(state, hostent, state->port); 538 if (sockaddr == NULL) { 547 state->uri, sockaddr, state->use_start_tls); 1548 state->service->sockaddr, 1889 state->service->sockaddr, 62 sdap_connect_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_options *opts, const char *uri, struct sockaddr_storage *sockaddr, bool use_start_tls) argument [all...] |
H A D | sdap.h | 102 struct sockaddr_storage *sockaddr; member in struct:sdap_service
|
/sssd/src/responder/secrets/ |
H A D | proxy.c | 488 struct sockaddr_storage *sockaddr; local 501 sockaddr = resolv_get_sockaddr_address_index(state, state->hostent, 503 if (sockaddr == NULL) { 523 subreq = sssd_async_socket_init_send(state, state->ev, sockaddr,
|
/sssd/src/resolv/ |
H A D | async_resolv.c | 1461 struct sockaddr_storage *sockaddr; local 1465 sockaddr = talloc_zero(mem_ctx, struct sockaddr_storage); 1466 if (sockaddr == NULL) { 1473 sockaddr->ss_family = AF_INET; 1474 memcpy(&((struct sockaddr_in *) sockaddr)->sin_addr, 1477 ((struct sockaddr_in *) sockaddr)->sin_port = (in_port_t) htons(port); 1481 sockaddr->ss_family = AF_INET6; 1482 memcpy(&((struct sockaddr_in6 *) sockaddr)->sin6_addr, 1485 ((struct sockaddr_in6 *) sockaddr)->sin6_port = (in_port_t) htons(port); 1493 return sockaddr; [all...] |
Completed in 4026 milliseconds