Lines Matching refs:ip_dst
726 tbl[pkttbl_idx].pkte_daddr.s_addr = ip->ip_dst.s_addr; in ip_chain_insert()
729 if ((ip->ip_dst.s_addr == tbl[pkttbl_idx].pkte_daddr.s_addr) && in ip_chain_insert()
1043 KERNEL_DEBUG(DBG_LAYER_BEG, ip->ip_dst.s_addr, ip->ip_src.s_addr, in ip_input_first_pass()
1075 if ((ntohl(ip->ip_dst.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET || in ip_input_first_pass()
1101 if ((IN_LINKLOCAL(ntohl(ip->ip_dst.s_addr)) || in ip_input_first_pass()
1283 if (ip->ip_dst.s_addr == (u_int32_t)INADDR_BROADCAST || in ip_input_check_interface()
1284 ip->ip_dst.s_addr == INADDR_ANY) { in ip_input_check_interface()
1293 TAILQ_FOREACH(ia, INADDR_HASH(ip->ip_dst.s_addr), ia_hash) { in ip_input_check_interface()
1294 if (IA_SIN(ia)->sin_addr.s_addr == ip->ip_dst.s_addr) { in ip_input_check_interface()
1348 if (satosin(&ia->ia_broadaddr)->sin_addr.s_addr == ip->ip_dst.s_addr || in ip_input_check_interface()
1349 ia->ia_netbroadcast.s_addr == ip->ip_dst.s_addr) { in ip_input_check_interface()
1402 inet_ntop(AF_INET, &ip->ip_dst, dst_str, sizeof(dst_str)); in ip_input_check_interface()
1413 inet_ntop(AF_INET, &ip->ip_dst, dst_str, sizeof(dst_str)); in ip_input_check_interface()
1489 if (!IN_MULTICAST(ntohl(ip->ip_dst.s_addr))) { in ip_input_second_pass()
1506 IN_LOOKUP_MULTI(&ip->ip_dst, inifp, inm); in ip_input_second_pass()
1808 KERNEL_DEBUG(DBG_LAYER_BEG, ip->ip_dst.s_addr, ip->ip_src.s_addr, in ip_input()
1830 if ((ntohl(ip->ip_dst.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET || in ip_input()
1853 if ((IN_LINKLOCAL(ntohl(ip->ip_dst.s_addr)) || in ip_input()
1993 if (!IN_MULTICAST(ntohl(ip->ip_dst.s_addr))) { in ip_input()
2010 IN_LOOKUP_MULTI(&ip->ip_dst, inifp, inm); in ip_input()
2204 ip->ip_dst.s_addr == fp->ipq_dst.s_addr && in ip_reass()
2356 fp->ipq_dst = ip->ip_dst; in ip_reass()
2553 ip->ip_dst = fp->ipq_dst; in ip_reass()
2786 dst = ip->ip_dst; in ip_dooptions()
2831 ipaddr.sin_addr = ip->ip_dst; in ip_dooptions()
2876 inet_ntop(AF_INET, &ip->ip_dst, in ip_dooptions()
2912 ip->ip_dst = ipaddr.sin_addr; in ip_dooptions()
2923 forward = !IN_MULTICAST(ntohl(ip->ip_dst.s_addr)); in ip_dooptions()
2942 (void) memcpy(&ipaddr.sin_addr, &ip->ip_dst, in ip_dooptions()
3442 pkt_dst = ip->ip_dst; in ip_forward()
3683 bcopy(&ipm->ip_dst, &sin->sin_addr, in ip_forward()
3797 mp = sbcreatecontrol_mbuf((caddr_t)&ip->ip_dst, in ip_savecontrol()
3885 bcopy(&ip->ip_dst, &pi.ipi_addr, sizeof(struct in_addr)); in ip_savecontrol()