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-11-09 02:10:49 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             :  * Copyright Contributors to the OpenSDN project
       4             :  */
       5             : 
       6             : #include <cmn/agent_cmn.h>
       7             : #include <init/agent_init.h>
       8             : #include <services/icmpv6_error_proto.h>
       9             : #include <services/icmpv6_error_handler.h>
      10             : 
      11           2 : Icmpv6ErrorProto::Icmpv6ErrorProto(Agent *agent, boost::asio::io_context &io) :
      12           2 :     Proto(agent, "Agent::Services", PktHandler::ICMPV6_ERROR, io) {
      13             :     // limit the number of entries in the workqueue
      14           2 :     work_queue_.SetSize(agent->params()->services_queue_limit());
      15           2 :     work_queue_.SetBounded(true);
      16           2 : }
      17             : 
      18           4 : Icmpv6ErrorProto::~Icmpv6ErrorProto() {
      19           4 : }
      20             : 
      21           0 : ProtoHandler *Icmpv6ErrorProto::AllocProtoHandler(boost::shared_ptr<PktInfo> info,
      22             :                                                 boost::asio::io_context &io) {
      23           0 :     return new Icmpv6ErrorHandler(agent(), this, info, &io);
      24             : }
      25             : 

Generated by: LCOV version 1.14