HomeSort by relevance Sort by last modified time
    Searched refs:sockin (Results 1 - 2 of 2) sorted by null

  /external/toybox/toys/pending/
route.c 53 static int get_hostname(char *ipstr, struct sockaddr_in *sockin)
57 sockin->sin_family = AF_INET;
58 sockin->sin_port = 0;
61 sockin->sin_addr.s_addr = INADDR_ANY;
65 if (inet_aton(ipstr, &sockin->sin_addr)) return 0;
67 memcpy(&sockin->sin_addr, host->h_addr_list[0], sizeof(struct in_addr));
  /external/libxml2/
nanohttp.c 1044 struct sockaddr_in sockin; local
1053 memset (&sockin, 0, sizeof(sockin));
1087 if (res->ai_addrlen > sizeof(sockin)) {
1092 memcpy (&sockin, res->ai_addr, res->ai_addrlen);
1093 sockin.sin_port = htons (port);
1094 addr = (struct sockaddr *)&sockin;
1177 sockin.sin_family = h->h_addrtype;
1178 sockin.sin_addr = ia;
1179 sockin.sin_port = (unsigned short)htons ((unsigned short)port)
    [all...]

Completed in 775 milliseconds