mirror of
https://github.com/openvswitch/ovs
synced 2025-09-05 08:45:23 +00:00
packets: Add more utility functions for IPv4 and IPv6 addresses.
We had these functions scattered around the source tree anyway. packets.h is a good place to centralize them. I do plan to introduce some additional callers.
This commit is contained in:
@@ -194,7 +194,8 @@ char *base_name(const char *file_name);
|
||||
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);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Reference in New Issue
Block a user