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

/illumos-gate/usr/src/uts/common/io/bnxe/577xx/include/
H A Dlm_defs.h635 #ifndef HTON16
636 #define HTON16(_val16) (_val16) macro
650 #ifndef HTON16
651 #define HTON16(_val16) (((_val16 & 0xff00) >> 8) | ((_val16 & 0xff) << 8)) macro
654 #define HTON32(_val32) ((HTON16(_val32) << 16) | (HTON16(_val32 >> 16)))
657 #define NTOH16(_val16) HTON16(_val16)

Completed in 62 milliseconds