Lines Matching defs:ipaddr
528 static struct sockaddr_in ipaddr = { sizeof(ipaddr), AF_INET , 0 , {0}, {0,0,0,0,0,0,0,0} };
1696 ipaddr.sin_addr = ip->ip_dst;
1698 ifa_ifwithaddr((struct sockaddr *)&ipaddr);
1756 (void)memcpy(&ipaddr.sin_addr, cp + off,
1757 sizeof(ipaddr.sin_addr));
1762 if ((ia = (INA)ifa_ifwithdstaddr((SA)&ipaddr)) == 0) {
1763 ia = (INA)ifa_ifwithnet((SA)&ipaddr);
1766 ia = ip_rtaddr(ipaddr.sin_addr, ipforward_rt);
1773 ip->ip_dst = ipaddr.sin_addr;
1800 (void)memcpy(&ipaddr.sin_addr, &ip->ip_dst,
1801 sizeof(ipaddr.sin_addr));
1806 if ((ia = (INA)ifa_ifwithaddr((SA)&ipaddr)) == 0) {
1807 if ((ia = ip_rtaddr(ipaddr.sin_addr, ipforward_rt)) == 0) {
1853 ipaddr.sin_addr = dst;
1854 ia = (INA)ifaof_ifpforaddr((SA)&ipaddr,
1872 (void)memcpy(&ipaddr.sin_addr, sin,
1874 if ((ia = (struct in_ifaddr*)ifa_ifwithaddr((SA)&ipaddr)) == 0)