Home
last modified time | relevance | path

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

/reactos/drivers/network/tcpip/ip/network/
H A Droutines.c41 DbgPrint(" TotalLength: %d\n", WN2H(IPHeader->TotalLength)); in DisplayIPHeader()
42 DbgPrint(" Id: %d\n", WN2H(IPHeader->Id)); in DisplayIPHeader()
43 …DbgPrint(" FlagsFragOfs: 0x%x (offset 0x%x)\n", WN2H(IPHeader->FlagsFragOfs), WN2H(IPHeader->Flag… in DisplayIPHeader()
44 … if ((WN2H(IPHeader->FlagsFragOfs) & IPv4_DF_MASK) > 0) DbgPrint(" IPv4_DF - Don't fragment\n"); in DisplayIPHeader()
45 … if ((WN2H(IPHeader->FlagsFragOfs) & IPv4_MF_MASK) > 0) DbgPrint(" IPv4_MF - More fragments\n"); in DisplayIPHeader()
48 DbgPrint(" Checksum: 0x%x\n", WN2H(IPHeader->Checksum)); in DisplayIPHeader()
H A Darp.c150 WN2H(0x0001), /* FIXME: Ethernet only */ in ARPTransmit()
224 if (WN2H(Header->HWType) != 1) { in ARPReceive()
225 TI_DbgPrint(DEBUG_ARP, ("Unknown ARP hardware type (0x%X).\n", WN2H(Header->HWType))); in ARPReceive()
232 TI_DbgPrint(DEBUG_ARP, ("Unknown ARP protocol type (0x%X).\n", WN2H(Header->ProtoType))); in ARPReceive()
H A Dreceive.c347 FragFirst = (WN2H(IPv4Header->FlagsFragOfs) & IPv4_FRAGOFS_MASK) << 3; in ProcessFragment()
348 FragLast = FragFirst + WN2H(IPv4Header->TotalLength); in ProcessFragment()
349 MoreFragments = (WN2H(IPv4Header->FlagsFragOfs) & IPv4_MF_MASK) > 0; in ProcessFragment()
617 WN2H(((PIPv4_HEADER)IPPacket->Header)->Checksum))); in IPv4Receive()
622 IPPacket->TotalSize = WN2H(((PIPv4_HEADER)IPPacket->Header)->TotalLength); in IPv4Receive()
/reactos/drivers/network/lan/include/
H A Dnet_wh.h20 #define WN2H(w) \ macro
40 #define WN2H(w) \ macro
/reactos/dll/win32/ws2_32/src/
H A Daddrconv.c35 #define WN2H(w) \ macro
55 #define WN2H(w) \ macro
260 return WN2H(netshort); in ntohs()
358 *lpnetshort = WN2H(hostshort); in WSAHtons()
474 *lphostshort = WN2H(netshort); in WSANtohs()
/reactos/modules/rosapps/applications/net/tditest/include/
H A Dtditest.h36 #define WN2H(w) \ macro
56 #define WN2H(w) \ macro
/reactos/drivers/network/tcpip/include/
H A Dtcpip.h85 #define WN2H(w) \ macro
107 #define WN2H(w) \ macro
/reactos/drivers/network/tcpip/tcpip/
H A Dfileobjs.c127 A2S(&AddrFile->Address), WN2H(AddrFile->Port), AddrFile->Protocol, in LogActiveObjects()
260 WN2H(Current->Port), in AddrSearchNext()
263 WN2H(SearchContext->Port), in AddrSearchNext()
557 WN2H(AddrFile->Port))); in FileOpenAddress()
/reactos/sdk/lib/rtl/
H A Dnetwork.c29 #define WN2H(w) (((w & 0xFF00) >> 8) | ((w & 0x00FF) << 8)) macro
211 WN2H(Port)); in RtlIpv4AddressToStringExA()
293 WN2H(Port)); in RtlIpv4AddressToStringExW()
470 *Port = WN2H(ConvertedPort); in RtlIpv4StringToAddressExW()
615 WN2H(Addr->s6_words[n])); in RtlIpv6AddressToStringW()
700 WN2H(Port)); in RtlIpv6AddressToStringExW()