Searched defs:htons (Results 1 - 13 of 13) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Main/
H A DHtoNtoH.c20 #undef htons macro
47 htons( function
/vbox/src/VBox/Devices/Network/lwip/src/include/ipv4/lwip/
H A Dinet.h54 #ifdef htons
55 #undef htons macro
56 #endif /* htons */
72 #define htons(x) (x) macro
79 #define htons lwip_htons macro
85 #define htons(x) LWIP_PLATFORM_HTONS(x) macro
90 u16_t htons(u16_t x);
/vbox/src/VBox/Devices/Network/lwip-new/src/include/lwip/
H A Ddef.h64 #ifdef htons
65 #undef htons macro
66 #endif /* htons */
77 #define htons(x) lwip_htons(x) macro
/vbox/src/VBox/Devices/PC/ipxe/src/include/
H A Dbig_bswap.h7 #define htons(x) (x) macro
H A Dlittle_bswap.h9 #define htons(x) __bswap_16(x) macro
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/Include/sys/
H A Dendian.h77 uint16_t htons(uint16_t) __attribute__((__const__));
124 #define htons(x) (x) macro
136 #define htons(x) bswap16((uint16_t)(x))
141 #define HTONS(x) (x) = htons((uint16_t)(x))
/vbox/src/VBox/Devices/Network/lwip/src/core/
H A Dinet.c105 /* This maybe a little confusing: reorder sum using htons()
108 return htons((u16_t)acc);
280 acc += (u32_t)htons((u16_t)proto);
281 acc += (u32_t)htons(proto_len);
511 htons(u16_t n) function
519 return htons(n);
/vbox/src/VBox/Devices/PC/ipxe/src/net/udp/
H A Ddns.c59 .st_port = htons ( DNS_PORT ),
304 dns->query.dns.id = htons ( ++qid );
385 case htons ( DNS_TYPE_A ):
402 case htons ( DNS_TYPE_CNAME ):
409 dns->qinfo->qtype = htons ( DNS_TYPE_A );
410 dns->qinfo->qclass = htons ( DNS_CLASS_IN );
434 case htons ( DNS_TYPE_A ):
439 dns->qinfo->qtype = htons ( DNS_TYPE_CNAME );
444 case htons ( DNS_TYPE_CNAME ): function
449 if ( dns->qinfo->qtype == htons ( DNS_TYPE_
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/mac/
H A Dmacsocket.h140 inline unsigned short htons(unsigned short hostshort) {return hostshort;} function
/vbox/src/VBox/Devices/Network/
H A DDevPCNet.cpp896 htons(hdr->ether_type), \
1086 #undef htons macro
1087 #define htons(x) ( (((x) & 0xff00) >> 8) | (((x) & 0x00ff) << 8) ) macro
H A DDevE1000.cpp148 #undef htons macro
152 #define htons(x) ((((x) & 0xff00) >> 8) | (((x) & 0x00ff) << 8)) macro
153 #define ntohs(x) htons(x)
4014 pTcpHdr->hdrlen_flags &= ~htons(E1K_TCP_FIN | E1K_TCP_PSH);
4032 pIpHdr->total_len = htons(pThis->u16TxPktLen - pThis->contextTSE.ip.u8CSS);
4051 + htons(pThis->u16TxPktLen - pThis->contextTSE.tu.u8CSS);
4082 pIpHdr->ident = htons(ntohs(pIpHdr->ident) + 1);
4121 pTcpHdr->hdrlen_flags &= ~htons(E1K_TCP_FIN | E1K_TCP_PSH);
4139 pIpHdr->total_len = htons(pThis->u16TxPktLen - pThis->contextTSE.ip.u8CSS);
4158 + htons(pThi
[all...]
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/
H A Dwinsock.h523 #undef htons macro
530 #define htons(s) ((u_short)(s)) macro
545 #define htons(s) __wine_ushort_swap(s) macro
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/
H A Dwinsock.h525 #undef htons macro
532 #define htons(s) ((u_short)(s)) macro
547 #define htons(s) __wine_ushort_swap(s) macro

Completed in 1135 milliseconds