flow_table.h (23dabf88abb48a866fdb19ee08ebcf1ddd9b1840) flow_table.h (63e7959c4b9bd6f791061c460a22d9ee32ae2240)
1/*
2 * Copyright (c) 2007-2013 Nicira, Inc.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of version 2 of the GNU General Public
6 * License as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful, but

--- 38 unchanged lines hidden (view full) ---

47
48struct flow_table {
49 struct table_instance __rcu *ti;
50 struct list_head mask_list;
51 unsigned long last_rehash;
52 unsigned int count;
53};
54
1/*
2 * Copyright (c) 2007-2013 Nicira, Inc.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of version 2 of the GNU General Public
6 * License as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful, but

--- 38 unchanged lines hidden (view full) ---

47
48struct flow_table {
49 struct table_instance __rcu *ti;
50 struct list_head mask_list;
51 unsigned long last_rehash;
52 unsigned int count;
53};
54
55extern struct kmem_cache *flow_stats_cache;
56
55int ovs_flow_init(void);
56void ovs_flow_exit(void);
57
58struct sw_flow *ovs_flow_alloc(void);
59void ovs_flow_free(struct sw_flow *, bool deferred);
60
61int ovs_flow_tbl_init(struct flow_table *);
62int ovs_flow_tbl_count(struct flow_table *table);

--- 21 unchanged lines hidden ---
57int ovs_flow_init(void);
58void ovs_flow_exit(void);
59
60struct sw_flow *ovs_flow_alloc(void);
61void ovs_flow_free(struct sw_flow *, bool deferred);
62
63int ovs_flow_tbl_init(struct flow_table *);
64int ovs_flow_tbl_count(struct flow_table *table);

--- 21 unchanged lines hidden ---