Home | History | Annotate | Download | only in src

Lines Matching defs:in

8    This program is distributed in the hope that it will be useful,
51 static uint32 in[12];
60 !read_write(fd, (unsigned char *)&in, sizeof(in), 1))
74 for (i = 0;i < 12;++i) t[i] = in[i] ^ seed[12 + i];
93 if (!++in[0]) if (!++in[1]) if (!++in[2]) ++in[3];
103 static int check_name(char *in)
107 size_t dotgap = 0, l = strlen(in);
113 if (in[l-1] == '.')
116 in[l-1] = 0;
119 for (; (c = *in); in++)
172 char *canonicalise(char *in, int *nomem)
182 if (!check_name(in))
186 if ((rc = idna_to_ascii_lz(in, &ret, 0)) != IDNA_SUCCESS)
200 if ((ret = whine_malloc(strlen(in)+1)))
201 strcpy(ret, in);
259 s1->in.sin_port == s2->in.sin_port &&
260 s1->in.sin_addr.s_addr == s2->in.sin_addr.s_addr)
284 return sizeof(addr->in);
344 addr->in = *((struct sockaddr_in *) res->ai_addr);
371 strcpy(buf, inet_ntoa(addr->in.sin_addr));
372 port = ntohs(addr->in.sin_port);
397 /* in may equal out, when maxlen may be -1 (No max len). */
398 int parse_hex(char *in, unsigned char *out, int maxlen,
409 for (r = in; *r != 0 && *r != ':' && *r != '-'; r++);
413 if (r != in )
418 *mac_type = strtol(in, NULL, 16);
425 if (strcmp(in, "*") == 0)
428 out[i] = strtol(in, NULL, 16);
432 in = r+1;