Home
last modified time | relevance | path

Searched refs:idnum (Results 1 – 11 of 11) sorted by relevance

/third_party/curl/tests/
Dserverhelp.pm104 my $idnum;
109 $idnum = ($3 && ($3 > 1)) ? $3 : 1;
115 $idnum = ($2 && ($2 > 1)) ? $2 : 1;
121 return($proto, $ipvnum, $idnum);
129 my ($proto, $ipver, $idnum) = @_;
140 $idnum = 1 if(not $idnum);
141 die "unsupported ID number: '$idnum'" unless($idnum &&
142 ($idnum =~ /^(\d+)$/));
143 $idnum = '' if($idnum <= 1);
145 return "${proto}${idnum}${ipver}";
[all …]
Dservers.pm222 for my $idnum ((1, 2, 3)) {
223 my $serv = servername_id("$proto$ssl", $ipvnum, $idnum);
225 $ipvnum, $idnum);
228 $ipvnum, $idnum);
237 for my $idnum ((1, 2)) {
238 my $serv = servername_id($proto, $ipvnum, $idnum);
240 $idnum);
243 $idnum);
454 my $idnum = ($2 && ($2 > 1)) ? $2 : 1;
456 killsockfilters("$LOGDIR/$PIDDIR", $proto, $ipvnum, $idnum, $verbose);
[all …]
Dhttp-server.pl49 my $idnum = 1; # default http server instance number
138 $idnum = $1 if($1 > 0);
162 $pidfile = server_pidfilename($piddir, $proto, $ipvnum, $idnum);
165 $portfile = server_portfilename($piddir, $proto, $ipvnum, $idnum);
171 $logfile = server_logfilename($logdir, $proto, $ipvnum, $idnum);
Dprocesshelp.pm342 my ($piddir, $proto, $ipvnum, $idnum, $verbose, $which) = @_;
352 $server = servername_id($proto, $ipvnum, $idnum) if($verbose);
355 $pidfile = mainsockf_pidfilename($piddir, $proto, $ipvnum, $idnum);
369 $pidfile = datasockf_pidfilename($piddir, $proto, $ipvnum, $idnum);
389 for my $idnum (('1', '2')) {
390 killsockfilters($piddir, $proto, $ipvnum, $idnum, $verbose);
Drtspserver.pl46 my $idnum = 1; # default rtsp server instance number
102 $idnum = $1 if($1 > 0);
120 $pidfile = server_pidfilename($path, $proto, $ipvnum, $idnum);
126 $logfile = server_logfilename($logdir, $proto, $ipvnum, $idnum);
Dtftpserver.pl46 my $idnum = 1; # default tftp server instance number
103 $idnum = $1 if($1 > 0);
120 $pidfile = server_pidfilename($path, $proto, $ipvnum, $idnum);
123 $logfile = server_logfilename($logdir, $proto, $ipvnum, $idnum);
Dftpserver.pl91 my $idnum = 1; # server instance number
209 killsockfilters($piddir, $proto, $ipvnum, $idnum, $verbose);
384 killsockfilters($piddir, $proto, $ipvnum, $idnum, $verbose);
399 killsockfilters($piddir, $proto, $ipvnum, $idnum, $verbose);
429 killsockfilters($piddir, $proto, $ipvnum, $idnum, $verbose);
2487 killsockfilters($piddir, $proto, $ipvnum, $idnum, $verbose, 'data');
2531 killsockfilters($piddir, $proto, $ipvnum, $idnum, $verbose, 'data');
2570 killsockfilters($piddir, $proto, $ipvnum, $idnum, $verbose, 'data');
2640 killsockfilters($piddir, $proto, $ipvnum, $idnum, $verbose, 'data');
2664 killsockfilters($piddir, $proto, $ipvnum, $idnum, $verbose, 'data');
[all …]
Dsecureserver.pl70 my $idnum = 1; # default stunneled server instance number
145 $idnum = $1 if($1 > 0);
190 $pidfile = server_pidfilename($piddir, $proto, $ipvnum, $idnum);
193 $logfile = server_logfilename($logdir, $proto, $ipvnum, $idnum);
Dsshserver.pl97 my $idnum = 1; # default ssh daemon instance number
138 $idnum = $1 if($1 > 0);
205 $pidfile = server_pidfilename($piddir, $proto, $ipvnum, $idnum);
211 $sshdlog = server_logfilename($logdir, 'ssh', $ipvnum, $idnum);
212 $sftplog = server_logfilename($logdir, 'sftp', $ipvnum, $idnum);
/third_party/ltp/testcases/kernel/containers/userns/
Dcommon.h15 static inline void updatemap(int cpid, int type, int idnum, int parentmappid) in updatemap() argument
33 sprintf(content, "%d %d 1", idnum, parentmappid); in updatemap()
Duserns_helper.h43 LTP_ATTRIBUTE_UNUSED static int updatemap(int cpid, bool type, int idnum, in updatemap() argument
57 sprintf(content, "%d %d 1", idnum, parentmappid); in updatemap()