Lines Matching refs:s_addr
770 return ipv4_is_zeronet(((struct sockaddr_in *)addr)->sin_addr.s_addr); in cma_zero_addr()
784 return ipv4_is_loopback(((struct sockaddr_in *) addr)->sin_addr.s_addr); in cma_loopback_addr()
806 return ((struct sockaddr_in *) src)->sin_addr.s_addr != in cma_addr_cmp()
807 ((struct sockaddr_in *) dst)->sin_addr.s_addr; in cma_addr_cmp()
878 ip4->sin_addr.s_addr = hdr->dst_addr.ip4.addr; in cma_save_ip4_info()
883 ip4->sin_addr.s_addr = hdr->src_addr.ip4.addr; in cma_save_ip4_info()
1387 ip4_addr = ((struct sockaddr_in *) addr)->sin_addr.s_addr; in cma_set_compare_data()
2012 ((struct sockaddr_in *) addr)->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in cma_set_loopback()
2636 cma_hdr->src_addr.ip4.addr = src4->sin_addr.s_addr; in cma_format_hdr()
2637 cma_hdr->dst_addr.ip4.addr = dst4->sin_addr.s_addr; in cma_format_hdr()
3198 ip_ib_mc_map(sin->sin_addr.s_addr, dev_addr->broadcast, mc_map); in cma_set_mgid()
3283 *(__be32 *)(&mgid->raw[12]) = sin->sin_addr.s_addr; in cma_iboe_set_mgid()