Searched defs:iptun_addr (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/iptun/
H A Diptun.c612 iptun_getaddr(iptun_addr_t *iptun_addr, struct sockaddr_storage *ss) argument
618 switch (iptun_addr->ia_family) {
621 sin->sin_addr.s_addr = iptun_addr->ia_addr.iau_addr4;
625 sin6->sin6_addr = iptun_addr->ia_addr.iau_addr6;
630 ss->ss_family = iptun_addr->ia_family;
637 iptun_setaddr(iptun_type_t iptun_type, iptun_addr_t *iptun_addr, argument
652 iptun_addr->ia_addr.iau_addr4 = sin->sin_addr.s_addr;
663 iptun_addr->ia_addr.iau_addr6 = sin6->sin6_addr;
669 iptun_addr->ia_family = ss->ss_family;

Completed in 65 milliseconds