Lines Matching defs:interface
42 /*% nameserver interface manager structure */
449 * Search the interface list for an interface whose address and port
505 setup_locals(ns_interfacemgr_t *mgr, isc_interface_t *interface) {
510 netaddr = &interface->address;
520 result = isc_netaddr_masktoprefixlen(&interface->netmask,
529 "omitting IPv4 interface %s from "
530 "localnets ACL: %s", interface->name,
537 "omitting %s interface %s from localnets ACL: "
540 interface->name);
553 setup_listenon(ns_interfacemgr_t *mgr, isc_interface_t *interface,
563 isc_sockaddr_fromnetaddr(addr, &interface->address, port);
703 isc_interface_t interface;
707 result = isc_interfaceiter_current(iter, &interface);
711 family = interface.address.family;
723 * the interface for an entire rescan interval due to
727 isc_netaddr_equal(&interface.address, &zero_address)) {
731 isc_netaddr_equal(&interface.address, &zero_address6)) {
736 result = setup_locals(mgr, &interface);
758 &interface.address.type.in);
761 &interface.address.type.in6);
763 interface.address.zone);
771 * if not, ignore the interface.
779 setup_listenon(mgr, &interface, le->port);
795 * interface, we need to listen on the address
845 "listening on %s interface "
851 interface.name, sabuf);
855 interface.name,
864 "creating %s interface "
865 "%s failed; interface "
869 interface.name);
880 "ignoring %s interface %s: %s",
882 interface.name, isc_result_totext(result));
887 "interface iteration failed: %s",
910 * Now go through the interface list and delete anything that
919 * Warn if we are not listening on any interface, unless
960 ns_interface_t *interface;
963 interface = ISC_LIST_HEAD(mgr->interfaces);
964 while (interface != NULL) {
965 if (interface->clientmgr != NULL)
966 ns_client_dumprecursing(f, interface->clientmgr);
967 interface = ISC_LIST_NEXT(interface, link);