Browse Source

MT#55283 Add ability to check xt_RTPENGINE params

at /sys/module/xt_RTPENGINE/parameters

closes #1729

Ref: https://github.com/sipwise/rtpengine/pull/1729
Change-Id: Iec44f51d7128ca200f839748b84f80939c428211
pull/1747/head
IgorG 2 years ago
committed by Richard Fuchs
parent
commit
c06f73fcc9
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      kernel-module/xt_RTPENGINE.c

+ 6
- 6
kernel-module/xt_RTPENGINE.c View File

@ -195,29 +195,29 @@ struct rtpengine_output;
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
static kuid_t proc_kuid;
static uint proc_uid = 0;
module_param(proc_uid, uint, 0);
module_param(proc_uid, uint, 0444);
MODULE_PARM_DESC(proc_uid, "rtpengine procfs tree user id");
static kgid_t proc_kgid;
static uint proc_gid = 0;
module_param(proc_gid, uint, 0);
module_param(proc_gid, uint, 0444);
MODULE_PARM_DESC(proc_gid, "rtpengine procfs tree group id");
static int proc_mask;
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,10,0)
module_param(proc_mask, hexint, 0);
module_param(proc_mask, hexint, 0444);
#else
module_param(proc_mask, uint, 0);
module_param(proc_mask, uint, 0444);
#endif
MODULE_PARM_DESC(proc_mask, "rtpengine procfs tree mode mask");
#endif
static uint stream_packets_list_limit = 10;
module_param(stream_packets_list_limit, uint, 0);
module_param(stream_packets_list_limit, uint, 0444);
MODULE_PARM_DESC(stream_packets_list_limit, "maximum number of packets to retain for intercept streams");
static bool log_errors = 0;
module_param(log_errors, bool, 0);
module_param(log_errors, bool, 0644);
MODULE_PARM_DESC(log_errors, "generate kernel log lines from forwarding errors");


Loading…
Cancel
Save