Searched refs:protoPtr (Results 1 – 1 of 1) sorted by relevance
1510 struct protoent *protoPtr = nullptr; variable1512 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 …]