Lines Matching refs:ss
99 int string_to_ip(const char *string, struct sockaddr_storage *ss) { in string_to_ip() argument
103 if (ss == NULL) { in string_to_ip()
114 memcpy(ss, ai->ai_addr, ai->ai_addrlen); in string_to_ip()
259 struct sockaddr_storage ss; in ifc_act_on_address() local
287 ret = string_to_ip(address, &ss); in ifc_act_on_address()
293 if (ss.ss_family == AF_INET) { in ifc_act_on_address()
294 struct sockaddr_in *sin = (struct sockaddr_in *) &ss; in ifc_act_on_address()
297 } else if (ss.ss_family == AF_INET6) { in ifc_act_on_address()
298 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *) &ss; in ifc_act_on_address()
315 req.r.ifa_family = ss.ss_family; in ifc_act_on_address()
327 if (ss.ss_family == AF_INET && action == RTM_NEWADDR) { in ifc_act_on_address()