Lines Matching refs:usersa
369 xfrm_usersa_info usersa{}; in testIpSecAddSecurityAssociation() local
370 netdutils::extract(nlMsgSlice, usersa); in testIpSecAddSecurityAssociation()
372 EXPECT_EQ(family, usersa.family); in testIpSecAddSecurityAssociation()
373 EXPECT_EQ(1 /* Transform Id*/, static_cast<int>(usersa.reqid)); in testIpSecAddSecurityAssociation()
374 EXPECT_EQ(static_cast<int>(mode), usersa.mode); in testIpSecAddSecurityAssociation()
377 EXPECT_EQ(XFRM_STATE_AF_UNSPEC, usersa.flags); in testIpSecAddSecurityAssociation()
379 EXPECT_EQ(0, usersa.flags); in testIpSecAddSecurityAssociation()
382 EXPECT_EQ(htonl(DROID_SPI), usersa.id.spi); in testIpSecAddSecurityAssociation()
383 EXPECT_EQ(IPPROTO_ESP, usersa.id.proto); in testIpSecAddSecurityAssociation()
385 expectAddressEquals(family, localAddr, usersa.saddr); in testIpSecAddSecurityAssociation()
386 expectAddressEquals(family, remoteAddr, usersa.id.daddr); in testIpSecAddSecurityAssociation()