git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests/ofproto-dpif.at: Avoid testing with incomplete TCP packets.
[sliver-openvswitch.git]
/
lib
/
random.h
diff --git
a/lib/random.h
b/lib/random.h
index
198adea
..
eaac143
100644
(file)
--- a/
lib/random.h
+++ b/
lib/random.h
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 2008, 2009
Nicira Networks
.
+ * Copyright (c) 2008, 2009
, 2010, 2012 Nicira, Inc
.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-21,10
+21,13
@@
#include <stdint.h>
void random_init(void);
#include <stdint.h>
void random_init(void);
+void random_set_seed(uint32_t);
+
void random_bytes(void *, size_t);
uint8_t random_uint8(void);
uint16_t random_uint16(void);
uint32_t random_uint32(void);
void random_bytes(void *, size_t);
uint8_t random_uint8(void);
uint16_t random_uint16(void);
uint32_t random_uint32(void);
+uint64_t random_uint64(void);
int random_range(int max);
#endif /* random.h */
int random_range(int max);
#endif /* random.h */