/external/ltp/utils/sctp/lib/ |
D | bindx.c | 42 void *addrbuf; in sctp_bindx() local 59 addrbuf = addrs; in sctp_bindx() 61 sa_addr = (struct sockaddr *)addrbuf; in sctp_bindx() 65 addrbuf += sizeof(struct sockaddr_in); in sctp_bindx() 69 addrbuf += sizeof(struct sockaddr_in6); in sctp_bindx()
|
D | connectx.c | 40 const void *addrbuf; in __connectx_addrsize() local 45 addrbuf = addrs; in __connectx_addrsize() 47 sa_addr = (const struct sockaddr *)addrbuf; in __connectx_addrsize() 51 addrbuf += sizeof(struct sockaddr_in); in __connectx_addrsize() 55 addrbuf += sizeof(struct sockaddr_in6); in __connectx_addrsize()
|
/external/strace/ |
D | sockaddr.c | 133 } addrbuf; in decode_inet_addr() local 138 size = sizeof(addrbuf.a4); in decode_inet_addr() 141 size = sizeof(addrbuf.a6); in decode_inet_addr() 152 if (umoven(tcp, addr, size, &addrbuf) < 0) { in decode_inet_addr() 159 return print_inet_addr(family, &addrbuf, size, var_name); in decode_inet_addr() 651 } addrbuf; in decode_sockaddr() local 653 if ((unsigned) addrlen > sizeof(addrbuf.storage)) in decode_sockaddr() 654 addrlen = sizeof(addrbuf.storage); in decode_sockaddr() 656 if (umoven_or_printaddr(tcp, addr, addrlen, addrbuf.pad)) in decode_sockaddr() 659 memset(&addrbuf.pad[addrlen], 0, sizeof(addrbuf.pad) - addrlen); in decode_sockaddr() [all …]
|
/external/ipsec-tools/src/libipsec/ |
D | policy_parse.y | 111 static struct sockaddr *parse_sockaddr __P((struct _val *addrbuf, 375 parse_sockaddr(addrbuf, portbuf) in parse_sockaddr() argument 376 struct _val *addrbuf; in parse_sockaddr() 385 if ((addr = malloc(addrbuf->len + 1)) == NULL) { 398 strncpy(addr, addrbuf->buf, addrbuf->len); 399 addr[addrbuf->len] = '\0';
|
/external/openssh/ |
D | addrmatch.c | 317 char addrbuf[64], *mp, *cp; in addr_pton_cidr() local 320 if (p == NULL || strlcpy(addrbuf, p, sizeof(addrbuf)) >= sizeof(addrbuf)) in addr_pton_cidr() 323 if ((mp = strchr(addrbuf, '/')) != NULL) { in addr_pton_cidr() 331 if (addr_pton(addrbuf, &tmp) == -1) in addr_pton_cidr()
|
/external/curl/lib/ |
D | hostip6.c | 139 char addrbuf[128]; in Curl_getaddrinfo() local 174 if((1 == Curl_inet_pton(AF_INET, hostname, addrbuf)) || in Curl_getaddrinfo() 175 (1 == Curl_inet_pton(AF_INET6, hostname, addrbuf))) { in Curl_getaddrinfo()
|
/external/ltp/utils/sctp/testlib/ |
D | sctputil.c | 375 void *addrbuf; in test_peer_addr() local 391 addrbuf = addrs; in test_peer_addr() 393 sa_addr = (struct sockaddr *)addrbuf; in test_peer_addr() 397 addrbuf += sizeof(struct sockaddr_in); in test_peer_addr() 401 addrbuf += sizeof(struct sockaddr_in6); in test_peer_addr()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_addrmanagmt_rpcb_getaddr/ |
D | tirpc_rpcb_getaddr.c | 55 char addrbuf[ADDRBUFSIZE]; in main() local 60 svcaddr.buf = addrbuf; in main()
|
D | tirpc_rpcb_getaddr_limits.c | 54 char addrbuf[ADDRBUFSIZE]; in main() local 59 svcaddr.buf = addrbuf; in main()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_tli_create/ |
D | tirpc_clnt_tli_create.c | 56 char addrbuf[ADDRBUFSIZE]; in main() local 72 svcaddr.buf = addrbuf; in main()
|
D | tirpc_clnt_tli_create_limits.c | 66 char addrbuf[ADDRBUFSIZE]; in main() local 83 svcaddr.buf = addrbuf; in main()
|
/external/python/cpython3/Modules/ |
D | socketmodule.c | 2472 sock_addr_t *addrbuf; member 2485 struct sockaddr *addr = SAS2SA(ctx->addrbuf); in sock_accept_impl() 2524 sock_addr_t addrbuf; in sock_accept() local 2534 memset(&addrbuf, 0, addrlen); in sock_accept() 2540 ctx.addrbuf = &addrbuf; in sock_accept() 2570 addr = makesockaddr(s->sock_fd, SAS2SA(&addrbuf), in sock_accept() 2921 sock_addr_t addrbuf; in sock_bind() local 2925 if (!getsockaddrarg(s, addro, SAS2SA(&addrbuf), &addrlen)) in sock_bind() 2928 res = bind(s->sock_fd, SAS2SA(&addrbuf), addrlen); in sock_bind() 3085 sock_addr_t addrbuf; in sock_connect() local [all …]
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_vc_create/ |
D | tirpc_clnt_vc_create.c | 55 char addrbuf[ADDRBUFSIZE]; in main() local 66 svcaddr.buf = addrbuf; in main()
|
D | tirpc_clnt_vc_create_limits.c | 66 char addrbuf[ADDRBUFSIZE]; in main() local 79 svcaddr.buf = addrbuf; in main()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_dg_create/ |
D | tirpc_clnt_dg_create.c | 52 char addrbuf[ADDRBUFSIZE]; in main() local 64 svcaddr.buf = addrbuf; in main()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_noprog/ |
D | tirpc_svcerr_noprog.c | 56 char addrbuf[ADDRBUFSIZE]; in main() local 78 svcaddr.buf = addrbuf; in main()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/ |
D | tirpc_rpcb_rmtcall.c | 55 char addrbuf[ADDRBUFSIZE]; in main() local 78 svcaddr.buf = addrbuf; in main()
|
D | tirpc_rpcb_rmtcall_stress.c | 57 char addrbuf[ADDRBUFSIZE]; in main() local 84 svcaddr.buf = addrbuf; in main()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_progvers/ |
D | tirpc_svcerr_progvers.c | 56 char addrbuf[ADDRBUFSIZE]; in main() local 78 svcaddr.buf = addrbuf; in main()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_weakauth/ |
D | tirpc_svcerr_weakauth.c | 56 char addrbuf[ADDRBUFSIZE]; in main() local 78 svcaddr.buf = addrbuf; in main()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_systemerr/ |
D | tirpc_svcerr_systemerr.c | 56 char addrbuf[ADDRBUFSIZE]; in main() local 78 svcaddr.buf = addrbuf; in main()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_noproc/ |
D | tirpc_svcerr_noproc.c | 56 char addrbuf[ADDRBUFSIZE]; in main() local 78 svcaddr.buf = addrbuf; in main()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/ |
D | tirpc_expertlevel_clnt_call.c | 56 char addrbuf[ADDRBUFSIZE]; in main() local 79 svcaddr.buf = addrbuf; in main()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/ |
D | tirpc_bottomlevel_clnt_call.c | 52 char addrbuf[ADDRBUFSIZE]; in main() local 71 svcaddr.buf = addrbuf; in main()
|
/external/python/cpython2/Modules/ |
D | socketmodule.c | 1725 sock_addr_t addrbuf; in sock_accept() local 1735 memset(&addrbuf, 0, addrlen); in sock_accept() 1746 newfd = accept(s->sock_fd, SAS2SA(&addrbuf), &addrlen); in sock_accept() 1769 addr = makesockaddr(s->sock_fd, SAS2SA(&addrbuf), in sock_accept() 2010 sock_addr_t addrbuf; local 2014 if (!getsockaddrarg(s, addro, SAS2SA(&addrbuf), &addrlen)) 2017 res = bind(s->sock_fd, SAS2SA(&addrbuf), addrlen); 2150 sock_addr_t addrbuf; local 2155 if (!getsockaddrarg(s, addro, SAS2SA(&addrbuf), &addrlen)) 2159 res = internal_connect(s, SAS2SA(&addrbuf), addrlen, &timeout); [all …]
|