finding all accel-ppp config module options from source code even not mentioned in documentation

L2TP related questions
Post Reply
haniaro
Posts: 12
Joined: 29 Dec 2019, 14:18

finding all accel-ppp config module options from source code even not mentioned in documentation

Post by haniaro » 29 Dec 2019, 20:09

after unzipping source code folder from https://github.com/xebd/accel-ppp
grep -rl "conf_get_opt" /path_to/accel-ppp-master
we can find all files in all subdir contains this "conf_get_opt"
for example :
/path_to/accel-ppp-master/accel-pppd/ctrl/l2tp/l2tp.c is one of the results of grep command
afte that we will do :
grep conf_get_opt /path_to/accel-ppp-master/accel-pppd/ctrl/l2tp/l2tp.c
this will result:
opt = conf_get_opt("l2tp", "bind");
opt = conf_get_opt("l2tp", "port");
opt = conf_get_opt("l2tp", "bind");
opt = conf_get_opt("l2tp", "verbose");
opt = conf_get_opt("l2tp", "use-ephemeral-ports");
opt = conf_get_opt("l2tp", "hide-avps");
opt = conf_get_opt("l2tp", "dataseq");
opt = conf_get_opt("l2tp", "reorder-timeout");
opt = conf_get_opt("l2tp", "avp_permissive");
opt = conf_get_opt("l2tp", "hello-interval");
opt = conf_get_opt("l2tp", "timeout");
opt = conf_get_opt("l2tp", "rtimeout");
opt = conf_get_opt("l2tp", "rtimeout-cap");
opt = conf_get_opt("l2tp", "retransmit");
opt = conf_get_opt("l2tp", "recv-window");
opt = conf_get_opt("l2tp", "ppp-max-mtu");
opt = conf_get_opt("l2tp", "host-name");
opt = conf_get_opt("l2tp", "secret");
opt = conf_get_opt("l2tp", "dir300_quirk");
opt = conf_get_opt("l2tp", "mppe");
conf_ip_pool = conf_get_opt("l2tp", "ip-pool");
conf_ifname = conf_get_opt("l2tp", "ifname");
no we have all options of the module [l2tp] :mrgreen:

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest