Home | History | Annotate | Download | only in src

Lines Matching refs:AF_INET

99 	    if (family == AF_INET &&
176 if (addr->sa.sa_family == AF_INET &&
177 !iface_check(AF_INET, (struct all_addr *)&addr->in.sin_addr, ifr.ifr_name, NULL))
237 addr.in.sin_family = AF_INET;
327 addr.in.sin_family = AF_INET;
337 if ((fd = socket(AF_INET, SOCK_DGRAM, 0)) == -1 ||
338 (tcpfd = socket(AF_INET, SOCK_STREAM, 0)) == -1)
364 if ((tftpfd = socket(AF_INET, SOCK_DGRAM, 0)) == -1)
380 l->family = AF_INET;
467 if ((daemon->options & OPT_TFTP) && iface->addr.sa.sa_family == AF_INET && iface->dhcp_ok)
471 if ((new->tftpfd = socket(AF_INET, SOCK_DGRAM, 0)) == -1 ||
606 if ((daemon->options & OPT_TFTP) && iface->addr.sa.sa_family == AF_INET && iface->dhcp_ok)
610 if ((new->tftpfd = socket(AF_INET, SOCK_DGRAM, 0)) == -1 ||
650 if (family == AF_INET)
690 if (addr_copy.sa.sa_family == AF_INET)
721 if (addr->sa.sa_family == AF_INET &&
777 addr.in.sin_family = AF_INET;
829 if (new->addr.sa.sa_family == AF_INET &&
1047 source_addr.in.sin_family = addr.in.sin_family = AF_INET;
1160 source_addr.in.sin_family = addr.in.sin_family = AF_INET;
1223 for (l = daemon->listeners; l && l->family != AF_INET; l = l->next);
1226 ifr.ifr_addr.sa_family = AF_INET;