mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
odp-util: Export odp_tun_key_from_attr()
Rename tun_key_from_attr() as odp_tun_key_from_attr() and export it. This is in preparation for calling this function outside of odp-util.c. Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -87,6 +87,9 @@ struct odputil_keybuf {
|
||||
uint32_t keybuf[DIV_ROUND_UP(ODPUTIL_FLOW_KEY_BYTES, 4)];
|
||||
};
|
||||
|
||||
enum odp_key_fitness odp_tun_key_from_attr(const struct nlattr *,
|
||||
struct flow_tnl *);
|
||||
|
||||
void odp_flow_key_format(const struct nlattr *, size_t, struct ds *);
|
||||
int odp_flow_key_from_string(const char *s, const struct simap *port_names,
|
||||
struct ofpbuf *);
|
||||
|
Reference in New Issue
Block a user