HomeSort by relevance Sort by last modified time
    Searched defs:hp (Results 26 - 50 of 75) sorted by null

12 3

  /external/libppp/src/
nat_cmd.c 308 struct hostent *hp; local
313 hp = gethostbyname(str);
314 if (!hp) {
318 *addr = *((struct in_addr *) hp->h_addr);
radius.c 902 struct hostent *hp; local
1026 (hp = gethostbyname(hostname)) != NULL) {
1027 hostaddr.s_addr = *(u_long *)hp->h_addr;
1103 struct hostent *hp; local
    [all...]
ipcp.c 445 struct hostent *hp; local
461 hp = gethostbyname(name);
462 if (hp && hp->h_addrtype == AF_INET && hp->h_length == sizeof host.s_addr)
463 memcpy(&host.s_addr, hp->h_addr, sizeof host.s_addr);
    [all...]
  /external/quake/quake/src/WinQuake/
net_mp.cpp 348 int ha1, ha2, ha3, ha4, hp; local
351 sscanf(string, "%d.%d.%d.%d:%d", &ha1, &ha2, &ha3, &ha4, &hp);
356 ((struct sockaddr_in *)addr)->sin_port = htons(hp);
net_udp.cpp 421 int ha1, ha2, ha3, ha4, hp; local
424 sscanf(string, "%d.%d.%d.%d:%d", &ha1, &ha2, &ha3, &ha4, &hp);
429 ((struct sockaddr_in *)addr)->sin_port = htons(hp);
net_wins.cpp 480 int ha1, ha2, ha3, ha4, hp; local
483 sscanf(string, "%d.%d.%d.%d:%d", &ha1, &ha2, &ha3, &ha4, &hp);
488 ((struct sockaddr_in *)addr)->sin_port = htons((unsigned short)hp);
  /system/core/adb/
services.c 62 struct hostent *hp; local
66 hp = gethostbyname(hostname);
68 if(hp == 0) {
71 writex(fd, hp->h_addr, 4);
  /system/netd/
DnsProxyListener.cpp 93 static bool sendhostent(SocketClient *c, struct hostent *hp) {
96 if (hp->h_name != NULL) {
97 success &= sendLenAndData(c, strlen(hp->h_name)+1, hp->h_name);
102 for (i=0; hp->h_aliases[i] != NULL; i++) {
103 success &= sendLenAndData(c, strlen(hp->h_aliases[i])+1, hp->h_aliases[i]);
107 uint32_t buf = htonl(hp->h_addrtype);
110 buf = htonl(hp->h_length);
113 for (i=0; hp->h_addr_list[i] != NULL; i++)
321 struct hostent* hp; local
447 struct hostent* hp; local
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/parser/
StringMsgParser.java 575 HeaderParser hp = ParserFactory.createParser(buffer.toString()); local
576 if (hp == null)
578 return hp.parse();
  /external/valgrind/main/VEX/priv/
host_generic_reg_alloc2.c 246 Int i, j, h, bigN, hp; local
254 hp = 0; while (hp < 14 && incs[hp] < bigN) hp++; hp--;
258 for ( ; hp >= 0; hp--) {
259 h = incs[hp];
274 for ( ; hp >= 0; hp--)
    [all...]
  /bionic/libc/netbsd/
gethnamaddr.c 180 const HEADER *hp; local
213 hp = &answer->hdr;
214 ancount = ntohs(hp->ancount);
215 qdcount = ntohs(hp->qdcount);
471 gethostbyname_r(const char *name, struct hostent *hp, char *buf, size_t buflen,
482 memcpy(hp, res, sizeof *hp);
483 *result = hp;
490 struct hostent *hp; local
500 hp = gethostbyname_internal(name, AF_INET6, res, NULL)
520 struct hostent *hp; local
626 struct hostent *hp; local
817 struct hostent *hp; local
990 struct hostent *hp; local
1221 char *hp; local
1252 struct hostent *hp; local
1313 struct hostent *hp; local
    [all...]
  /bionic/libc/netbsd/resolv/
res_send.c 740 const HEADER *hp = (const HEADER *)(const void *)buf; local
916 if (hp->id != anhp->id) {
1040 const HEADER *hp = (const HEADER *)(const void *)buf; local
1158 if (hp->id != anhp->id) {
    [all...]
res_debug.c 871 u_int8_t hp = 0x16; /* default = 1e6 cm = 10000.00m = 10km */ local
943 hp = precsize_aton(&cp);
961 *bcp++ = hp;
  /external/bzip2/
blocksort.c 494 Int32 i, j, h, bigN, hp; local
500 hp = 0;
501 while (incs[hp] < bigN) hp++;
502 hp--;
504 for (; hp >= 0; hp--) {
505 h = incs[hp];
  /external/dhcpcd/
dhcp.c 913 const char *hp; local
1046 hp = strchr(ifo->hostname, '.');
1047 if (hp)
1048 len = hp - ifo->hostname;
    [all...]
  /external/ping/
ping.c 115 struct hostent *hp; local
252 hp = gethostbyname(target);
253 if (!hp) {
257 memcpy(&whereto.sin_addr, hp->h_addr, 4);
258 strncpy(hnamebuf, hp->h_name, sizeof(hnamebuf) - 1);
1204 struct hostent *hp; local
1208 !(hp = gethostbyaddr((char *)&addr, 4, AF_INET)))
1211 snprintf(buf, sizeof(buf), "%s (%s)", hp->h_name,
    [all...]
  /external/qemu/telephony/
sysdeps_posix.c 611 struct hostent* hp; local
616 hp = gethostbyname(hostname);
617 if(hp == 0) {
624 addr.sin_family = hp->h_addrtype;
626 memcpy(&addr.sin_addr, hp->h_addr, hp->h_length);
628 channel->fd = socket(hp->h_addrtype, SOCK_STREAM, 0);
  /external/tcpdump/
addrtoname.c 228 register struct hostent *hp; local
250 hp = gethostbyaddr((char *)&addr, 4, AF_INET);
251 if (hp) {
254 p->name = strdup(hp->h_name);
276 register struct hostent *hp; local
295 hp = gethostbyaddr((char *)&addr, sizeof(addr), AF_INET6);
296 if (hp) {
299 p->name = strdup(hp->h_name);
917 { 0x0112, "HP PrintServer" },
974 { 0x030c, "IntelNetport2/HP JetDirect/HP Quicksilver" }
    [all...]
print-802_11.c 766 const struct mgmt_header_t *hp = (const struct mgmt_header_t *) p; local
769 *srcp = hp->sa;
771 *dstp = hp->da;
776 etheraddr_string((hp)->bssid), etheraddr_string((hp)->da),
777 etheraddr_string((hp)->sa));
  /external/tcpdump/missing/
getaddrinfo.c 514 struct hostent *hp; local
551 hp = getipnodebyname(hostname, pai->ai_family, AI_ADDRCONFIG, &h_error);
554 hp = gethostbyname2(hostname, pai->ai_family);
558 hp = gethostbyname(hostname);
567 if (hp == NULL) {
582 } else if ((hp->h_name == NULL) || (hp->h_name[0] == 0)
583 || (hp->h_addr_list[0] == NULL)) {
585 freehostent(hp);
587 hp = NULL
913 struct hostent *hp = NULL; local
    [all...]
  /external/webkit/Tools/android/flex-2.5.4a/MISC/
alloca.c 177 register header *hp; /* Traverses linked list. */ local
179 for (hp = last_alloca_header; hp != NULL;)
180 if ((STACK_DIR > 0 && hp->h.deep > depth)
181 || (STACK_DIR < 0 && hp->h.deep < depth))
183 register header *np = hp->h.next;
185 free ((pointer) hp); /* Collect garbage. */
187 hp = np; /* -> next header. */
192 last_alloca_header = hp; /* -> last valid storage. */
  /ndk/sources/host-tools/make-3.81/
alloca.c 185 register header *hp; /* Traverses linked list. */ local
191 for (hp = last_alloca_header; hp != NULL;)
192 if ((STACK_DIR > 0 && hp->h.deep > depth)
193 || (STACK_DIR < 0 && hp->h.deep < depth))
195 register header *np = hp->h.next;
197 free ((pointer) hp); /* Collect garbage. */
199 hp = np; /* -> next header. */
204 last_alloca_header = hp; /* -> last valid storage. */
  /ndk/sources/host-tools/sed-4.2.1/lib/
alloca.c 167 register header *hp; /* Traverses linked list. */ local
173 for (hp = last_alloca_header; hp != NULL;)
174 if ((STACK_DIR > 0 && hp->h.deep > depth)
175 || (STACK_DIR < 0 && hp->h.deep < depth))
177 register header *np = hp->h.next;
179 free (hp); /* Collect garbage. */
181 hp = np; /* -> next header. */
186 last_alloca_header = hp; /* -> last valid storage. */
  /external/libxml2/
nanoftp.c 857 struct hostent *hp; local
931 hp = gethostbyname (proxy);
933 hp = gethostbyname (ctxt->hostname);
934 if (hp == NULL) {
938 if ((unsigned int) hp->h_length >
949 hp->h_addr_list[0], hp->h_length);
    [all...]
  /external/mksh/src/
histrap.c 96 char **hfirst, **hlast, **hp, *editor = NULL; local
187 hp = first ? hist_get(first, false, false) :
189 if (!hp)
193 strdupx(line, *hp, ATEMP);
204 for (s = *hp; (s1 = strstr(s, pat)) &&
275 for (hp = rflag ? hlast : hfirst;
276 hp >= hfirst && hp <= hlast; hp += rflag ? -1 : 1) {
279 hist_source->line - (int)(histptr - hp));
421 char **hp = NULL; local
514 char **hp; local
634 char **hp; local
753 char *nhname, **hp; local
853 char **hp; local
    [all...]

Completed in 1701 milliseconds

12 3