Home | History | Annotate | Download | only in src

Lines Matching defs:in

8    This program is distributed in the hope that it will be useful,
163 { "keep-in-foreground", 0, 0, 'k' },
229 { 'A', ARG_DUP, "/domain/ipaddr", gettext_noop("Return ipaddr for all hosts in specified domains."), NULL },
232 { 'c', ARG_ONE, "cachesize", gettext_noop("Specify the size of the cache in entries (defaults to %s)."), "$" },
234 { 'd', OPT_DEBUG, NULL, gettext_noop("Do NOT fork into the background: run in debug mode."), NULL },
237 { 'E', OPT_EXPAND, NULL, gettext_noop("Expand simple names in /etc/hosts with domain-suffix."), NULL },
239 { 'F', ARG_DUP, "ipaddr,ipaddr,time", gettext_noop("Enable DHCP in the range given with lease duration."), NULL },
245 { 'H', ARG_DUP, "path", gettext_noop("Specify a hosts file to be read in addition to %s."), HOSTSFILE },
254 { 'k', OPT_NO_FORK, NULL, gettext_noop("Do NOT fork into the background, do NOT run in debug mode."), NULL },
262 { 'o', OPT_ORDER, NULL, gettext_noop("Use nameservers strictly in the order given in %s."), RESOLVFILE },
273 { 's', ARG_DUP, "<domain>[,<range>]", gettext_noop("Specify the domain to be assigned in DHCP leases."), NULL },
274 { 't', ARG_ONE, "host_name", gettext_noop("Specify default target in an MX record."), NULL },
275 { 'T', ARG_ONE, "time", gettext_noop("Specify time-to-live in seconds for replies from /etc/hosts."), NULL },
276 { LOPT_NEGTTL, ARG_ONE, "time", gettext_noop("Specify time-to-live in seconds for negative caching."), NULL },
289 { 'z', OPT_NOWILD, NULL, gettext_noop("Bind only to interfaces in use."), NULL },
296 { '5', OPT_NO_PING, NULL, gettext_noop("Disable ICMP echo address checking in the DHCP server."), NULL },
298 { '7', ARG_DUP, "path", gettext_noop("Read configuration from all the files in this directory."), NULL },
316 in request."), NULL },
332 /* DHCP-internal options, for logging. not valid in config file */
432 /* We hide metacharaters in quoted strings by mapping them into the ASCII control
433 character space. Note that the \0, \t \b \r \033 and \n characters are carefully placed in the
665 /* This is too insanely large to keep in-line in the switch */
830 struct in_addr in;
848 in.s_addr = inet_addr(cp);
851 memcpy(op, &in, INADDRSZ);
856 unsigned char *p = (unsigned char *)&in;
891 problem = _("bad domain in dhcp-option");
902 /* add string on the end in RFC1035 format */
1438 newlist->addr.in.sin_port = htons(serv_port);
1440 newlist->source_addr.in.sin_len = newlist->addr.in.sin_len = sizeof(struct sockaddr_in);
1448 newlist->source_addr.in.sin_addr.s_addr = INADDR_ANY;
1456 newlist->source_addr.in.sin_addr.s_addr = INADDR_ANY;
1458 newlist->source_addr.in.sin_port = htons(source_port);
1783 struct in_addr in;
1846 else if (strchr(a[j], '.') && (in.s_addr = inet_addr(a[j])) != (in_addr_t)-1)
1848 new->addr = in;
2260 ((new->in.s_addr = inet_addr(a[0])) == (in_addr_t)-1) ||
2269 !is_same_net(new->in, new->end, new->mask) ||
2270 ntohl(new->in.s_addr) > ntohl(new->end.s_addr)))
2544 die(_("files nested too deep in %s"), file, EC_BADCONF);
2857 /* port might not be known when the address is parsed - fill in here */
2865 tmp->source_addr.in.sin_port = htons(daemon->query_port);
2878 tmp->addr.in.sin_port = htons(daemon->port);
2919 die(_("only one resolv.conf file allowed in no-poll mode."), NULL, EC_BADCONF);
2949 die(_("no search directive found in %s"), (daemon->resolv_files)->name, EC_MISC);