Home | History | Annotate | Download | only in src

Lines Matching defs:interface

61 	 We allow these to be treated as aliases of another interface which does have
62 an IP address with --dhcp-bridge=interface,alias,alias */
73 my_syslog(LOG_WARNING, _("unknown interface %s in bridge-interface"), name);
127 /* check whether the interface IP has been added already
391 * for a single given irec (interface name and address) create
394 * to create just a single new listener dynamically when our interface
397 * iface - input of the new interface details to listen on
443 /* An interface may have an IPv6 address which is still undergoing DAD.
486 * Otherwise, any listeners that are preserved across interface list changes
487 * will point at interface structures that are free()d at the end of
507 * Close the sockets listening on the given interface
511 * until we exited. Now, if an interface moves off the to-listen list we need to
514 * interface - input of the interface details to listen on
516 int close_bound_listener(struct irec *interface)
522 if (listener_iface && interface) {
523 if (sockaddr_isequal(&listener_iface->addr, &interface->addr)) {
527 if (interface == NULL && listener_iface == NULL) {
606 /* An interface may have an IPv6 address which is still undergoing DAD.
766 strcmp(intname, sfd->interface) == 0)
789 strcpy(sfd->interface, intname);
798 this allows query_port to be a low port and interface binding */
828 !allocate_sfd(&srv->source_addr, srv->interface, srv->mark) &&
833 if (srv->interface[0] != 0)
836 strcat(daemon->namebuff, srv->interface);
871 my_syslog(LOG_WARNING, _("ignoring nameserver %s - local interface"), daemon->namebuff);
878 !(new->sfd = allocate_sfd(&new->source_addr, new->interface, new->mark)) &&
908 else if (new->interface[0] != 0)
909 my_syslog(LOG_INFO, _("using nameserver %s#%d(via %s)"), daemon->namebuff, port, new->interface);
932 char *interface;
945 die(_("interface string too long: %s"), NULL, EC_BADNET);
948 while((interface = strsep(&next, ":"))) {
951 if ((if_tmp->name = strdup(interface)) == NULL) {
964 die(_("unknown interface given %s in set_interfaces: %s"), if_tmp->name, EC_BADNET);
1123 serv->interface[0] = 0;
1237 serv->interface[0] = 0;