projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
datapath: Fix OVS build failure on older kernel
[openvswitch]
/
lib
/
util.h
diff --git
a/lib/util.h
b/lib/util.h
index 1649c59c2777937f5e74539832ad403ae5ae6162..5ae0775f1b36491e36b6d720a4ee73456000403a 100644
(file)
--- a/
lib/util.h
+++ b/
lib/util.h
@@
-194,7
+194,11
@@
char *base_name(const char *file_name);
char *abs_file_name(const char *dir, const char *file_name);
void ignore(bool x OVS_UNUSED);
char *abs_file_name(const char *dir, const char *file_name);
void ignore(bool x OVS_UNUSED);
-int log_2_floor(uint32_t n);
+int log_2_floor(uint32_t);
+int ctz(uint32_t);
+
+bool is_all_zeros(const uint8_t *, size_t);
+bool is_all_ones(const uint8_t *, size_t);
#ifdef __cplusplus
}
#ifdef __cplusplus
}