Lines Matching refs:AF_INET
143 icmp_sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_ICMP);
146 icmp_sock = socket(AF_INET, SOCK_RAW, IPPROTO_ICMP);
152 source.sin_family = AF_INET;
212 if (inet_pton(AF_INET, optarg, &source.sin_addr) > 0)
264 whereto.sin_family = AF_INET;
319 int probe_fd = socket(AF_INET, SOCK_DGRAM, 0);
402 if (!ifa->ifa_addr || ifa->ifa_addr->sa_family != AF_INET)
1317 !(hp = gethostbyaddr((char *)&addr, 4, AF_INET)))