LCOV - code coverage report
Current view: top level - vnsw/agent/services - icmpv6_error_proto.cc (source / functions) Hit Total Coverage
Test: OpenSDN C/C++ coverage (all TARGET_SET jobs) Lines: 7 9 77.8 %
Date: 2026-08-03 02:19:58 Functions: 3 4 75.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
       3             :  */
       4             : 
       5             : #include <cmn/agent_cmn.h>
       6             : #include <init/agent_init.h>
       7             : #include <services/icmpv6_error_proto.h>
       8             : #include <services/icmpv6_error_handler.h>
       9             : 
      10           1 : Icmpv6ErrorProto::Icmpv6ErrorProto(Agent *agent, boost::asio::io_context &io) :
      11           1 :     Proto(agent, "Agent::Services", PktHandler::ICMPV6_ERROR, io) {
      12             :     // limit the number of entries in the workqueue
      13           1 :     work_queue_.SetSize(agent->params()->services_queue_limit());
      14           1 :     work_queue_.SetBounded(true);
      15           1 : }
      16             : 
      17           2 : Icmpv6ErrorProto::~Icmpv6ErrorProto() {
      18           2 : }
      19             : 
      20           0 : ProtoHandler *Icmpv6ErrorProto::AllocProtoHandler(boost::shared_ptr<PktInfo> info,
      21             :                                                 boost::asio::io_context &io) {
      22           0 :     return new Icmpv6ErrorHandler(agent(), this, info, &io);
      23             : }
      24             : 

Generated by: LCOV version 1.14