Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
uuid.h File Reference
#include <linux/types.h>
#include <linux/string.h>

Go to the source code of this file.

Data Structures

struct  uuid_le
 
struct  uuid_be
 

Macros

#define UUID_LE(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7)
 
#define UUID_BE(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7)
 
#define NULL_UUID_LE
 
#define NULL_UUID_BE
 

Macro Definition Documentation

#define NULL_UUID_BE
Value:
UUID_BE(0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00)

Definition at line 53 of file uuid.h.

#define NULL_UUID_LE
Value:
UUID_LE(0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00)

Definition at line 49 of file uuid.h.

#define UUID_BE (   a,
  b,
  c,
  d0,
  d1,
  d2,
  d3,
  d4,
  d5,
  d6,
  d7 
)
Value:
((uuid_be) \
{{ ((a) >> 24) & 0xff, ((a) >> 16) & 0xff, ((a) >> 8) & 0xff, (a) & 0xff, \
((b) >> 8) & 0xff, (b) & 0xff, \
((c) >> 8) & 0xff, (c) & 0xff, \
(d0), (d1), (d2), (d3), (d4), (d5), (d6), (d7) }})

Definition at line 42 of file uuid.h.

#define UUID_LE (   a,
  b,
  c,
  d0,
  d1,
  d2,
  d3,
  d4,
  d5,
  d6,
  d7 
)
Value:
((uuid_le) \
{{ (a) & 0xff, ((a) >> 8) & 0xff, ((a) >> 16) & 0xff, ((a) >> 24) & 0xff, \
(b) & 0xff, ((b) >> 8) & 0xff, \
(c) & 0xff, ((c) >> 8) & 0xff, \
(d0), (d1), (d2), (d3), (d4), (d5), (d6), (d7) }})

Definition at line 35 of file uuid.h.