Home
last modified time | relevance | path

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

/test/xts/acts/kernel_lite/net_posix/src/
DActsNetTest.cpp1510 struct protoent *protoPtr = nullptr; variable
1512 protoPtr = getprotobyname(g_protocolList[i]);
1513 if (protoPtr == nullptr) {
1517 EXPECT_STREQ(g_protocolList[i], protoPtr->p_name);
1518 number = protoPtr->p_proto;
1520 protoPtr = nullptr;
1521 protoPtr = getprotobynumber(number);
1522 if (protoPtr == nullptr) {
1523 … EXPECT_TRUE(protoPtr != NULL) << "ErrInfo:getprotobynumber NULL '" << g_protocolList[i] << "'";
1526 EXPECT_STREQ(g_protocolList[i], protoPtr->p_name);
[all …]