Home
last modified time | relevance | path

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

/reactos/sdk/include/psdk/
H A Dwspiapi.h277 struct servent *ptService = NULL; in WspiapiLegacyGetAddrInfo() local
315 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() local
397 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()
/reactos/dll/win32/ws2_32/src/
H A Daddrinfo.c521 PSERVENT ptService = NULL; in GetAddrInfoW() local
626 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()