LCOV - code coverage report
Current view: top level - vnsw/agent/pkt/flow_mgmt - flow_mgmt_key_node.h (source / functions) Hit Total Coverage
Test: OpenSDN C/C++ coverage (all TARGET_SET jobs) Lines: 4 4 100.0 %
Date: 2026-11-09 02:10:49 Functions: 5 5 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * Copyright (c) 2015 Juniper Networks, Inc. All rights reserved.
       3             :  * Copyright Contributors to the OpenSDN project
       4             :  */
       5             : 
       6             : #ifndef __AGENT_PKT_FLOW_MGMT_KEY_NODE_H__
       7             : #define __AGENT_PKT_FLOW_MGMT_KEY_NODE_H__
       8             : 
       9             : #include <cstdlib>
      10             : #include <boost/intrusive/list_hook.hpp>
      11             : 
      12             : class FlowEntry;
      13             : 
      14             : class FlowMgmtKeyNode {
      15             : public:
      16        2010 :     FlowMgmtKeyNode() : flow_(NULL) { }
      17        1201 :     FlowMgmtKeyNode(FlowEntry *fe) : flow_(fe) { }
      18        6422 :     virtual ~FlowMgmtKeyNode() { }
      19         201 :     FlowEntry *flow_entry() const { return flow_; }
      20             : 
      21             : private:
      22             :     friend class FlowMgmtEntry;
      23             :     FlowEntry *flow_;
      24             :     boost::intrusive::list_member_hook<> hook_;
      25             : };
      26             : 
      27             : #endif // __AGENT_PKT_FLOW_MGMT_KEY_NODE_H__

Generated by: LCOV version 1.14