Searched refs:ptService (Results 1 – 2 of 2) sorted by relevance
277 struct servent *ptService = NULL; in WspiapiLegacyGetAddrInfo() local315 ptService = getservbyname(pszServiceName, "udp"); in WspiapiLegacyGetAddrInfo()316 if (ptService) wPort = wUdpPort = ptService->s_port; in WspiapiLegacyGetAddrInfo()319 ptService = getservbyname(pszServiceName, "tcp"); in WspiapiLegacyGetAddrInfo()320 if (ptService) wPort = wTcpPort = ptService->s_port; in WspiapiLegacyGetAddrInfo()373 struct servent *ptService; in WspiapiLegacyGetNameInfo() local397 ptService = getservbyport(wPort, (iFlags & NI_DGRAM) ? "udp" : NULL); in WspiapiLegacyGetNameInfo()398 if (ptService && ptService->s_name) { in WspiapiLegacyGetNameInfo()399 pszService = ptService->s_name; in WspiapiLegacyGetNameInfo()
521 PSERVENT ptService = NULL; in GetAddrInfoW() local626 ptService = getservbyname(AnsiServiceName, "udp"); in GetAddrInfoW()629 if (ptService) wPort = wUdpPort = ptService->s_port; in GetAddrInfoW()636 ptService = getservbyname(AnsiServiceName, "tcp"); in GetAddrInfoW()639 if (ptService) wPort = wTcpPort = ptService->s_port; in GetAddrInfoW()