LCOV - code coverage report
Current view: top level - vnsw/agent/oper - interface_os_params.h (source / functions) Hit Total Coverage
Test: OpenSDN C/C++ coverage (all TARGET_SET jobs) Lines: 2 2 100.0 %
Date: 2026-08-03 02:19:58 Functions: 1 1 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * Copyright (c) 2018 Juniper Networks, Inc. All rights reserved.
       3             :  */
       4             : 
       5             : #ifndef vnsw_agent_interface_os_params_h
       6             : #define vnsw_agent_interface_os_params_h
       7             : 
       8             : #include <string>
       9             : #include <boost/optional.hpp>
      10             : #include <boost/uuid/uuid.hpp>
      11             : #include <net/mac_address.h>
      12             : 
      13             : struct InterfaceOsParams {
      14             :     typedef boost::uuids::uuid IfGuid;
      15             : 
      16             :     InterfaceOsParams() {}
      17        1270 :     InterfaceOsParams(const std::string &name, size_t os_index, bool state) :
      18        1270 :         name_(name), os_index_(os_index), os_oper_state_(state) {}
      19             : 
      20             :     std::string name_;
      21             :     MacAddress mac_;
      22             :     size_t os_index_;
      23             :     bool os_oper_state_;
      24             :     boost::optional<IfGuid> os_guid_;
      25             : };
      26             : 
      27             : #endif // vnsw_agent_interface_os_params_h

Generated by: LCOV version 1.14