Lines Matching defs:ss
274 struct sockaddr_storage ss;
281 sin = (struct sockaddr_in *)&ss;
286 sin6 = (struct sockaddr_in6 *)&ss;
293 err = iptun_setladdr(iptun, &ss);
612 iptun_getaddr(iptun_addr_t *iptun_addr, struct sockaddr_storage *ss)
617 bzero(ss, sizeof (*ss));
620 sin = (struct sockaddr_in *)ss;
624 sin6 = (struct sockaddr_in6 *)ss;
630 ss->ss_family = iptun_addr->ia_family;
638 const struct sockaddr_storage *ss)
640 if (!IPTUN_ADDR_MATCH(iptun_type, ss->ss_family))
643 switch (ss->ss_family) {
645 struct sockaddr_in *sin = (struct sockaddr_in *)ss;
656 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)ss;
669 iptun_addr->ia_family = ss->ss_family;