Lines Matching refs:testaddr
878 struct sockaddr_in6 testaddr; in phyint_inst_v6_sockinit() local
913 bzero(&testaddr, sizeof (testaddr)); in phyint_inst_v6_sockinit()
914 testaddr.sin6_family = AF_INET6; in phyint_inst_v6_sockinit()
915 testaddr.sin6_port = 0; in phyint_inst_v6_sockinit()
916 testaddr.sin6_addr = pii->pii_probe_logint->li_addr; in phyint_inst_v6_sockinit()
918 if (bind(pii->pii_probe_sock, (struct sockaddr *)&testaddr, in phyint_inst_v6_sockinit()
919 sizeof (testaddr)) < 0) { in phyint_inst_v6_sockinit()
998 struct sockaddr_in testaddr; in phyint_inst_v4_sockinit() local
1036 bzero(&testaddr, sizeof (testaddr)); in phyint_inst_v4_sockinit()
1037 testaddr.sin_family = AF_INET; in phyint_inst_v4_sockinit()
1038 testaddr.sin_port = 0; in phyint_inst_v4_sockinit()
1040 &testaddr.sin_addr); in phyint_inst_v4_sockinit()
1042 if (bind(pii->pii_probe_sock, (struct sockaddr *)&testaddr, in phyint_inst_v4_sockinit()
1043 sizeof (testaddr)) < 0) { in phyint_inst_v4_sockinit()
1056 (char *)&testaddr.sin_addr, sizeof (struct in_addr)) < 0) { in phyint_inst_v4_sockinit()
1760 struct in6_addr testaddr; in logint_init_from_k() local
1833 IN6_INADDR_TO_V4MAPPED(&sin->sin_addr, &testaddr); in logint_init_from_k()
1836 testaddr = sin6->sin6_addr; in logint_init_from_k()
1865 !IN6_ARE_ADDR_EQUAL(&testaddr, &li->li_addr) || in logint_init_from_k()
1884 li->li_addr = testaddr; in logint_init_from_k()
1903 pr_addr(pii->pii_af, testaddr, abuf, sizeof (abuf))); in logint_init_from_k()