Searched refs:iph_sock6 (Results 1 – 6 of 6) sorted by relevance
/titanic_41/usr/src/lib/libipadm/common/ |
H A D | ipadm_ndpd.c | 174 if ((err = ioctl(iph->iph_sock6, SIOCSLIFNETMASK, (caddr_t)&lifr)) < 0) in i_ipadm_create_linklocal() 184 err = ioctl(iph->iph_sock6, SIOCSLIFPREFIX, (caddr_t)&lifr); in i_ipadm_create_linklocal() 190 err = ioctl(iph->iph_sock6, SIOCSLIFADDR, (caddr_t)&lifr); in i_ipadm_create_linklocal() 194 if ((err = ioctl(iph->iph_sock6, SIOCGLIFFLAGS, (char *)&lifr)) < 0) in i_ipadm_create_linklocal() 197 if ((err = ioctl(iph->iph_sock6, SIOCSLIFFLAGS, (char *)&lifr)) < 0) in i_ipadm_create_linklocal() 208 (void) ioctl(iph->iph_sock6, SIOCLIFREMOVEIF, (caddr_t)&lifr); in i_ipadm_create_linklocal() 214 (void) ioctl(iph->iph_sock6, SIOCSLIFFLAGS, (caddr_t)&lifr); in i_ipadm_create_linklocal() 217 (void) ioctl(iph->iph_sock6, SIOCSLIFADDR, (caddr_t)&lifr); in i_ipadm_create_linklocal()
|
H A D | libipadm.c | 198 iph->iph_sock6 = -1; in ipadm_open() 205 (iph->iph_sock6 = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) { in ipadm_open() 245 if (setsockopt(iph->iph_sock6, SOL_SOCKET, SO_VRRP, &on, in ipadm_open() 270 if (iph->iph_sock6 != -1) in ipadm_close() 271 (void) close(iph->iph_sock6); in ipadm_close() 315 sock = iph->iph_sock6; in i_ipadm_get_index() 409 sock = (af == AF_INET ? iph->iph_sock : iph->iph_sock6); in i_ipadm_set_flags() 456 sock = iph->iph_sock6; in i_ipadm_get_flags() 539 if (ioctl(iph->iph_sock6, SIOCGLIFGROUPNAME, in i_ipadm_is_under_ipmp() 571 int s6 = iph->iph_sock6; in ipadm_if_enabled()
|
H A D | ipadm_if.c | 147 iph->iph_sock : iph->iph_sock6; in i_ipadm_active_if_info() 465 sock = (af == AF_INET ? iph->iph_sock : iph->iph_sock6); in i_ipadm_create_ipmp() 502 other_af_sock = (af == AF_INET ? iph->iph_sock6 : iph->iph_sock); in i_ipadm_create_ipmp_peer() 607 if (ioctl(iph->iph_sock6, SIOCGLIFFLAGS, &lifr) != -1 || in i_ipadm_slifname() 718 sock = iph->iph_sock6; in i_ipadm_plumb_if() 953 if (ioctl((af == AF_INET) ? iph->iph_sock : iph->iph_sock6, in i_ipadm_unplumb_if() 966 sock = iph->iph_sock6; in i_ipadm_unplumb_if() 1025 iph->iph_sock : iph->iph_sock6; in i_ipadm_unplumb_if()
|
H A D | ipadm_prop.c | 403 s = (proto == MOD_PROTO_IPV6 ? iph->iph_sock6 : iph->iph_sock); in i_ipadm_set_mtu() 435 s = (proto == MOD_PROTO_IPV6 ? iph->iph_sock6 : iph->iph_sock); in i_ipadm_set_metric() 468 s = (proto == MOD_PROTO_IPV6 ? iph->iph_sock6 : iph->iph_sock); in i_ipadm_set_usesrc() 875 s = (proto == MOD_PROTO_IPV6 ? iph->iph_sock6 : iph->iph_sock); in i_ipadm_get_mtu() 914 s = (proto == MOD_PROTO_IPV6 ? iph->iph_sock6 : iph->iph_sock); in i_ipadm_get_metric() 955 s = (proto == MOD_PROTO_IPV6 ? iph->iph_sock6 : iph->iph_sock); in i_ipadm_get_usesrc()
|
H A D | libipadm_impl.h | 57 int iph_sock6; /* socket to interface */ member
|
H A D | ipadm_addr.c | 475 iph->iph_sock : iph->iph_sock6; in i_ipadm_active_addr_info() 928 s = (af == AF_INET ? iph->iph_sock : iph->iph_sock6); in i_ipadm_set_prefixlen() 1032 s = (af == AF_INET ? iph->iph_sock : iph->iph_sock6); in i_ipadm_set_zone() 1190 s = (af == AF_INET ? iph->iph_sock : iph->iph_sock6); in i_ipadm_get_prefixlen() 1348 s = (af == AF_INET ? iph->iph_sock : iph->iph_sock6); in i_ipadm_get_zone() 1579 sock = (addr->ipadm_af == AF_INET ? iph->iph_sock : iph->iph_sock6); in i_ipadm_delete_addr() 2312 sock = iph->iph_sock6; in i_ipadm_addr_exists_on_if() 2349 iph->iph_sock6); in i_ipadm_do_addif() 2564 if (ioctl(iph->iph_sock6, SIOCGLIFADDR, &lifr) < 0) { in ipadm_create_addr() 2642 sock = (af == AF_INET ? iph->iph_sock : iph->iph_sock6); in i_ipadm_create_addr()
|