Searched refs:iph_sock (Results 1 – 5 of 5) sorted by relevance
/titanic_44/usr/src/lib/libipadm/common/ |
H A D | libipadm.c | 197 iph->iph_sock = -1; in ipadm_open() 204 if ((iph->iph_sock = socket(AF_INET, SOCK_DGRAM, 0)) < 0 || in ipadm_open() 246 sizeof (on)) < 0 || setsockopt(iph->iph_sock, SOL_SOCKET, in ipadm_open() 268 if (iph->iph_sock != -1) in ipadm_close() 269 (void) close(iph->iph_sock); in ipadm_close() 313 sock = iph->iph_sock; in i_ipadm_get_index() 409 sock = (af == AF_INET ? iph->iph_sock : iph->iph_sock6); in i_ipadm_set_flags() 454 sock = iph->iph_sock; in i_ipadm_get_flags() 538 if (ioctl(iph->iph_sock, SIOCGLIFGROUPNAME, (caddr_t)&lifr) < 0) { in i_ipadm_is_under_ipmp() 570 int s4 = iph->iph_sock; in ipadm_if_enabled()
|
H A D | ipadm_if.c | 101 if (getallifs(iph->iph_sock, 0, &buf, &numifs, lifc_flags) != 0) in i_ipadm_active_if_info() 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() 603 if (ioctl(iph->iph_sock, SIOCGLIFFLAGS, &lifr) != -1 || in i_ipadm_slifname() 716 sock = iph->iph_sock; in i_ipadm_plumb_if() 953 if (ioctl((af == AF_INET) ? iph->iph_sock : iph->iph_sock6, in i_ipadm_unplumb_if() 969 sock = iph->iph_sock; 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() 1078 if (i_ipadm_strioctl(iph->iph_sock, SIOCGETPROP, (char *)mip, in i_ipadm_get_prop() 1341 if (i_ipadm_strioctl(iph->iph_sock, SIOCSETPROP, (char *)mip, in i_ipadm_set_prop()
|
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() 1111 if (ioctl(iph->iph_sock, SIOCGLIFADDR, in i_ipadm_get_broadcast() 1140 if (ioctl(iph->iph_sock, SIOCGLIFBRDADDR, in i_ipadm_get_broadcast() 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() 2304 sock = iph->iph_sock; in i_ipadm_addr_exists_on_if() 2348 sock = (addr->ipadm_af == AF_INET ? iph->iph_sock : in i_ipadm_do_addif() [all …]
|
H A D | libipadm_impl.h | 56 int iph_sock; /* socket to interface */ member
|