Searched refs:protocol (Results 1 - 25 of 25) sorted by relevance

/sssd-io/src/responder/common/cache_req/plugins/
H A Dcache_req_svc_by_name.c37 const char *protocol; local
57 if (data->svc.protocol.name == NULL) {
58 protocol = NULL;
60 protocol = sss_get_cased_name(tmp_ctx, data->svc.protocol.name,
62 if (protocol == NULL) {
69 talloc_zfree(data->svc.protocol.lookup);
71 data->svc.protocol.lookup = talloc_steal(data, protocol);
85 const char *protocol local
165 cache_req_svc_by_name_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct resp_ctx *rctx, struct sss_nc_ctx *ncache, int cache_refresh_percent, const char *domain, const char *name, const char *protocol) argument
[all...]
H A Dcache_req_svc_by_port.c35 const char *protocol; local
37 if (data->svc.protocol.name == NULL) {
41 protocol = sss_get_cased_name(NULL, data->svc.protocol.name,
43 if (protocol == NULL) {
47 talloc_zfree(data->svc.protocol.lookup);
48 data->svc.protocol.lookup = talloc_steal(data, protocol);
58 const char *protocol = data->svc.protocol local
138 cache_req_svc_by_port_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct resp_ctx *rctx, struct sss_nc_ctx *ncache, int cache_refresh_percent, const char *domain, uint16_t port, const char *protocol) argument
[all...]
/sssd-io/src/responder/nss/
H A Dnss_protocol_svcent.c36 const char *protocol; local
67 /* Get protocol.
69 * Use the requested protocol if present, otherwise take the
70 * first protocol returned by the sysdb. */
72 protocol = requested_protocol;
80 protocol = (const char *)el->values[0].data;
81 if (protocol == NULL) {
87 protocol = sss_get_cased_name(tmp_ctx, protocol, domain->case_preserve);
88 if (protocol
175 struct sized_string protocol; local
[all...]
H A Dnss_protocol.c260 const char *protocol; local
283 /* Calculate protocol name length, use index from previous cycle. */
293 protocol = protocol_len == 0 ? NULL : (const char *)(body + name_len + 1);
300 if (!sss_utf8_check((const uint8_t *)protocol, protocol_len)) {
306 *_protocol = protocol;
317 const char *protocol; local
337 /* Move behind the port and padding to get the protocol. */
340 /* Calculate protocol name length. */
345 protocol = protocol_len == 0 ? NULL : (const char *)body;
347 if (!sss_utf8_check((const uint8_t *)protocol, protocol_le
[all...]
H A Dnss_cmd.c209 const char *protocol,
225 cmd_ctx->svc_protocol = protocol;
227 data = cache_req_data_svc(cmd_ctx, type, name, protocol, port);
234 DEBUG(SSSDBG_TRACE_FUNC, "Input name: %s, protocol: %s, port: %u\n",
236 (protocol == NULL ? "<none>" : protocol),
1063 const char *protocol; local
1066 ret = nss_protocol_parse_svc_name(cli_ctx, &name, &protocol);
1071 return nss_getby_svc(cli_ctx, CACHE_REQ_SVC_BY_NAME, protocol, name, 0,
1077 const char *protocol; local
207 nss_getby_svc(struct cli_ctx *cli_ctx, enum cache_req_type type, const char *protocol, const char *name, uint16_t port, nss_protocol_fill_packet_fn fill_fn) argument
[all...]
/sssd-io/src/providers/
H A Dfail_over_srv.h44 const char *protocol,
78 const char *protocol,
92 const char *protocol,
120 const char *protocol,
H A Dfail_over_srv.c42 const char *protocol,
57 protocol, discovery_domains);
179 const char *protocol; member in struct:fo_discover_servers_state
198 const char *protocol,
241 state->protocol = talloc_strdup(state, protocol);
242 if (state->protocol == NULL) {
271 state->service, state->protocol, domains);
343 state->service, state->protocol, domains);
449 const char *protocol; member in struct:fo_resolve_srv_dns_state
38 fo_discover_srv_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct resolv_ctx *resolv_ctx, const char *service, const char *protocol, const char **discovery_domains) argument
194 fo_discover_servers_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct resolv_ctx *resolv_ctx, const char *service, const char *protocol, const char *primary_domain, const char *backup_domain) argument
498 fo_resolve_srv_dns_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, const char *service, const char *protocol, const char *discovery_domain, void *pvt) argument
[all...]
/sssd-io/src/providers/ipa/
H A Dipa_srv.h35 const char *protocol,
H A Dipa_srv.c89 const char *protocol,
141 protocol, primary_domain, backup_domain);
86 ipa_srv_plugin_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, const char *service, const char *protocol, const char *discovery_domain, void *pvt) argument
/sssd-io/src/providers/ad/
H A Dad_srv.h39 const char *protocol,
H A Dad_srv.c587 const char *protocol; member in struct:ad_srv_plugin_state
617 const char *protocol,
649 state->protocol = talloc_strdup(state, protocol);
650 if (state->protocol == NULL) {
814 state->service, state->protocol,
614 ad_srv_plugin_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, const char *service, const char *protocol, const char *discovery_domain, void *pvt) argument
/sssd-io/src/responder/common/cache_req/
H A Dcache_req_data.c156 if (input->svc.protocol.name == NULL) {
160 data->svc.protocol.name = talloc_strdup(data, input->svc.protocol.name);
161 if (data->svc.protocol.name == NULL) {
176 if (input->svc.protocol.name == NULL) {
180 data->svc.protocol.name = talloc_strdup(data, input->svc.protocol.name);
181 if (data->svc.protocol.name == NULL) {
328 const char *protocol,
335 input.svc.protocol
325 cache_req_data_svc(TALLOC_CTX *mem_ctx, enum cache_req_type type, const char *name, const char *protocol, uint16_t port) argument
[all...]
H A Dcache_req.h117 const char *protocol,
384 const char *protocol);
397 const char *protocol);
H A Dcache_req_private.h89 struct cache_req_cased_name protocol; member in struct:cache_req_data::__anon23
/sssd-io/src/providers/ldap/
H A Dldap_id_services.c43 const char *protocol; member in struct:sdap_services_get_state
69 const char *protocol,
91 state->protocol = protocol;
117 if (protocol != NULL) {
118 ret = sss_filter_sanitize(state, protocol, &clean_protocol);
258 0, state->protocol);
273 state->protocol);
63 services_get_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_id_ctx *id_ctx, struct sdap_domain *sdom, struct sdap_id_conn_ctx *conn, const char *name, const char *protocol, int filter_type, bool noexist_delete) argument
H A Dsdap_async_connection.c436 char *protocol; member in struct:sdap_connect_host_state
453 const char *protocol,
475 state->protocol = talloc_strdup(state, protocol);
476 if (state->protocol == NULL) {
487 state->uri = talloc_asprintf(state, "%s://%s:%d", protocol, host, port);
447 sdap_connect_host_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct resolv_ctx *resolv_ctx, enum restrict_family family_order, enum host_database *host_db, const char *protocol, const char *host, int port, bool use_start_tls) argument
H A Dldap_common.h268 const char *protocol,
H A Dsdap_async.h52 const char *protocol,
/sssd-io/src/sss_client/
H A Dnss_services.c52 * 0-X: Sequence of two, zero-terminated strings (name, protocol).
58 * 16-X: Zero-terminated string (protocol)
70 * (name, protocol, zero or more aliases)
93 * terminator for the protocol.
121 /* Copy in the protocol */
163 const char *protocol,
191 if (protocol) {
192 ret = sss_strnlen(protocol, SSS_NAME_MAX, &proto_len);
208 if (protocol) {
209 memcpy(data + name_len + 1, protocol, proto_le
162 _nss_sss_getservbyname_r(const char *name, const char *protocol, struct servent *result, char *buffer, size_t buflen, int *errnop) argument
267 _nss_sss_getservbyport_r(int port, const char *protocol, struct servent *result, char *buffer, size_t buflen, int *errnop) argument
[all...]
/sssd-io/src/providers/proxy/
H A Dproxy.h77 const char *protocol,
81 enum nss_status (*getservbyport_r)(int port, const char *protocol,
179 const char *protocol);
185 const char *protocol);
H A Dproxy_services.c111 const char *protocol)
128 status = ctx->ops.getservbyname_r(name, protocol, result,
138 ret = sysdb_svc_delete(dom, name, 0, protocol);
156 const char *protocol)
181 status = ctx->ops.getservbyport_r(port, protocol, result,
191 ret = sysdb_svc_delete(dom, NULL, port, protocol);
108 get_serv_byname(struct proxy_id_ctx *ctx, struct sss_domain_info *dom, const char *name, const char *protocol) argument
153 get_serv_byport(struct proxy_id_ctx *ctx, struct sss_domain_info *dom, const char *be_filter, const char *protocol) argument
/sssd-io/src/resolv/
H A Dasync_resolv_utils.c161 const char *protocol; member in struct:resolv_discover_srv_state
176 const char *protocol,
190 if (resolv_ctx == NULL || service == NULL || protocol == NULL
200 state->protocol = protocol;
238 state->protocol, domain);
172 resolv_discover_srv_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct resolv_ctx *resolv_ctx, const char *service, const char *protocol, const char **discovery_domains) argument
H A Dasync_resolv.h183 const char *protocol,
/sssd-io/src/responder/sudo/
H A Dsudosrv_cmd.c179 uint32_t protocol; local
200 protocol = pctx->cli_protocol_version->version;
202 /* if protocol is invalid return */
203 switch (protocol) {
206 "SSSD does not allow to use this protocol.\n", protocol);
211 DEBUG(SSSDBG_TRACE_INTERNAL, "Using protocol version [%d]\n",
212 protocol);
215 DEBUG(SSSDBG_FATAL_FAILURE, "Invalid protocol version [%d]!\n",
216 protocol);
[all...]
/sssd-io/src/tests/cmocka/
H A Dtest_fo_srv.c83 const char *protocol,
79 resolv_discover_srv_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct resolv_ctx *resolv_ctx, const char *service, const char *protocol, const char **discovery_domains) argument

Completed in 51 milliseconds