X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Ftable.h;h=22574be7127cfc864a926647ecfd2e631b8e9801;hb=be6255a8251ae69f8a5d54c5afad9604bf9e907b;hp=2fd569b6e00eec109b2aa15db49d91d5c4db0793;hpb=c6fadeb1f0488997b44e85a00a8887756232156d;p=openvswitch diff --git a/datapath/table.h b/datapath/table.h index 2fd569b6..22574be7 100644 --- a/datapath/table.h +++ b/datapath/table.h @@ -34,7 +34,7 @@ struct tbl_node { struct tbl { struct rcu_head rcu; unsigned int n_buckets; - struct tbl_bucket ** __rcu *buckets; + struct tbl_bucket __rcu ***buckets; unsigned int count; void (*obj_destructor)(struct tbl_node *); }; @@ -62,6 +62,7 @@ int tbl_remove(struct tbl *, struct tbl_node *); unsigned int tbl_count(struct tbl *); int tbl_foreach(struct tbl *, int (*callback)(struct tbl_node *, void *aux), void *aux); +struct tbl_node *tbl_next(struct tbl *, u32 *bucketp, u32 *objp); int tbl_n_buckets(struct tbl *); struct tbl *tbl_expand(struct tbl *);