diff options
author | Ben Pfaff <blp@nicira.com> | 2011-01-26 15:42:00 -0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2011-01-27 21:08:40 -0800 |
commit | d656937779f5b987ec021c21189a0deab29fd64d (patch) | |
tree | 2ad5f83f89661c61475af9175f0eb41dd849e9c4 /datapath/flow.h | |
parent | 9c52546b52018970d97b33b31a0578497663737a (diff) |
datapath: Convert datapath operations to use Netlink framing.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'datapath/flow.h')
-rw-r--r-- | datapath/flow.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/datapath/flow.h b/datapath/flow.h index 5e5ae5e1..f9aa44a4 100644 --- a/datapath/flow.h +++ b/datapath/flow.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2010 Nicira Networks. + * Copyright (c) 2009, 2010, 2011 Nicira Networks. * Distributed under the terms of the GNU GPL version 2. * * Significant portions of this file may be copied from parts of the Linux @@ -100,9 +100,8 @@ int flow_cmp(const struct tbl_node *, void *target); */ #define FLOW_BUFSIZE 96 -u32 flow_to_nlattrs(const struct sw_flow_key *, struct sk_buff *); -int flow_copy_from_user(struct sw_flow_key *, const struct nlattr __user *ukey, u32 key_len); -int flow_copy_to_user(struct nlattr __user *ukey, const struct sw_flow_key *, u32 key_len); +int flow_to_nlattrs(const struct sw_flow_key *, struct sk_buff *); +int flow_from_nlattrs(struct sw_flow_key *swkey, const struct nlattr *); static inline struct sw_flow *flow_cast(const struct tbl_node *node) { |