Lines Matching refs:sin_addr
502 ia = ((struct sockaddr_in *)sa)->sin_addr;
514 sin_addr;
521 saun->sin.sin_addr.s_addr = ia.s_addr;
606 saun->sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
871 rt_get_inet_prefix_pmask(rt, &dst4->sin_addr, &mask4->sin_addr,
1339 .sin_addr = addr,
1407 fill_sockaddr_inet((struct sockaddr_in *)sa, gw_sin->sin_addr);
1481 int len = mask_sa->sin_len - offsetof(struct sockaddr_in, sin_addr);
1486 memcpy(&mask, &mask_sa->sin_addr, len);
1492 mask.s_addr = mask_sa ? mask_sa->sin_addr.s_addr : INADDR_BROADCAST;
1494 dst.s_addr = htonl(ntohl(dst_sa->sin_addr.s_addr) & ntohl(mask.s_addr));