Lines Matching refs:ip_src
348 inet_ntop(AF_INET, &ip->ip_src, buf, sizeof(buf)),
531 icmpdst.sin_addr = ip->ip_src;
550 if (ip->ip_src.s_addr == 0) {
552 ip->ip_src = satosin(&ia->ia_broadaddr)->sin_addr;
554 ip->ip_src = satosin(&ia->ia_dstaddr)->sin_addr;
569 src = ntohl(ip->ip_src.s_addr);
597 icmpgw.sin_addr = ip->ip_src;
653 if (!in_canforward(ip->ip_src) &&
654 ((ntohl(ip->ip_src.s_addr) & IN_CLASSA_NET) !=
660 ip->ip_dst = ip->ip_src;
719 ip->ip_src = t;
840 inet_ntop(AF_INET, &ip->ip_src, ipv4str, sizeof(ipv4str)));
1120 if (ip->ip_src.s_addr != INADDR_ANY) {
1128 TAILQ_FOREACH(ia, INADDR_HASH(ip->ip_src.s_addr),
1132 ip->ip_src.s_addr) {