Home
last modified time | relevance | path

Searched refs:addrs (Results 1 – 25 of 194) sorted by relevance

12345678

/external/libcups/cups/
Dgetifaddrs.c27 _cups_getifaddrs(struct ifaddrs **addrs)/* O - List of interfaces */ in _cups_getifaddrs() argument
45 if (addrs == NULL) in _cups_getifaddrs()
48 *addrs = NULL; in _cups_getifaddrs()
129 temp->ifa_next = *addrs; in _cups_getifaddrs()
130 *addrs = temp; in _cups_getifaddrs()
204 _cups_freeifaddrs(struct ifaddrs *addrs)/* I - Interface list to free */ in _cups_freeifaddrs() argument
209 while (addrs != NULL) in _cups_freeifaddrs()
215 next = addrs->ifa_next; in _cups_freeifaddrs()
221 if (addrs->ifa_name) in _cups_freeifaddrs()
223 free(addrs->ifa_name); in _cups_freeifaddrs()
[all …]
/external/ltp/utils/sctp/lib/
Dconnectx.c37 static int __connectx_addrsize(const struct sockaddr *addrs, in __connectx_addrsize() argument
45 addrbuf = addrs; in __connectx_addrsize()
67 int __sctp_connectx(int fd, struct sockaddr *addrs, int addrcnt) in __sctp_connectx() argument
69 int addrs_size = __connectx_addrsize(addrs, addrcnt); in __sctp_connectx()
74 return setsockopt(fd, SOL_SCTP, SCTP_SOCKOPT_CONNECTX_OLD, addrs, in __sctp_connectx()
82 static int __connectx(int fd, struct sockaddr *addrs, socklen_t addrs_size, in __connectx() argument
90 status = setsockopt(fd, SOL_SCTP, SCTP_SOCKOPT_CONNECTX, addrs, in __connectx()
114 addrs, addrs_size); in __connectx()
117 int sctp_connectx2(int fd, struct sockaddr *addrs, int addrcnt, in sctp_connectx2() argument
120 int addrs_size = __connectx_addrsize(addrs, addrcnt); in sctp_connectx2()
[all …]
Daddrs.c38 struct sockaddr **addrs) in sctp_getaddrs() argument
83 *addrs = (struct sockaddr*)getaddrs; in sctp_getaddrs()
93 sctp_getpaddrs(int sd, sctp_assoc_t id, struct sockaddr **addrs) in sctp_getpaddrs() argument
97 addrs); in sctp_getpaddrs()
104 sctp_freepaddrs(struct sockaddr *addrs) in sctp_freepaddrs() argument
106 free(addrs); in sctp_freepaddrs()
116 sctp_getladdrs(int sd, sctp_assoc_t id, struct sockaddr **addrs) in sctp_getladdrs() argument
120 addrs); in sctp_getladdrs()
127 sctp_freeladdrs(struct sockaddr *addrs) in sctp_freeladdrs() argument
129 free(addrs); in sctp_freeladdrs()
Dbindx.c39 sctp_bindx(int fd, struct sockaddr *addrs, int addrcnt, int flags) in sctp_bindx() argument
59 addrbuf = addrs; in sctp_bindx()
77 return setsockopt(fd, SOL_SCTP, setsock_option, addrs, addrs_size); in sctp_bindx()
/external/elfutils/libdwfl/
Dframe_unwind.c105 Dwarf_Addr *addrs; member
122 new_addrs = realloc (stack->addrs, in do_push()
123 stack->allocated * sizeof (*stack->addrs)); in do_push()
129 stack->addrs = new_addrs; in do_push()
131 stack->addrs[stack->used++] = val; in do_push()
143 *val = stack->addrs[--stack->used]; in do_pop()
162 .addrs = NULL, in expr_eval()
186 free (stack.addrs); in expr_eval()
193 free (stack.addrs); in expr_eval()
213 free (stack.addrs); in expr_eval()
[all …]
/external/tcpdump/tests/
Dvrrp-v.out2 … Advertisement, vrid 42, prio 191, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4…
4 …: VRRPv2, Advertisement, vrid 43, prio 191, authtype none, intvl 10s, length 20, addrs: 10.4.43.150
6 ….0.18: VRRPv3, Advertisement, vrid 44, prio 191, intvl 1000cs, length 16, addrs(2): 10.4.44.100,10…
8 … Advertisement, vrid 42, prio 191, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4…
10 …: VRRPv2, Advertisement, vrid 43, prio 191, authtype none, intvl 10s, length 20, addrs: 10.4.43.150
14 ….0.18: VRRPv3, Advertisement, vrid 44, prio 191, intvl 1000cs, length 16, addrs(2): 10.4.44.100,10…
16 … Advertisement, vrid 42, prio 191, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4…
18 …: VRRPv2, Advertisement, vrid 43, prio 191, authtype none, intvl 10s, length 20, addrs: 10.4.43.150
22 ….0.18: VRRPv3, Advertisement, vrid 44, prio 191, intvl 1000cs, length 16, addrs(2): 10.4.44.100,10…
24 … Advertisement, vrid 42, prio 192, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4…
[all …]
/external/ppp/pppd/
Dauth.c1379 struct wordlist *addrs = NULL, *opts = NULL;
1397 ret = (*pap_auth_hook)(user, passwd, msg, &addrs, &opts);
1402 set_allowed_addrs(unit, addrs, opts);
1405 if (addrs != 0)
1406 free_wordlist(addrs);
1417 addrs = opts = NULL;
1425 if (scan_authfile(f, user, our_name, secret, &addrs, &opts, filename, 0) < 0) {
1479 set_allowed_addrs(unit, addrs, opts);
1482 if (addrs != NULL)
1483 free_wordlist(addrs);
[all …]
/external/c-ares/
Dares_parse_a_reply.c65 struct in_addr *addrs; in ares_parse_a_reply() local
102 addrs = malloc(ancount * sizeof(struct in_addr)); in ares_parse_a_reply()
103 if (!addrs) in ares_parse_a_reply()
112 free(addrs); in ares_parse_a_reply()
118 addrs = NULL; in ares_parse_a_reply()
149 if (addrs) in ares_parse_a_reply()
157 memcpy(&addrs[naddrs], aptr, sizeof(struct in_addr)); in ares_parse_a_reply()
242 hostent->h_addr_list[i] = (char *) &addrs[i]; in ares_parse_a_reply()
244 if (!naddrs && addrs) in ares_parse_a_reply()
245 free(addrs); in ares_parse_a_reply()
[all …]
Dares_parse_aaaa_reply.c67 struct ares_in6_addr *addrs; in ares_parse_aaaa_reply() local
103 addrs = malloc(ancount * sizeof(struct ares_in6_addr)); in ares_parse_aaaa_reply()
104 if (!addrs) in ares_parse_aaaa_reply()
113 free(addrs); in ares_parse_aaaa_reply()
119 addrs = NULL; in ares_parse_aaaa_reply()
149 if (addrs) in ares_parse_aaaa_reply()
157 memcpy(&addrs[naddrs], aptr, sizeof(struct ares_in6_addr)); in ares_parse_aaaa_reply()
240 hostent->h_addr_list[i] = (char *) &addrs[i]; in ares_parse_aaaa_reply()
256 free(addrs); in ares_parse_aaaa_reply()
/external/syslinux/core/lwip/src/netif/ppp/
Dauth.c222 static void set_allowed_addrs (int unit, struct wordlist *addrs);
875 struct wordlist *addrs = NULL; in check_passwd()
912 if (addrs != NULL) { in check_passwd()
913 free_wordlist(addrs); in check_passwd()
921 set_allowed_addrs(unit, addrs); in check_passwd()
1078 struct wordlist *addrs; in get_secret() local
1084 addrs = NULL; in get_secret()
1102 struct wordlist *addrs; in get_secret()
1105 addrs = NULL; in get_secret()
1114 set_allowed_addrs(unit, addrs); in get_secret()
[all …]
Dppp.c216 struct ppp_addrs addrs; member
1340 if (netif_add(&pc->netif, &pc->addrs.our_ipaddr, &pc->addrs.netmask, in sifup()
1341 &pc->addrs.his_ipaddr, (void *)(size_t)pd, pppifNetifInit, ip_input)) { in sifup()
1348 pc->linkStatusCB(pc->linkStatusCtx, pc->errCode, &pc->addrs); in sifup()
1415 SMEMCPY(&pc->addrs.our_ipaddr, &o, sizeof(o)); in sifaddr()
1416 SMEMCPY(&pc->addrs.his_ipaddr, &h, sizeof(h)); in sifaddr()
1417 SMEMCPY(&pc->addrs.netmask, &m, sizeof(m)); in sifaddr()
1418 SMEMCPY(&pc->addrs.dns1, &ns1, sizeof(ns1)); in sifaddr()
1419 SMEMCPY(&pc->addrs.dns2, &ns2, sizeof(ns2)); in sifaddr()
1443 IP4_ADDR(&pc->addrs.our_ipaddr, 0,0,0,0); in cifaddr()
[all …]
/external/webrtc/webrtc/p2p/stunprober/
Dstunprober_unittest.cc59 const std::vector<rtc::SocketAddress>& addrs, in StartProbing() argument
66 prober->Start(addrs, shared_socket, interval, pings_per_ip, in StartProbing()
74 std::vector<rtc::SocketAddress> addrs; in RunProber() local
75 addrs.push_back(kStunAddr1); in RunProber()
76 addrs.push_back(kStunAddr2); in RunProber()
78 addrs.push_back(kFailedStunAddr); in RunProber()
93 static_cast<uint32_t>(pings_per_ip * addrs.size()); in RunProber()
99 StartProbing(socket_factory.get(), addrs, networks, shared_mode, 3, in RunProber()
/external/elfutils/libebl/
Deblobjnote.c65 } addrs; in ebl_object_note() local
84 .d_buf = &addrs, .d_size = addrs_size in ebl_object_note()
110 pc = addrs.a32[0]; in ebl_object_note()
111 base = addrs.a32[1]; in ebl_object_note()
112 sem = addrs.a32[2]; in ebl_object_note()
116 pc = addrs.a64[0]; in ebl_object_note()
117 base = addrs.a64[1]; in ebl_object_note()
118 sem = addrs.a64[2]; in ebl_object_note()
/external/clang/test/CodeGen/
Dindirect-goto.c4 void *addrs[] = { &&L1, &&L2, &&L3, &&L4, &&L5 }; in foo() local
7 goto *addrs[i]; in foo()
17 static const void *addrs[] = { &&L1, &&L2, &&L3, &&L4, &&L5 }; in foo2() local
20 goto *addrs[i]; in foo2()
/external/python/cpython2/Lib/test/
Dtest_rfc822.py229 addrs = msg.getaddrlist('cc')
230 addrs.sort()
231 eq(addrs, ccs)
233 addrs = msg.getaddrlist('cc')
234 addrs.sort()
235 eq(addrs, ccs)
/external/stressapptest/src/
Dfindmask.c52 static uint64_t addrs[] = { variable
67 for (cur = addrs; (char*)cur < (char*)addrs + sizeof(addrs); cur++) { in thread_func()
/external/iputils/ninfod/
Dninfod_addrs.c220 unsigned int addrs, paddrs = 0, daddrs = 0; in pr_nodeinfo_ipv6addr() local
264 for (ifa = ifa0, addrs = 0; in pr_nodeinfo_ipv6addr()
265 ifa && addrs < addrs0; in pr_nodeinfo_ipv6addr()
297 addrs++; in pr_nodeinfo_ipv6addr()
380 unsigned int addrs, paddrs = 0, daddrs = 0; in pr_nodeinfo_ipv4addr() local
424 for (ifa = ifa0, addrs = 0; in pr_nodeinfo_ipv4addr()
425 ifa && addrs < addrs0; in pr_nodeinfo_ipv4addr()
458 addrs++; in pr_nodeinfo_ipv4addr()
/external/ltp/utils/sctp/include/netinet/
Dsctp.h745 struct sockaddr *addrs; member
750 __u8 addrs[0]; /*output, variable size*/ member
804 int sctp_bindx(int sd, struct sockaddr *addrs, int addrcnt, int flags);
806 int sctp_connectx(int sd, struct sockaddr *addrs, int addrcnt,
820 int sctp_getpaddrs(int sd, sctp_assoc_t id, struct sockaddr **addrs);
825 int sctp_freepaddrs(struct sockaddr *addrs);
831 int sctp_getladdrs(int sd, sctp_assoc_t id, struct sockaddr **addrs);
836 int sctp_freeladdrs(struct sockaddr *addrs);
/external/ltp/testcases/kernel/mem/tunable/
Dmin_free_kbytes.c193 void *addrs; in eatup_mem() local
198 addrs = mmap(NULL, MAP_SIZE, PROT_READ | PROT_WRITE, in eatup_mem()
200 if (addrs == MAP_FAILED) { in eatup_mem()
207 memset(addrs, 1, MAP_SIZE); in eatup_mem()
/external/ltp/utils/sctp/testlib/
Dsctputil.c368 struct sockaddr *addrs; in test_peer_addr() local
376 error = sctp_getpaddrs(sk, asoc, &addrs); in test_peer_addr()
382 sctp_freepaddrs(addrs); in test_peer_addr()
386 addrbuf = addrs; in test_peer_addr()
400 sctp_freepaddrs(addrs); in test_peer_addr()
416 sctp_freepaddrs(addrs); in test_peer_addr()
/external/dhcpcd-6.8.2/
Dipv6.c623 TAILQ_FOREACH(ap, &state->addrs, next) { in ipv6_deleteaddr()
625 TAILQ_REMOVE(&state->addrs, ap, next); in ipv6_deleteaddr()
649 TAILQ_FOREACH(nap, &state->addrs, next) { in ipv6_addaddr()
779 ipv6_addaddrs(struct ipv6_addrhead *addrs) in ipv6_addaddrs() argument
787 TAILQ_FOREACH_SAFE(ap, addrs, next, apn) { in ipv6_addaddrs()
798 TAILQ_REMOVE(addrs, ap, next); in ipv6_addaddrs()
850 ipv6_freedrop_addrs(struct ipv6_addrhead *addrs, int drop, in ipv6_freedrop_addrs() argument
857 TAILQ_FOREACH_SAFE(ap, addrs, next, apn) { in ipv6_freedrop_addrs()
861 TAILQ_REMOVE(addrs, ap, next); in ipv6_freedrop_addrs()
868 TAILQ_REMOVE(addrs, ap, next); in ipv6_freedrop_addrs()
[all …]
/external/autotest/server/site_tests/bluetooth_RegressionServer/
Dbluetooth_RegressionServer.py31 addrs=device_addrs, close_browser=False,
37 addrs=device_addrs, test_phase='client')
/external/jemalloc/bin/
Djeprof.in1119 my @addrs = split(/\n/, $k);
1120 if ($#addrs >= 0) {
1121 my $depth = $#addrs + 1;
1127 foreach my $full_addr (@addrs) {
2609 my @addrs = split(/\n/, $k);
2611 for (my $i = 0; $i <= $#addrs; $i++) {
2612 my $a = $addrs[$i];
2649 my $caller = ($i > 0) ? $addrs[$i-1] : 0;
2766 my @addrs = split(/\n/, $k);
2767 if ($#addrs >= 0) {
[all …]
/external/openssh/
Dssh.c375 struct addrinfo *addrs; in resolve_canonicalize() local
391 if ((addrs = resolve_addr(*hostp, port, in resolve_canonicalize()
400 return addrs; in resolve_canonicalize()
407 if ((addrs = resolve_host(fullhost, port, 0, in resolve_canonicalize()
432 if ((addrs = resolve_host(fullhost, port, 0, in resolve_canonicalize()
447 return addrs; in resolve_canonicalize()
489 set_addrinfo_port(struct addrinfo *addrs, int port) in set_addrinfo_port() argument
493 for (addr = addrs; addr != NULL; addr = addr->ai_next) { in set_addrinfo_port()
524 struct addrinfo *addrs = NULL; in main() local
1042 addrs = resolve_canonicalize(&host, options.port); in main()
[all …]
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/
Dtxtimestamp.c471 struct addrinfo *addrs, *cur; in resolve_hostname() local
474 if (getaddrinfo(hostname, NULL, NULL, &addrs)) in resolve_hostname()
477 cur = addrs; in resolve_hostname()
491 if (addrs) in resolve_hostname()
492 freeaddrinfo(addrs); in resolve_hostname()

12345678