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.c749 struct server *serv; in set_servers() local
756 for (serv = daemon->servers; serv;) in set_servers()
758 struct server *tmp = serv->next; in set_servers()
759 if (serv->flags & SERV_FROM_RESOLV) in set_servers()
761 serv->next = old_servers; in set_servers()
762 old_servers = serv; in set_servers()
764 server_gone(serv); in set_servers()
768 serv->next = new_servers; in set_servers()
769 new_servers = serv; in set_servers()
771 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.java42 Provider.Service serv = Services.getService("Service.ALGORITHM"); in testInitServiceInfo() local
43 if (serv == null) { in testInitServiceInfo()
46 if (serv.getProvider() != p || in testInitServiceInfo()
47 ! "org.apache.harmony.security.tests.fortress.SomeClass".equals(serv.getClassName())) { in testInitServiceInfo()
51 serv = Services.getService("Service.ALGORITHM"); in testInitServiceInfo()
52 if (serv != null) { in testInitServiceInfo()
61 Provider.Service serv = Services.getService("Service.ALGORITHM"); in testRefresh() local
63 serv = Services.getService("Service.ALGORITHM"); in testRefresh()
64 if (serv == null) { in testRefresh()
70 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/
Dradius_client.c741 struct sockaddr_in serv; in radius_change_server() local
795 os_memset(&serv, 0, sizeof(serv)); in radius_change_server()
796 serv.sin_family = AF_INET; in radius_change_server()
797 serv.sin_addr.s_addr = nserv->addr.u.v4.s_addr; in radius_change_server()
798 serv.sin_port = htons(nserv->port); in radius_change_server()
799 addr = (struct sockaddr *) &serv; in radius_change_server()
800 addrlen = sizeof(serv); in radius_change_server()
1051 struct hostapd_radius_server *serv, in radius_client_dump_auth_server() argument
1081 serv->index, in radius_client_dump_auth_server()
1082 hostapd_ip_txt(&serv->addr, abuf, sizeof(abuf)), in radius_client_dump_auth_server()
[all …]
/external/wpa_supplicant_8/src/radius/
Dradius_client.c945 struct sockaddr_in serv, claddr; in radius_change_server() local
1000 os_memset(&serv, 0, sizeof(serv)); in radius_change_server()
1001 serv.sin_family = AF_INET; in radius_change_server()
1002 serv.sin_addr.s_addr = nserv->addr.u.v4.s_addr; in radius_change_server()
1003 serv.sin_port = htons(nserv->port); in radius_change_server()
1004 addr = (struct sockaddr *) &serv; in radius_change_server()
1005 addrlen = sizeof(serv); in radius_change_server()
1361 struct hostapd_radius_server *serv, in radius_client_dump_auth_server() argument
1391 serv->index, in radius_client_dump_auth_server()
1392 hostapd_ip_txt(&serv->addr, abuf, sizeof(abuf)), in radius_client_dump_auth_server()
[all …]
/external/wpa_supplicant_6/wpa_supplicant/src/radius/
Dradius_client.c742 struct sockaddr_in serv, claddr; in radius_change_server() local
797 os_memset(&serv, 0, sizeof(serv)); in radius_change_server()
798 serv.sin_family = AF_INET; in radius_change_server()
799 serv.sin_addr.s_addr = nserv->addr.u.v4.s_addr; in radius_change_server()
800 serv.sin_port = htons(nserv->port); in radius_change_server()
801 addr = (struct sockaddr *) &serv; in radius_change_server()
802 addrlen = sizeof(serv); in radius_change_server()
1133 struct hostapd_radius_server *serv, in radius_client_dump_auth_server() argument
1163 serv->index, in radius_client_dump_auth_server()
1164 hostapd_ip_txt(&serv->addr, abuf, sizeof(abuf)), in radius_client_dump_auth_server()
[all …]
/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/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.c406 char serv[NI_MAXSERV]; local
412 serv, sizeof(serv), niflags) != 0)
416 snprintf(buf, len, "%s[%s]", host, serv);
/external/qemu/android/
Dboot-properties.c320 QemudService* serv, in boot_property_service_connect() argument
326 client = qemud_client_new( serv, channel, client_param, NULL, in boot_property_service_connect()
339 QemudService* serv = qemud_service_register( SERVICE_NAME, in boot_property_init_service() local
344 if (serv == NULL) { in boot_property_init_service()
/external/dbus/bus/
Ddriver.c1264 BusService *serv; in bus_driver_handle_get_connection_unix_user() local
1285 serv = bus_registry_lookup (registry, &str); in bus_driver_handle_get_connection_unix_user()
1286 if (serv == NULL) in bus_driver_handle_get_connection_unix_user()
1294 conn = bus_service_get_primary_owners_connection (serv); in bus_driver_handle_get_connection_unix_user()
1340 BusService *serv; in bus_driver_handle_get_connection_unix_process_id() local
1361 serv = bus_registry_lookup (registry, &str); in bus_driver_handle_get_connection_unix_process_id()
1362 if (serv == NULL) in bus_driver_handle_get_connection_unix_process_id()
1370 conn = bus_service_get_primary_owners_connection (serv); in bus_driver_handle_get_connection_unix_process_id()
1416 BusService *serv; in bus_driver_handle_get_adt_audit_session_data() local
1437 serv = bus_registry_lookup (registry, &str); in bus_driver_handle_get_adt_audit_session_data()
[all …]
/external/dropbear/
Dfake-rfc2553.c47 size_t hostlen, char *serv, size_t servlen, int flags) in getnameinfo() argument
53 if (serv != NULL) { in getnameinfo()
55 if (strlcpy(serv, tmpserv, servlen) >= servlen) in getnameinfo()
/external/chromium/net/tools/fetch/
Dhttp_listen_socket.cc52 HttpListenSocket *serv = new HttpListenSocket(s, delegate); in Listen() local
53 serv->Listen(); in Listen()
54 return serv; in Listen()
/external/qemu/android/camera/
Dcamera-service.c1401 QemudService* serv, in _camera_service_connect() argument
1412 client = qemud_client_new(serv, channel, client_param, csd, in _camera_service_connect()
1419 client = qemud_client_new(serv, channel, client_param, cc, in _camera_service_connect()
1435 QemudService* serv = qemud_service_register( SERVICE_NAME, 0, in android_camera_service_init() local
1439 if (serv == NULL) { in android_camera_service_init()
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
DTestCertUtils.java585 private Provider.Service serv; field in TestCertUtils.TestProvider
589 serv = new Provider.Service(this, "CertificateFactory", "X.509", in TestProvider()
595 s.add(serv); in getServices()
/external/libpcap/
DCREDITS37 Gianluca Varenni <varenni@netgroup-serv.polito.it>
61 Loris Degioanni <loris@netgroup-serv.polito.it>
/external/qemu/
Dsockets.h254 char* serv,
Dvnc-android.c53 char serv[32]; in addr_to_string() local
59 serv, sizeof(serv)); in addr_to_string()
68 serv, sizeof(serv), in addr_to_string()
78 addrlen = strlen(format) + strlen(host) + strlen(serv); in addr_to_string()
80 snprintf(addr, addrlen, format, host, serv); in addr_to_string()
Dvnc.c54 char serv[NI_MAXSERV]; in addr_to_string() local
60 serv, sizeof(serv), in addr_to_string()
69 addrlen = strlen(format) + strlen(host) + strlen(serv); in addr_to_string()
71 snprintf(addr, addrlen, format, host, serv); in addr_to_string()
/external/icu4c/common/
DAndroid.mk75 schriter.cpp serv.cpp \
DMakefile.org86 serv.o servnotf.o servls.o servlk.o servlkf.o servrbf.o servslkf.o \

12