Home
last modified time | relevance | path

Searched refs:serv (Results 1 – 25 of 36) sorted by relevance

12

/external/dnsmasq/src/
Ddbus.c102 struct server *serv, *tmp, **up; in dbus_read_servers() local
110 for (serv = daemon->servers; serv; serv = serv->next) in dbus_read_servers()
111 if (serv->flags & SERV_FROM_DBUS) in dbus_read_servers()
112 serv->flags |= SERV_MARK; in dbus_read_servers()
184 for (serv = daemon->servers; serv; serv = serv->next) in dbus_read_servers()
185 if ((serv->flags & SERV_FROM_DBUS) && in dbus_read_servers()
186 (serv->flags & SERV_MARK)) in dbus_read_servers()
188 if (!(serv->flags & SERV_HAS_DOMAIN) && !domain) in dbus_read_servers()
190 serv->flags &= ~SERV_MARK; in dbus_read_servers()
193 if ((serv->flags & SERV_HAS_DOMAIN) && in dbus_read_servers()
[all …]
Dnetwork.c1046 struct server *serv; in set_servers() local
1055 for (serv = daemon->servers; serv;) in set_servers()
1057 struct server *tmp = serv->next; in set_servers()
1058 if (serv->flags & SERV_FROM_RESOLV) in set_servers()
1060 serv->next = old_servers; in set_servers()
1061 old_servers = serv; in set_servers()
1063 server_gone(serv); in set_servers()
1067 serv->next = new_servers; in set_servers()
1068 new_servers = serv; in set_servers()
1070 serv = tmp; in set_servers()
[all …]
Dforward.c123 struct server *serv; in search_servers() local
126 for (serv = daemon->servers; serv; serv=serv->next) in search_servers()
128 …if ((serv->flags & SERV_FOR_NODOTS) && *type != SERV_HAS_DOMAIN && !strchr(qdomain, '.') && namele… in search_servers()
130 unsigned short sflag = serv->addr.sa.sa_family == AF_INET ? F_IPV4 : F_IPV6; in search_servers()
132 if (serv->flags & SERV_NO_ADDR) in search_servers()
134 else if (serv->flags & SERV_LITERAL_ADDRESS) in search_servers()
139 if (serv->addr.sa.sa_family == AF_INET) in search_servers()
140 *addrpp = (struct all_addr *)&serv->addr.in.sin_addr; in search_servers()
143 *addrpp = (struct all_addr *)&serv->addr.in6.sin6_addr; in search_servers()
150 else if (serv->flags & SERV_HAS_DOMAIN) in search_servers()
[all …]
Dcache.c1127 struct server *serv, *serv1; in dump_cache() local
1139 for (serv = daemon->servers; serv; serv = serv->next) in dump_cache()
1140 serv->flags &= ~SERV_COUNTED; in dump_cache()
1142 for (serv = daemon->servers; serv; serv = serv->next) in dump_cache()
1143 if (!(serv->flags & (SERV_NO_ADDR | SERV_LITERAL_ADDRESS | SERV_COUNTED))) in dump_cache()
1147 for (serv1 = serv; serv1; serv1 = serv1->next) in dump_cache()
1148 …SERV_NO_ADDR | SERV_LITERAL_ADDRESS | SERV_COUNTED)) && sockaddr_isequal(&serv->addr, &serv1->addr… in dump_cache()
1154 port = prettyprint_addr(&serv->addr, addrbuff); in dump_cache()
Doption.c1388 struct server *serv, *newlist = NULL; in one_opt() local
1404 serv = opt_malloc(sizeof(struct server)); in one_opt()
1405 memset(serv, 0, sizeof(struct server)); in one_opt()
1406 serv->next = newlist; in one_opt()
1407 newlist = serv; in one_opt()
1408 serv->domain = domain; in one_opt()
1409 serv->flags = domain ? SERV_HAS_DOMAIN : SERV_FOR_NODOTS; in one_opt()
1507 serv = newlist; in one_opt()
1508 while (serv->next) in one_opt()
1510 serv->next->flags = serv->flags; in one_opt()
[all …]
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/fortress/
DServicesTest.java41 Provider.Service serv = Services.getService("Service.ALGORITHM"); in testInitServiceInfo() local
42 if (serv == null) { in testInitServiceInfo()
45 if (serv.getProvider() != p || in testInitServiceInfo()
46 … !"org.apache.harmony.security.tests.fortress.SomeClass".equals(serv.getClassName())) { in testInitServiceInfo()
50 serv = Services.getService("Service.ALGORITHM"); in testInitServiceInfo()
51 if (serv != null) { in testInitServiceInfo()
60 Provider.Service serv = Services.getService("Service.ALGORITHM"); in testRefresh() local
62 serv = Services.getService("Service.ALGORITHM"); in testRefresh()
63 if (serv == null) { in testRefresh()
69 serv = Services.getService("Service.ALGORITHM"); in testRefresh()
[all …]
/external/ppp/pppd/plugins/radius/
Dconfig.c85 SERVER *serv; in set_option_srv() local
95 serv = (SERVER *) option->val; in set_option_srv()
97 for (i = 0; i < serv->max; i++) { in set_option_srv()
98 free(serv->name[i]); in set_option_srv()
100 serv->max = 0; in set_option_srv()
107 serv->port[serv->max] = atoi(q); in set_option_srv()
111 serv->port[serv->max] = PW_AUTH_UDP_PORT; in set_option_srv()
113 serv->port[serv->max] = ntohs ((unsigned int) svp->s_port); in set_option_srv()
116 serv->port[serv->max] = PW_ACCT_UDP_PORT; in set_option_srv()
118 serv->port[serv->max] = ntohs ((unsigned int) svp->s_port); in set_option_srv()
[all …]
/external/wpa_supplicant_8/src/radius/
Dradius_client.c1008 struct sockaddr_in serv, claddr; in radius_change_server() local
1065 os_memset(&serv, 0, sizeof(serv)); in radius_change_server()
1066 serv.sin_family = AF_INET; in radius_change_server()
1067 serv.sin_addr.s_addr = nserv->addr.u.v4.s_addr; in radius_change_server()
1068 serv.sin_port = htons(nserv->port); in radius_change_server()
1069 addr = (struct sockaddr *) &serv; in radius_change_server()
1070 addrlen = sizeof(serv); in radius_change_server()
1486 struct hostapd_radius_server *serv, in radius_client_dump_auth_server() argument
1516 serv->index, in radius_client_dump_auth_server()
1517 hostapd_ip_txt(&serv->addr, abuf, sizeof(abuf)), in radius_client_dump_auth_server()
[all …]
/external/libpcap/Win32/Src/
Dgetservent.c53 static struct servent serv; variable
95 serv.s_name = p; in getservent()
106 serv.s_port = htons((u_short)atoi(p)); in getservent()
107 serv.s_proto = cp; in getservent()
108 q = serv.s_aliases = serv_aliases; in getservent()
124 return (&serv); in getservent()
Dgetaddrinfo.c233 #define GET_PORT(ai, serv) \ argument
236 error = get_port((ai), (serv), 0); \
/external/tcpdump/missing/
Dgetnameinfo.c100 getnameinfo(sa, salen, host, hostlen, serv, servlen, flags) in getnameinfo() argument
105 char *serv;
143 if (serv == NULL || servlen == 0) {
160 strcpy(serv, sp->s_name);
165 strcpy(serv, numserv);
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/
DTestOptions.java203 String serv; in getDebuggeeAgentOptions() local
205 serv = "n"; in getDebuggeeAgentOptions()
207 serv = "y"; in getDebuggeeAgentOptions()
217 "transport=dt_socket,address=" + address + ",server=" + serv in getDebuggeeAgentOptions()
/external/ipsec-tools/src/libipsec/
Dpolicy_parse.y381 char *serv = NULL; local
391 if (portbuf && ((serv = malloc(portbuf->len + 1)) == NULL)) {
402 strncpy(serv, portbuf->buf, portbuf->len);
403 serv[portbuf->len] = '\0';
410 error = getaddrinfo(addr, serv, &hints, &res);
412 if (serv != NULL)
413 free(serv);
Dipsec_dump_policy.c401 char serv[NI_MAXSERV]; local
407 serv, sizeof(serv), niflags) != 0)
411 snprintf(buf, len, "%s[%s]", host, serv);
/external/toybox/toys/pending/
Dtcpsvd.c354 char *serv = NULL, *clie = NULL; in tcpsvd_main() local
357 if (toys.optflags & FLAG_l) serv = xstrdup(TT.name); in tcpsvd_main()
358 else serv = sock_to_address((struct sockaddr*)&haddr, 0); in tcpsvd_main()
367 setenv("PROTOLOCALHOST", serv, 1); in tcpsvd_main()
378 if (toys.optflags & FLAG_h) xprintf(" (%s-%s)", serv, clie); in tcpsvd_main()
385 free(serv); in tcpsvd_main()
/external/openssh/openbsd-compat/
Dfake-rfc2553.c48 size_t hostlen, char *serv, size_t servlen, int flags) in getnameinfo() argument
56 if (serv != NULL) { in getnameinfo()
58 if (strlcpy(serv, tmpserv, servlen) >= servlen) in getnameinfo()
Dport-aix.c409 size_t hostlen, char *serv, size_t servlen, int flags) in sshaix_getnameinfo() argument
421 snprintf(serv, servlen, "%d", sa6->sin6_port); in sshaix_getnameinfo()
425 return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags); in sshaix_getnameinfo()
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
DTestCertUtils.java578 private Provider.Service serv; field in TestCertUtils.TestProvider
582 serv = new Provider.Service(this, "CertificateFactory", "X.509", in TestProvider()
588 s.add(serv); in getServices()
/external/openssh/
DAndroid.mk230 gss-serv-krb5.c \
231 gss-serv.c \
/external/linux-tools-perf/src/tools/perf/Documentation/
Dexamples.txt97 0.90% git-update-serv /lib64/libc-2.5.so
98 0.73% git-update-serv /lib64/ld-2.5.so
/external/icu/icu4c/source/common/
DAndroid.mk81 schriter.cpp serv.cpp \
DMakefile.in104 serv.o servnotf.o servls.o servlk.o servlkf.o servrbf.o servslkf.o \
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc946 char serv[500]; in TEST() local
948 sizeof(host), serv, sizeof(serv), 0); in TEST()
954 EXPECT_NOT_POISONED(serv[0]); in TEST()
955 EXPECT_POISONED(serv[sizeof(serv) - 1]); in TEST()
956 ASSERT_NE(0U, strlen(serv)); in TEST()
/external/libpcap/
DCREDITS101 Loris Degioanni <loris at netgroup-serv dot polito dot it>
/external/libvncserver/webclients/java-applet/ssl/
Dtightvnc-1.3dev7_javasrc-vncviewer-ssl.patch933 + String serv = "";
936 + serv = ci.get_certinfo("CN");
952 + bcd = new BrowserCertsDialog(serv, host + ":" + port);
2006 + BrowserCertsDialog(String serv, String hp) {
2007 + vncServer = serv;

12