Lines Matching refs:ip_dst
792 KERNEL_DEBUG(DBG_LAYER_BEG, ip->ip_dst.s_addr,
814 if ((ntohl(ip->ip_dst.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET ||
823 if ((IN_LINKLOCAL(ntohl(ip->ip_dst.s_addr)) ||
1033 ip->ip_dst : args.fwa_next_hop->sin_addr;
1035 pkt_dst = ip->ip_dst;
1112 if (IN_MULTICAST(ntohl(ip->ip_dst.s_addr))) {
1148 IN_LOOKUP_MULTI(&ip->ip_dst, ifp, inm);
1158 if (ip->ip_dst.s_addr == (u_int32_t)INADDR_BROADCAST)
1160 if (ip->ip_dst.s_addr == INADDR_ANY)
1225 ip->ip_dst.s_addr == fp->ipq_dst.s_addr &&
1248 ip->ip_dst.s_addr == fp->ipq_dst.s_addr &&
1412 KERNEL_DEBUG(DBG_LAYER_END, ip->ip_dst.s_addr,
1423 KERNEL_DEBUG(DBG_LAYER_END, ip->ip_dst.s_addr,
1505 fp->ipq_dst = ip->ip_dst;
1705 ip->ip_dst = fp->ipq_dst;
1840 dst = ip->ip_dst;
1884 ipaddr.sin_addr = ip->ip_dst;
1927 inet_ntop(AF_INET, &ip->ip_dst, buf2, sizeof(buf2)));
1962 ip->ip_dst = ipaddr.sin_addr;
1973 forward = !IN_MULTICAST(ntohl(ip->ip_dst.s_addr));
1991 (void)memcpy(&ipaddr.sin_addr, &ip->ip_dst,
2370 pkt_dst = next_hop ? next_hop->sin_addr : ip->ip_dst;
2372 pkt_dst = ip->ip_dst;
2624 bcopy(&ipm->ip_dst, &sin->sin_addr,
2698 mp = sbcreatecontrol_mbuf((caddr_t) &ip->ip_dst,
2790 bcopy(&ip->ip_dst, &pi.ipi_addr, sizeof(struct in_addr));