Lines Matching refs:isv6
74 insert_pif(const char *pname, boolean_t isv6, int *error) in insert_pif() argument
80 int fd = isv6 ? v6_sock_fd : v4_sock_fd; in insert_pif()
89 pif->pif_isv6 = isv6; in insert_pif()
198 if (!isv6 && pif->pif_hwtype == 0) { in insert_pif()
245 insque(pif, isv6 ? &v6root : &v4root); in insert_pif()
315 lookup_pif_by_uindex(uint16_t ifindex, dhcp_pif_t *pif, boolean_t isv6) in lookup_pif_by_uindex() argument
318 pif = isv6 ? v6root : v4root; in lookup_pif_by_uindex()
339 lookup_pif_by_name(const char *pname, boolean_t isv6) in lookup_pif_by_name() argument
343 pif = isv6 ? v6root : v4root; in lookup_pif_by_name()
668 boolean_t isv6; in checkaddr() local
677 isv6 = lif->lif_pif->pif_isv6; in checkaddr()
678 fd = isv6 ? v6_sock_fd : v4_sock_fd; in checkaddr()
689 } else if (isv6) { in checkaddr()
730 boolean_t isv6; in verify_lif() local
738 isv6 = pif->pif_isv6; in verify_lif()
739 fd = isv6 ? v6_sock_fd : v4_sock_fd; in verify_lif()
808 if (isv6) { in verify_lif()
841 boolean_t isv6; in canonize_lif() local
852 isv6 = lif->lif_pif->pif_isv6; in canonize_lif()
854 isv6 ? 6 : 4, lif->lif_name); in canonize_lif()
863 fd = isv6 ? v6_sock_fd : v4_sock_fd; in canonize_lif()
882 if (isv6) { in canonize_lif()
914 } else if (!isv6) { in canonize_lif()
926 if (!isv6) { in canonize_lif()
1105 attach_lif(const char *lname, boolean_t isv6, int *error) in attach_lif() argument
1114 if ((pif = lookup_pif_by_name(pname, isv6)) != NULL) in attach_lif()
1116 else if ((pif = insert_pif(pname, isv6, error)) == NULL) in attach_lif()
1610 get_max_mtu(boolean_t isv6) in get_max_mtu() argument
1612 uint_t *mtup = isv6 ? &cached_v6_max_mtu : &cached_v4_max_mtu; in get_max_mtu()
1621 pif = isv6 ? v6root : v4root; in get_max_mtu()