OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ksync_flow_index_manager.cc File Reference
#include <pkt/flow_proto.h>
#include <pkt/pkt_types.h>
#include <pkt/flow_entry.h>
#include <init/agent_param.h>
#include "ksync_flow_index_manager.h"
#include "flowtable_ksync.h"
#include "ksync_init.h"
Include dependency graph for ksync_flow_index_manager.cc:

Go to the source code of this file.

Macros

#define INDEX_LOCK(idx)
 

Macro Definition Documentation

#define INDEX_LOCK (   idx)
Value:
tbb::mutex tmp_mutex, *mutex_ptr;\
mutex_ptr = &tmp_mutex;\
} else {\
mutex_ptr = &index_list_[idx].mutex_;\
}\
tbb::mutex::scoped_lock lock(*mutex_ptr);
static const uint32_t kInvalidFlowHandle
Definition: flow_entry.h:521

Definition at line 12 of file ksync_flow_index_manager.cc.