X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Fflow.h;h=f9aa44a4483690cbb07b43dd5f46bf17e4fe52f4;hb=82272eded1ede569bcec3ba4ab212e5e3fb632ff;hp=5e5ae5e1535d0e6422edf9c2056f77f3e0ed6af4;hpb=856081f683d3e7d5b5fa07af4233d285eb205c47;p=openvswitch 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) {