Home
last modified time | relevance | path

Searched refs:addrbuf (Results 1 – 5 of 5) sorted by relevance

/external/strace/
Dnet.c180 } addrbuf; in printsock() local
192 if (addrlen < 2 || addrlen > sizeof(addrbuf)) in printsock()
193 addrlen = sizeof(addrbuf); in printsock()
195 memset(&addrbuf, 0, sizeof(addrbuf)); in printsock()
196 if (umoven(tcp, addr, addrlen, addrbuf.pad) < 0) { in printsock()
200 addrbuf.pad[sizeof(addrbuf.pad) - 1] = '\0'; in printsock()
203 printxval(addrfams, addrbuf.sa.sa_family, "AF_???"); in printsock()
206 switch (addrbuf.sa.sa_family) { in printsock()
210 } else if (addrbuf.sau.sun_path[0]) { in printsock()
212 printpathn(tcp, addr + 2, strlen(addrbuf.sau.sun_path)); in printsock()
[all …]
/external/ipsec-tools/src/libipsec/
Dpolicy_parse.y111 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/libnl/lib/
Daddr.c66 static const char *dnet_ntop(char *addrbuf, size_t addrlen, char *str, in dnet_ntop() argument
69 uint16_t addr = dn_ntohs(*(uint16_t *)addrbuf); in dnet_ntop()
134 static inline int dnet_pton(const char *src, char *addrbuf) in dnet_pton() argument
149 *(uint16_t *)addrbuf = dn_ntohs((area << 10) | node); in dnet_pton()
/external/iputils/
Dping_common.c728 char addrbuf[128]; in main_loop() local
810 msg.msg_name = addrbuf; in main_loop()
811 msg.msg_namelen = sizeof(addrbuf); in main_loop()
850 not_ours = parse_reply(&msg, cc, addrbuf, recv_timep); in main_loop()
/external/mdnsresponder/mDNSShared/
Ddnsextd.c838 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 …]