Searched refs:CL_HTON16 (Results 1 - 10 of 10) sorted by relevance

/freebsd-10.3-release/contrib/ofed/management/opensm/include/iba/
H A Dib_cm_types.h100 #define IB_REJ_INSUF_QP CL_HTON16(1)
101 #define IB_REJ_INSUF_EEC CL_HTON16(2)
102 #define IB_REJ_INSUF_RESOURCES CL_HTON16(3)
103 #define IB_REJ_TIMEOUT CL_HTON16(4)
104 #define IB_REJ_UNSUPPORTED CL_HTON16(5)
105 #define IB_REJ_INVALID_COMM_ID CL_HTON16(6)
106 #define IB_REJ_INVALID_COMM_INSTANCE CL_HTON16(7)
107 #define IB_REJ_INVALID_SID CL_HTON16(8)
108 #define IB_REJ_INVALID_XPORT CL_HTON16(9)
109 #define IB_REJ_STALE_CONN CL_HTON16(1
[all...]
H A Dib_types.h166 #define IB_LID_UCAST_START (CL_HTON16(IB_LID_UCAST_START_HO))
178 #define IB_LID_UCAST_END (CL_HTON16(IB_LID_UCAST_END_HO))
190 #define IB_LID_MCAST_START (CL_HTON16(IB_LID_MCAST_START_HO))
202 #define IB_LID_MCAST_END (CL_HTON16(IB_LID_MCAST_END_HO))
378 #define IB_PKEY_BASE_MASK (CL_HTON16(0x7FFF))
389 #define IB_PKEY_TYPE_MASK (CL_HTON16(0x8000))
400 #define IB_DEFAULT_PARTIAL_PKEY (CL_HTON16(0x7FFF))
846 #define IB_MAD_STATUS_BUSY (CL_HTON16(0x0001))
858 #define IB_MAD_STATUS_REDIRECT (CL_HTON16(0x0002))
870 #define IB_MAD_STATUS_UNSUP_CLASS_VER (CL_HTON16(
[all...]
/freebsd-10.3-release/contrib/ofed/management/opensm/include/complib/
H A Dcl_byteswap.h75 * CL_NTOH16, CL_HTON16, CL_NTOH32, CL_HTON32, CL_NTOH64, CL_HTON64
121 * This macro is analogous to CL_HTON16.
124 * Byte Swapping, CL_HTON16, CL_NTOH32, CL_NTOH64,
127 /****d* Component Library: Byte Swapping/CL_HTON16
129 * CL_HTON16
132 * The CL_HTON16 macro converts a 16-bit value from host byte order to
133 * network byte order. The CL_HTON16 macro will cause constant values to be
134 * swapped by the pre-processor. For variables, CL_HTON16 is less efficient
138 * CL_HTON16( val );
161 #define CL_HTON16 CL_NTOH1 macro
[all...]
/freebsd-10.3-release/contrib/ofed/management/opensm/opensm/
H A Dosm_trap_rcv.c366 if ((p_ntci->g_or_v.generic.trap_num == CL_HTON16(129))
368 CL_HTON16(130))
370 CL_HTON16(131)))
441 ((p_ntci->g_or_v.generic.trap_num == CL_HTON16(129)) ||
442 (p_ntci->g_or_v.generic.trap_num == CL_HTON16(130)) ||
443 (p_ntci->g_or_v.generic.trap_num == CL_HTON16(131)))) {
H A Dosm_multicast.c106 notice.g_or_v.generic.trap_num = CL_HTON16(num);
H A Dosm_drop_mgr.c237 notice.g_or_v.generic.trap_num = CL_HTON16(65);
H A Dosm_sa_multipath_record.c95 return ((p_node->node_info.device_id == CL_HTON16(23108)) &&
H A Dosm_sa_path_record.c107 return ((p_node->node_info.device_id == CL_HTON16(23108)) &&
H A Dosm_state_mgr.c844 notice.g_or_v.generic.trap_num = CL_HTON16(64);
/freebsd-10.3-release/contrib/ofed/management/opensm/osmtest/
H A Dosmtest.c236 #define IB_MAD_STATUS_CLASS_MASK (CL_HTON16(0xFF00))

Completed in 138 milliseconds