Lines Matching refs:ip_dst
1314 bcopy(&ip->ip_dst, &sin->sin_addr, sizeof(ip->ip_dst)); in ipsec4_setspidx_ipaddr()
2392 &ip->ip_dst, sizeof(ip->ip_dst)); in ipsec4_encapsulate()
2551 &ip->ip_dst, sizeof(ip->ip_dst)); in ipsec64_encapsulate()
3055 d = (u_int8_t *)(&ip->ip_dst); in ipsec4_logpacketstr()
3248 dst4->sin_addr.s_addr != ip->ip_dst.s_addr) { in ipsec4_output_internal()
3257 dst4->sin_addr = ip->ip_dst; in ipsec4_output_internal()
3370 memcpy(&dst.sin_addr, &ip->ip_dst, sizeof(dst.sin_addr)); in ipsec4_interface_output()
3475 bcopy(&ip->ip_dst, &sin->sin_addr, in ipsec4_output()
3829 dst4->sin_addr.s_addr != ip->ip_dst.s_addr) { in ipsec6_output_tunnel_internal()
3838 dst4->sin_addr = ip->ip_dst; in ipsec6_output_tunnel_internal()
4368 if (bcmp(&oip->ip_dst, &sin->sin_addr, sizeof(oip->ip_dst)) != 0) { in ipsec4_tunnel_validate()
4390 odst.sin_addr = oip->ip_dst; in ipsec4_tunnel_validate()
4418 m_copydata(m, off + offsetof(struct ip, ip_dst), sizeof(i4dst.sin_addr), in ipsec4_tunnel_validate()
4530 m_copydata(m, off + offsetof(struct ip, ip_dst), sizeof(i4dst.sin_addr), in ipsec6_tunnel_validate()
4918 ip->ip_dst = ((struct sockaddr_in*)&sav->sah->saidx.dst)->sin_addr; in ipsec_send_natt_keepalive()
4921 ip->ip_dst = ((struct sockaddr_in*)&sav->sah->saidx.src)->sin_addr; in ipsec_send_natt_keepalive()
5104 ip->ip_dst = ((struct sockaddr_in*)&sav->sah->saidx.dst)->sin_addr; in ipsec_fill_offload_frame()
5107 ip->ip_dst = ((struct sockaddr_in*)&sav->sah->saidx.src)->sin_addr; in ipsec_fill_offload_frame()