LCOV - code coverage report
Current view: top level - root/contrail/vrouter/dp-core - vr_response.c (source / functions) Hit Total Coverage
Test: OpenSDN C/C++ coverage (all TARGET_SET jobs) Lines: 0 7 0.0 %
Date: 2026-08-03 02:19:58 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * vr_response.c --
       3             :  *
       4             :  * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
       5             :  */
       6             : 
       7             : #include "vr_sandesh.h"
       8             : #include "vr_os.h"
       9             : #include "vr_types.h"
      10             : 
      11             : int vr_generate_response(vr_response *, int code, unsigned char *, int);
      12             : 
      13             : void
      14           0 : vr_response_process(void *s_req)
      15             : {
      16           0 : }
      17             : 
      18             : int
      19           0 : vr_generate_response(vr_response *resp, int code, unsigned char *buf,
      20             :         int buf_len)
      21             : {
      22             :     int ret;
      23             :     int error;
      24             : 
      25           0 :     resp->h_op = SANDESH_OP_RESPONSE;
      26           0 :     resp->resp_code = code;
      27             : 
      28           0 :     ret = sandesh_encode(resp, "vr_response", vr_find_sandesh_info,
      29             :                     buf, buf_len, &error);
      30           0 :     return ret;
      31             : }
      32             : 

Generated by: LCOV version 1.14