Searched refs:addrbuf (Results 1 – 5 of 5) sorted by relevance
/external/strace/ |
D | net.c | 1219 } addrbuf; in printsock() local 1231 if (addrlen < 2 || addrlen > sizeof(addrbuf)) in printsock() 1232 addrlen = sizeof(addrbuf); in printsock() 1234 memset(&addrbuf, 0, sizeof(addrbuf)); in printsock() 1235 if (umoven(tcp, addr, addrlen, addrbuf.pad) < 0) { in printsock() 1239 addrbuf.pad[sizeof(addrbuf.pad) - 1] = '\0'; in printsock() 1242 printxval(addrfams, addrbuf.sa.sa_family, "AF_???"); in printsock() 1245 switch (addrbuf.sa.sa_family) { in printsock() 1249 } else if (addrbuf.sau.sun_path[0]) { in printsock() 1251 printpathn(tcp, addr + 2, strlen(addrbuf.sau.sun_path)); in printsock() [all …]
|
/external/openssh/ |
D | addrmatch.c | 318 char addrbuf[64], *mp, *cp; in addr_pton_cidr() local 321 if (p == NULL || strlcpy(addrbuf, p, sizeof(addrbuf)) > sizeof(addrbuf)) in addr_pton_cidr() 324 if ((mp = strchr(addrbuf, '/')) != NULL) { in addr_pton_cidr() 332 if (addr_pton(addrbuf, &tmp) == -1) in addr_pton_cidr()
|
/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/ping/ |
D | ping_common.c | 509 char addrbuf[128]; in main_loop() local 590 msg.msg_name = addrbuf; in main_loop() 591 msg.msg_namelen = sizeof(addrbuf); in main_loop() 630 not_ours = parse_reply(&msg, cc, addrbuf, recv_timep); in main_loop()
|
/external/mdnsresponder/mDNSShared/ |
D | dnsextd.c | 838 char rrbuf[MaxMsg], addrbuf[16]; in PrintLeaseTable() local 853 …Log("Update from %s, Expires in %d:%d:%d\n\t%s", inet_ntop(AF_INET, &ptr->cli.sin_addr, addrbuf, 1… in PrintLeaseTable() 1513 char addrbuf[32]; in HandleRequest() local 1572 …t from %s due to connection errors", inet_ntop( AF_INET, &request->src.sin_addr, addrbuf, 32 ) ) ); in HandleRequest() 1575 …age from %s to server. Discarding.", inet_ntop(AF_INET, &request->src.sin_addr, addrbuf, 32 ) ) ); in HandleRequest() 1589 …ge from %s not a successful update.", inet_ntop(AF_INET, &request->src.sin_addr, addrbuf, 32 ) ) ); in HandleRequest() 1897 char rrbuf[MaxMsg], addrbuf[32]; in SendEvents() local 1902 if (verbose) inet_ntop(AF_INET, &e->cli.sin_addr, addrbuf, 32); in SendEvents() 1911 VLog("%s (%s): %s", addrbuf, (mDNSs32)cr->resrec.rroriginalttl < 0 ? "Remove": "Add", rrbuf); in SendEvents() 2162 char rrbuf[MaxMsg], addrbuf[32]; in LLQCompleteHandshake() local [all …]
|