LCOV - code coverage report
Current view: top level - vnsw/agent/services - icmp_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/icmp_proto.h>
       9             : 
      10           2 : IcmpProto::IcmpProto(Agent *agent, boost::asio::io_context &io) :
      11           2 :     Proto(agent, "Agent::Services", PktHandler::ICMP, io) {
      12             :     // limit the number of entries in the workqueue
      13           2 :     work_queue_.SetSize(agent->params()->services_queue_limit());
      14           2 :     work_queue_.SetBounded(true);
      15           2 : }
      16             : 
      17           4 : IcmpProto::~IcmpProto() {
      18           4 : }
      19             : 
      20           0 : ProtoHandler *IcmpProto::AllocProtoHandler(boost::shared_ptr<PktInfo> info,
      21             :                                            boost::asio::io_context &io) {
      22           0 :     return new IcmpHandler(agent(), info, io);
      23             : }

Generated by: LCOV version 1.14