Searched refs:SIN (Results 1 – 3 of 3) sorted by relevance
138 #define SIN(x) ((struct sockaddr_in *)(x)) macro139 #define SINADDR(x) (SIN(x)->sin_addr.s_addr)
59 #define SIN(a) ((struct sockaddr_in *)a) macro1101 sin = SIN(&ipaddr->ipadm_static_addr); in i_ipadm_get_broadcast()1115 addr = (SIN(&lifr.lifr_addr))->sin_addr.s_addr; in i_ipadm_get_broadcast()1131 maddr = (SIN(&mask))->sin_addr.s_addr; in i_ipadm_get_broadcast()1144 sin = SIN(&lifr.lifr_addr); in i_ipadm_get_broadcast()1656 sin = SIN(addr); in i_ipadm_get_default_prefixlen()1705 sin = SIN(ss); in i_ipadm_resolve_addr()
190 #define SIN(s) ((struct sockaddr_in *)s) macro2543 sin = SIN(sockaddr); in sockaddr_to_str()2561 m = SIN(&mask); in ipv4_prefixlen()2672 SIN(&lifr.lifr_addr)); in add_net_for_linkid()2788 IN6_INADDR_TO_V4MAPPED(&SIN(&lifr.lifr_addr)->sin_addr, in add_net_for_linkid()