Home
last modified time | relevance | path

Searched refs:ia_af (Results 1 – 8 of 8) sorted by relevance

/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm_subr.c72 switch (ip->ia_af) { in ip2str()
87 (void) inet_ntop(ip->ia_af, (void *)&ip->ia_v6, buf, sz); in ip2str()
170 ip->ia_af = ai->ai_family; in i_match_onehost()
171 switch (ip->ia_af) { in i_match_onehost()
236 new_ip.ia_af = AF_INET; in i_expand_ipv4range()
283 new_ip.ia_af = AF_INET6; in i_expand_ipv6range()
309 if (ip2->ia_af == 0) in i_expand_iprange()
312 if (ip1->ia_af != ip2->ia_af) { in i_expand_iprange()
330 switch (ip1->ia_af) { in i_expand_iprange()
462 if (ip1->ia_af != af) { in i_match_hostorip()
[all …]
H A Dilbadm_rules.c359 if (ip != NULL && (ip->ia_af == AF_INET || ip->ia_af == AF_INET6)) in of_rl_ip()
361 if (ip2 != NULL && (ip2->ia_af == AF_INET || ip2->ia_af == AF_INET6) && in of_rl_ip()
539 switch (ip->ia_af) { in ip2hostname()
542 ip->ia_af, &ret); in ip2hostname()
546 ip->ia_af, &ret); in ip2hostname()
603 if (rd->r_vip.ia_af == AF_INET) in ilbadm_show_onerule()
816 if (rd->r_vip.ia_af == AF_INET) in ilbadm_show_rl_servers()
1139 switch (rd->r_vip.ia_af) { in ilbadm_create_rule()
1148 rd->r_vip.ia_af); in ilbadm_create_rule()
1238 if (rd->r_nat_src_start.ia_af != AF_UNSPEC) { in ilbadm_export_rl()
H A Dilbadm_sg.c182 if (sd->sd_addr.ia_af == AF_INET) in ilbadm_list_sg_srv()
/titanic_50/usr/src/lib/libilb/common/
H A Dlibilb_impl.h80 if ((_e)->ia_af == AF_INET6) \
89 (_e)->ia_af = AF_INET; \
92 (_e)->ia_af = AF_INET6; \
H A Dlibilb.h125 int32_t ia_af; /* AF_INET or AF_INET6 */ member
H A Dilb_subr.c137 af = ((ilb_ip_addr_t *)ip1)->ia_af; in i_cmp_addr_impl()
H A Dilb_rules.c119 rl->rl_ipversion = rd->r_vip.ia_af; in ilb_create_rule()
H A Dilb_sg.c409 if (cmd == ILBD_SRV_ADDR2ID && !IS_AF_VALID(srv->sd_addr.ia_af)) in i_ilb_fillin_srvdata()