• Home
  • Raw
  • Download

Lines Matching refs:family

122 void expectAddressEquals(int family, const std::string& expected, const xfrm_address_t& actual) {  in expectAddressEquals()  argument
125 inet_ntop(family, reinterpret_cast<const void*>(&actual), actualStr, INET6_ADDRSTRLEN); in expectAddressEquals()
258 const int family = (version == 6) ? AF_INET6 : AF_INET; in TEST_P() local
291 EXPECT_EQ(AF_UNSPEC, userspi.info.sel.family); in TEST_P()
292 expectAddressEquals(family, localAddr, userspi.info.saddr); in TEST_P()
293 expectAddressEquals(family, remoteAddr, userspi.info.id.daddr); in TEST_P()
316 const int family = (version == 6) ? AF_INET6 : AF_INET; in testIpSecAddSecurityAssociation() local
372 EXPECT_EQ(family, usersa.family); in testIpSecAddSecurityAssociation()
385 expectAddressEquals(family, localAddr, usersa.saddr); in testIpSecAddSecurityAssociation()
386 expectAddressEquals(family, remoteAddr, usersa.id.daddr); in testIpSecAddSecurityAssociation()
543 const int family = (version == 6) ? AF_INET6 : AF_INET; in TEST_P() local
551 socketaddr.sa_family = family; in TEST_P()
553 unique_fd sock(socket(family, SOCK_STREAM | SOCK_CLOEXEC, 0)); in TEST_P()
589 const int family = (version == 6) ? AF_INET6 : AF_INET; in TEST_P() local
622 expectAddressEquals(family, remoteAddr, said.daddr); in TEST_P()
639 const int family = (version == 6) ? AF_INET6 : AF_INET; in TEST_P() local
659 1 /* resourceId */, family, static_cast<int>(XfrmDirection::OUT), localAddr, remoteAddr, in TEST_P()
701 expectAddressEquals(family, remoteAddr, usertmpl.tmpl.id.daddr); in TEST_P()
713 const int family = (version == 6) ? AF_INET6 : AF_INET; in TEST_P() local
733 1 /* resourceId */, family, static_cast<int>(XfrmDirection::OUT), localAddr, remoteAddr, in TEST_P()
749 const int family = (version == 6) ? AF_INET6 : AF_INET; in TEST_P() local
767 Status res = ctrl.ipSecDeleteSecurityPolicy(1 /* resourceId */, family, in TEST_P()