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-08-03 02:19:58 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             :  */
       4             : 
       5             : #ifndef __AGENT_PKT_FLOW_MGMT_KEY_NODE_H__
       6             : #define __AGENT_PKT_FLOW_MGMT_KEY_NODE_H__
       7             : 
       8             : #include <cstdlib>
       9             : #include <boost/intrusive/list_hook.hpp>
      10             : 
      11             : class FlowEntry;
      12             : 
      13             : class FlowMgmtKeyNode {
      14             : public:
      15         648 :     FlowMgmtKeyNode() : flow_(NULL) { }
      16         485 :     FlowMgmtKeyNode(FlowEntry *fe) : flow_(fe) { }
      17        2266 :     virtual ~FlowMgmtKeyNode() { }
      18         144 :     FlowEntry *flow_entry() const { return flow_; }
      19             : 
      20             : private:
      21             :     friend class FlowMgmtEntry;
      22             :     FlowEntry *flow_;
      23             :     boost::intrusive::list_member_hook<> hook_;
      24             : };
      25             : 
      26             : #endif // __AGENT_PKT_FLOW_MGMT_KEY_NODE_H__

Generated by: LCOV version 1.14