Lines Matching +full:64 +full:- +full:byte
2 * Copyright (c) 2004-2006 Voltaire, Inc. All rights reserved.
3 * Copyright (c) 2002-2005 Mellanox Technologies LTD. All rights reserved.
4 * Copyright (c) 1996-2003 Intel Corporation. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
57 /****h* Component Library/Byte Swapping
59 * Byte Swapping
62 * The byte swapping functions and macros allow swapping bytes from network
63 * byte order to host byte order.
65 * All data transmitted between systems should be in network byte order.
66 * In order to utilize such data, it must be converted to host byte order
83 * If the platform provides byte swapping functions, byteswap_osd.h also
99 /****d* Component Library: Byte Swapping/CL_NTOH16
104 * The CL_NTOH16 macro converts a 16-bit value from network byte order to
105 * host byte order. The CL_NTOH16 macro will cause constant values to be
106 * swapped by the pre-processor. For variables, CL_NTOH16 is less efficient
114 * [in] 16-bit value to swap from network byte order to host byte order.
117 * Value of val converted to host byte order.
123 * Byte Swapping, CL_HTON16, CL_NTOH32, CL_NTOH64,
126 /****d* Component Library: Byte Swapping/CL_HTON16
131 * The CL_HTON16 macro converts a 16-bit value from host byte order to
132 * network byte order. The CL_HTON16 macro will cause constant values to be
133 * swapped by the pre-processor. For variables, CL_HTON16 is less efficient
141 * [in] 16-bit value to swap from host byte order to network byte order.
144 * Value of val converted to network byte order.
150 * Byte Swapping, CL_NTOH16, CL_HTON32, CL_HTON64,
161 /****f* Component Library: Byte Swapping/cl_ntoh16
166 * The cl_ntoh16 function converts a 16-bit value from network byte order to
167 * host byte order.
176 * [in] Value to swap from network byte order to host byte order.
179 * Value of val converted to host byte order.
185 * Byte Swapping, cl_hton16, cl_ntoh32, cl_ntoh64, cl_ntoh
187 /****f* Component Library: Byte Swapping/cl_hton16
192 * The cl_hton16 function converts a 16-bit value from host byte order to
193 * network byte order.
202 * [in] Value to swap from host byte order to network byte order .
205 * Value of val converted to network byte order.
211 * Byte Swapping, cl_ntoh16, cl_hton32, cl_hton64, cl_ntoh
217 /****d* Component Library: Byte Swapping/CL_NTOH32
222 * The CL_NTOH32 macro converts a 32-bit value from network byte order to
223 * host byte order. The CL_NTOH32 macro will cause constant values to be
224 * swapped by the pre-processor. For variables, CL_NTOH32 is less efficient
232 * [in] 32-bit value to swap from network byte order to host byte order.
235 * Value of val converted to host byte order.
241 * Byte Swapping, CL_HTON32, CL_NTOH16, CL_NTOH64,
244 /****d* Component Library: Byte Swapping/CL_HTON32
249 * The CL_HTON32 macro converts a 32-bit value from host byte order to
250 * network byte order. The CL_HTON32 macro will cause constant values to be
251 * swapped by the pre-processor. For variables, CL_HTON32 is less efficient
259 * [in] 32-bit value to swap from host byte order to network byte order.
262 * Value of val converted to network byte order.
268 * Byte Swapping, CL_NTOH32, CL_HTON16, CL_HTON64,
281 /****f* Component Library: Byte Swapping/cl_ntoh32
286 * The cl_ntoh32 function converts a 32-bit value from network byte order to
287 * host byte order.
296 * [in] Value to swap from network byte order to host byte order.
299 * Value of val converted in host byte order.
305 * Byte Swapping, cl_hton32, cl_ntoh16, cl_ntoh64, cl_ntoh
307 /****f* Component Library: Byte Swapping/cl_hton32
312 * The cl_hton32 function converts a 32-bit value from host byte order to
313 * network byte order.
322 * [in] Value to swap from host byte order to network byte order .
325 * Value of val converted to network byte order.
331 * Byte Swapping, cl_ntoh32, cl_hton16, cl_hton64, cl_ntoh
337 /****d* Component Library: Byte Swapping/CL_NTOH64
342 * The CL_NTOH64 macro converts a 64-bit value from network byte order to
343 * host byte order. The CL_NTOH64 macro will cause constant values to be
344 * swapped by the pre-processor. For variables, CL_NTOH64 is less efficient
352 * [in] 64-bit value to swap from network byte order to host byte order.
355 * Value of val converted to host byte order.
361 * Byte Swapping, CL_HTON64, CL_NTOH16, CL_NTOH32,
364 /****d* Component Library: Byte Swapping/CL_HTON64
369 * The CL_HTON64 macro converts a 64-bit value from host byte order to
370 * network byte order. The CL_HTON64 macro will cause constant values to be
371 * swapped by the pre-processor. For variables, CL_HTON64 is less efficient
379 * [in] 64-bit value to swap from host byte order to network byte order.
382 * Value of val converted to network byte order.
388 * Byte Swapping, CL_NTOH64, CL_HTON16, CL_HTON32,
405 /****f* Component Library: Byte Swapping/cl_ntoh64
410 * The cl_ntoh64 function converts a 64-bit value from network byte order to
411 * host byte order.
420 * [in] Value to swap from network byte order to host byte order.
423 * Value of val converted in host byte order.
429 * Byte Swapping, cl_hton64, cl_ntoh16, cl_ntoh32, cl_ntoh
431 /****f* Component Library: Byte Swapping/cl_hton64
436 * The cl_hton64 function converts a 64-bit value from host byte order to
437 * network byte order.
446 * [in] Value to swap from host byte order to network byte order .
449 * Value of val converted to network byte order.
455 * Byte Swapping, cl_ntoh64, cl_hton16, cl_hton32, cl_ntoh
461 /****f* Component Library: Byte Swapping/cl_ntoh
466 * The cl_ntoh function converts a value from network byte order to
467 * host byte order.
483 p_dest[i] = p_src[size - 1 - i]; in cl_ntoh()
484 p_dest[size - 1 - i] = temp; in cl_ntoh()
488 p_dest[i] = p_src[size - 1 - i]; in cl_ntoh()
503 * [in] Pointer to a byte array to contain the converted value of p_src.
506 * [in] Pointer to a byte array to be converted from network byte
520 * Byte Swapping, cl_ntoh16, cl_ntoh32, cl_ntoh64