Home | History | Annotate | Download | only in src

Lines Matching defs:doctor

545 	  struct doctor *doctor;
554 for (doctor = daemon->doctors; doctor; doctor = doctor->next)
556 if (doctor->end.s_addr == 0)
558 if (!is_same_net(doctor->in, addr, doctor->mask))
561 else if (ntohl(doctor->in.s_addr) > ntohl(addr.s_addr) ||
562 ntohl(doctor->end.s_addr) < ntohl(addr.s_addr))
565 addr.s_addr &= ~doctor->mask.s_addr;
566 addr.s_addr |= (doctor->out.s_addr & doctor->mask.s_addr);