• Home
  • Raw
  • Download

Lines Matching refs:source_addr

659         if (sockaddr_isequal(&sfd->source_addr, addr) && mark == sfd->mark &&  in allocate_sfd()
681 sfd->source_addr = *addr; in allocate_sfd()
711 !allocate_sfd(&srv->source_addr, srv->interface, srv->mark) && errno != 0 && in pre_allocate_sfds()
750 !(new->sfd = allocate_sfd(&new->source_addr, new->interface, new->mark)) && in check_servers()
954 union mysockaddr addr, source_addr; in set_servers() local
956 memset(&source_addr, 0, sizeof(source_addr)); in set_servers()
960 source_addr.in.sin_family = AF_INET; in set_servers()
961 source_addr.in.sin_addr.s_addr = INADDR_ANY; in set_servers()
962 source_addr.in.sin_port = htons(daemon->query_port); in set_servers()
967 source_addr.in6.sin6_family = AF_INET6; in set_servers()
968 source_addr.in6.sin6_addr = in6addr_any; in set_servers()
969 source_addr.in6.sin6_port = htons(daemon->query_port); in set_servers()
986 serv->source_addr = source_addr; in set_servers()
1041 union mysockaddr addr, source_addr; in reload_servers() local
1049 memset(&source_addr, 0, sizeof(source_addr)); in reload_servers()
1053 source_addr.in.sin_family = AF_INET; in reload_servers()
1054 source_addr.in.sin_addr.s_addr = INADDR_ANY; in reload_servers()
1055 source_addr.in.sin_port = htons(daemon->query_port); in reload_servers()
1060 source_addr.in6.sin6_family = AF_INET6; in reload_servers()
1061 source_addr.in6.sin6_addr = in6addr_any; in reload_servers()
1062 source_addr.in6.sin6_port = htons(daemon->query_port); in reload_servers()
1079 serv->source_addr = source_addr; in reload_servers()