view release on metacpan or search on metacpan
local/lib/perl5/IO/Async/OS.pm view on Meta::CPAN
=head2 getfamilybyname
$family = IO::Async::OS->getfamilybyname( $name )
Return a protocol family value based on the given name. If C<$name> looks like
a number it will be returned as-is. The string values C<inet>, C<inet6> and
C<unix> will be converted to the appropriate C<AF_*> constant.
=cut
sub getfamilybyname
local/lib/perl5/IO/Async/OS.pm view on Meta::CPAN
return undef unless defined $name;
return $name if $name =~ m/^\d+$/;
return AF_INET if $name eq "inet";
return AF_INET6() if $name eq "inet6" and defined &AF_INET6;
return AF_UNIX if $name eq "unix";
croak "Unrecognised socket family name '$name'";
}
local/lib/perl5/IO/Async/OS.pm view on Meta::CPAN
my $ip = delete $ai->{ip} || "0.0.0.0";
return pack_sockaddr_in( $port, inet_aton( $ip ) );
}
=item family => 'inet6'
Will pack an IP address and port number from keys called C<ip> and C<port>.
If C<ip> is missing it will be set to "::". If C<port> is missing it will be
set to 0. Optionally will also include values from C<scopeid> and C<flowinfo>
keys if provided.
local/lib/perl5/IO/Async/OS.pm view on Meta::CPAN
This will only work if a C<pack_sockaddr_in6> function can be found in
C<Socket>
=cut
sub _extract_addrinfo_inet6
{
my $self = shift;
my ( $ai ) = @_;
my $port = delete $ai->{port} || 0;
view all matches for this distribution
view release on metacpan or search on metacpan
corpus/alien_build_plugin_fetch_wget/record/old.json view on Meta::CPAN
{"-k --content-disposition -S http://localhost/corpus/alien_build_plugin_fetch_wget/dir/foo-1.01.tar":{"stderr":"--2021-05-12 00:10:35-- http://localhost/corpus/alien_build_plugin_fetch_wget/dir/foo-1.01.tar\nResolving localhost (localhost)... ::1, ...
view all matches for this distribution
view release on metacpan or search on metacpan
libcares/ares_getaddrinfo.c view on Meta::CPAN
case 'b':
/* DNS lookup */
hquery->remaining_lookups = p + 1;
if ((hquery->hints.ai_family == AF_INET6) ||
(hquery->hints.ai_family == AF_UNSPEC)) {
/* if inet6 or unspec, start out with AAAA */
hquery->sent_family = AF_INET6;
ares_search(hquery->channel, hquery->name, C_IN, T_AAAA,
host_callback, hquery);
}
else {
view all matches for this distribution
view release on metacpan or search on metacpan
libuv/src/unix/aix-common.c view on Meta::CPAN
}
int uv_interface_addresses(uv_interface_address_t** addresses, int* count) {
uv_interface_address_t* address;
int sockfd, inet6, size = 1;
struct ifconf ifc;
struct ifreq *ifr, *p, flg;
struct sockaddr_dl* sa_addr;
*count = 0;
libuv/src/unix/aix-common.c view on Meta::CPAN
if (!(p->ifr_addr.sa_family == AF_INET6 ||
p->ifr_addr.sa_family == AF_INET))
continue;
inet6 = (p->ifr_addr.sa_family == AF_INET6);
memcpy(flg.ifr_name, p->ifr_name, sizeof(flg.ifr_name));
if (ioctl(sockfd, SIOCGIFFLAGS, &flg) == -1) {
uv__close(sockfd);
return UV_ENOSYS;
libuv/src/unix/aix-common.c view on Meta::CPAN
/* All conditions above must match count loop */
address->name = uv__strdup(p->ifr_name);
if (inet6)
address->address.address6 = *((struct sockaddr_in6*) &p->ifr_addr);
else
address->address.address4 = *((struct sockaddr_in*) &p->ifr_addr);
sa_addr = (struct sockaddr_dl*) &p->ifr_addr;
libuv/src/unix/aix-common.c view on Meta::CPAN
if (ioctl(sockfd, SIOCGIFNETMASK, p) == -1) {
uv__close(sockfd);
return UV_ENOSYS;
}
if (inet6)
address->netmask.netmask6 = *((struct sockaddr_in6*) &p->ifr_addr);
else
address->netmask.netmask4 = *((struct sockaddr_in*) &p->ifr_addr);
address->is_internal = flg.ifr_flags & IFF_LOOPBACK ? 1 : 0;
view all matches for this distribution
view release on metacpan or search on metacpan
Annelidous/Connector/Xen.pm view on Meta::CPAN
#print join " ", @exec;
$self->transport()->exec(@exec);
# Configure IPv6 router IP for vif (no proxy arp here, we give a whole subnet)
if ($guest->{'ip6router'}) {
my @exec2=("ifconfig","inet6","add",$guest->{username},$guest->{ip6router});
#print join " ", @exec2;
$self->transport->exec(@exec2);
}
}
Annelidous/Connector/Xen.pm view on Meta::CPAN
#print "\n";
$self->transport()->exec(@exec);
# Configure IPv6 router IP for vif (no proxy arp here, we give a whole subnet)
if ($guest->{'ip6router'}) {
my @exec2=("ifconfig",$guest->{username},"inet6","add",$guest->{ip6router});
$self->transport->exec(@exec2);
}
}
sub destroy {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/AnyEvent/DNS.pm view on Meta::CPAN
} elsif (/^attempts:(\d+)$/) {
$attempts = $1;
} elsif (/^ndots:(\d+)$/) {
$self->{ndots} = $1;
} else {
# debug, rotate, no-check-names, inet6
}
}
} else {
# silently skip stuff we don't understand
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/Logmonster/Utility.pm view on Meta::CPAN
my $once = 0;
TRY:
my @ips = grep {/inet/} `$ifconfig`; chomp @ips;
@ips = grep {!/inet6/} @ips if $p{exclude_ipv6};
@ips = grep {!/inet 127\.0\.0/} @ips if $p{exclude_localhost};
@ips = grep {!/inet (192\.168\.|10\.|172\.16\.|169\.254\.)/} @ips
if $p{exclude_internals};
# this keeps us from failing if the box has only internal IPs
view all matches for this distribution
view release on metacpan or search on metacpan
scripts/network-interface-info.pl view on Meta::CPAN
# Query DHCP-information (if any is available)
my $dhclient = Net::ISC::DHCPClient->new(
leases_path => \@paths_to_attempt,
interface => $if->{name},
af => ['inet', 'inet6']
);
# IPv4
my $ipv4_addrs = $info->{Net::Interface->af_inet()}->{number};
$ipv4_addrs = 0 if (!$ipv4_addrs);
printf("IPv4 addrs = %d\n", $ipv4_addrs);
my @v4addresses = $if->address(Net::Interface->af_inet());
my @v6addresses = $if->address(Net::Interface->af_inet6());
print " addr = ", Net::Interface::inet_ntoa($v4addresses[0]), "\n",
" broadcast = ", Net::Interface::inet_ntoa($if->broadcast(Net::Interface->af_inet())), "\n",
" netmask = ", Net::Interface::inet_ntoa($if->netmask(Net::Interface->af_inet())), "\n";
if ($dhclient->is_dhcp('inet')) {
my $lease = @{$dhclient->leases_af_inet()}[0];
scripts/network-interface-info.pl view on Meta::CPAN
print("lease is expired\n");
}
}
# IPv6
my $ipv6_addrs = $info->{Net::Interface->af_inet6()}->{number};
$ipv6_addrs = 0 if (!$ipv6_addrs);
printf("IPv6 addrs = %d\n", $ipv6_addrs);
my $addrNro = 0;
foreach my $ip (@v6addresses) {
++$addrNro;
my $prefix = unpack('%B128', $if->netmask(Net::Interface->af_inet6()));
my $scope = '-something-unknown-';
$scope = RFC2373_NODELOCAL if ($if->scope() == 0x1);
$scope = RFC2373_LINKLOCAL if ($if->scope() == 0x2);
$scope = RFC2373_SITELOCAL if ($if->scope() == 0x5);
$scope = RFC2373_ORGLOCAL if ($if->scope() == 0x8);
scripts/network-interface-info.pl view on Meta::CPAN
$addrNro,
ipV6compress(full_inet_ntop($ip)), $prefix,
$scope, join(', ', @types)
);
}
if ($dhclient->is_dhcp('inet6')) {
print " is DHCP, ";
my $now = time();
my $lease = @{$dhclient->leases_af_inet6()}[0];
my $starts = $lease->starts('non-temporary');
my $max_life = $lease->max_life('non-temporary');
if ($starts + $max_life >= $now) {
printf("lease will expire at: %s,\n now is: %s\n",
POSIX::strftime("%F %H:%M:%S", localtime($starts + $max_life)),
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/MatrixTool.pm view on Meta::CPAN
sub sock_family
{
my $self = shift;
return AF_INET if $self->{inet4};
return AF_INET6 if $self->{inet6};
return AF_UNSPEC;
}
sub _pkg_for_command
{
lib/App/MatrixTool.pm view on Meta::CPAN
my @args = @_;
my %global_opts;
$opt_parser->getoptionsfromarray( \@args,
'inet4|4' => \$global_opts{inet4},
'inet6|6' => \$global_opts{inet6},
'print-request' => \$global_opts{print_request},
'print-response' => \$global_opts{print_response},
) or return 1;
my $cmd = @args ? shift @args : "help";
lib/App/MatrixTool.pm view on Meta::CPAN
}
my $GLOBAL_OPTS = <<'EOF';
Global options:
-4 --inet4 Use only IPv4
-6 --inet6 Use only IPv6
--print-request Print sent HTTP requests in full
--print-response Print received HTTP responses in full
EOF
sub help_summary
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Regather/Config.pm view on Meta::CPAN
use App::Regather::Plugin;
use constant LDAP => { opt => { async => '',
debug => '',
inet4 => '',
inet6 => '',
keepalive => '',
localaddr => '',
multihomed => '',
onerror => '',
port => 'port',
lib/App/Regather/Config.pm view on Meta::CPAN
[ldap opt]
async = NUMBER :default 0
debug = NUMBER :default 0
inet4 = STRING
inet6 = STRING
keepalive = STRING
localaddr = STRING
multihomed = STRING
onerror = STRING
port = STRING
view all matches for this distribution
view release on metacpan or search on metacpan
t/data/05-junos.input view on Meta::CPAN
Output packets: 4911228
Protocol inet, MTU: 1500
Flags: Is-Primary, User-MTU
Addresses, Flags: Is-Default Is-Preferred Is-Primary
Destination: 192.0.2.48/28, Local: 192.0.2.49, Broadcast: 192.0.2.63
Protocol inet6, MTU: 1500
Max nh cache: 20000, New hold nh limit: 20000, Curr nh cnt: 0, Curr new hold cnt: 0,
NH drop cnt: 0
Flags: Is-Primary, User-MTU
Addresses, Flags: Is-Default Is-Preferred Is-Primary
Destination: f00:ba7::/120, Local: f00:ba7::5
t/data/05-junos.input view on Meta::CPAN
pimd up up
pime up up
tap up up
vlan up up
vlan.102 up up inet 192.0.2.49/28
inet6 f00:ba7::5/120
fe80::f00:ba7:6841/64
vme up down
{master:1}
user@swXX> show interfaces brief
t/data/05-junos.input view on Meta::CPAN
Device flags : Present Running
Logical interface vlan.102
Flags: Up SNMP-Traps 0x4000 Encapsulation: ENET2
inet 192.0.2.49/28
inet6 f00:ba7::5/120
fe80::f00:ba7:6841/64
Physical interface: vme, Enabled, Physical link is Down
Type: Mgmt-VLAN, Link-level type: Mgmt-VLAN, MTU: 1518, Clocking: Unspecified,
Speed: 1000mbps
t/data/05-junos.input view on Meta::CPAN
Interface Admin Link Proto Local Remote
ge-0/0/0 up down
ge-0/0/0.0 up down eth-switch
pfe-0/0/0 up up
pfe-0/0/0.16383 up up inet
inet6
pfh-0/0/0 up up
pfh-0/0/0.16383 up up inet
pfh-0/0/0.16384 up up inet
ge-0/0/1 up down
ge-0/0/1.0 up down eth-switch
t/data/05-junos.input view on Meta::CPAN
lsq-0/0/0 up up
lt-0/0/0 up up
mt-0/0/0 up up
sp-0/0/0 up up
sp-0/0/0.0 up up inet
inet6
sp-0/0/0.16383 up up inet 10.0.0.1 --> 10.0.0.16
esi up up
fti0 up up
fxp0 up down
gre up up
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Slaughter/Info/freebsd.pm view on Meta::CPAN
# Parse the output of /sbin/ifconfig.
#
foreach my $line ( split( /[\r\n]/, `ifconfig` ) )
{
chomp($line);
next unless ( $line =~ /(inet|inet6)/ );
if ( $line =~ /inet ([^ \t]+)/ )
{
my $addr = $1;
next if ( $addr =~ /^127\./i );
$ref->{ 'ip_' . $ipv4 } = $addr;
$ipv4 += 1;
}
if ( $line =~ /inet6 ([^ \t]+)/ )
{
my $addr = $1;
next if ( $addr =~ /fe80/i );
$ref->{ 'ip6_' . $ipv6 } = $addr;
$ipv6 += 1;
view all matches for this distribution
view release on metacpan or search on metacpan
t/data/build.fresh.log view on Meta::CPAN
t/cert_no_file.t .................. ok
t/cert_formats.t .................. ok
t/core.t .......................... ok
t/dhe.t ........................... ok
t/ecdhe.t ......................... ok
t/io-socket-inet6.t ............... skipped: no IO::Socket::INET6 available
t/io-socket-ip.t .................. ok
t/memleak_bad_handshake.t ......... ok
t/npn.t ........................... ok
# -- test: newINET start_SSL stop_SSL start_SSL
# server accepted new client
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/remarkpl/public/remark.min.js view on Meta::CPAN
beginKeywords:"class interface",end:/[{;=]/,illegal:/[^\s:]/,contains:[e.TITLE_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",end:/[{;=]/,illegal:/[^\s:]/,contains:[e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),...
},a={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},r={className:"symbol",variants:[{begin:/\=[lgenxc]=/},{begin:/\$/}]},s={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[e.BACKSL...
},{begin:":\\s*"+t}]}]}}},{name:"hsp",create:function(e){return{case_insensitive:!0,lexemes:/[\w\._]+/,keywords:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mca...
},contains:[t,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[t,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,r]},{className:"function",begin:"\\bend\\s+",e...
contains:[{className:"comment",begin:/\(\*/,end:/\*\)/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{begin:/\{/,end:/\}/,illegal:/:/}]}}},{name:"matlab",create:function(e){var t=[e.C_NUMBER_MODE,{className:"string",begin:"'",end:"'",contai...
illegal:"</",contains:[e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:"[\\$\\%\\@](\\^\\w\\b|#\\w+|[^\\s\\w{]|{\\w+}|\\w+)"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_M...
contains:[i]});return{aliases:["ps"],lexemes:/-?[A-z\.\-]+/,case_insensitive:!0,keywords:{keyword:"if else foreach return function do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try...
},{className:"meta",begin:"#\\!?\\[",end:"\\]",contains:[{className:"meta-string",begin:/"/,end:/"/}]},{className:"class",beginKeywords:"type",end:";",contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{endsParent:!0})],illegal:"\\S"},{className:"class",beg...
literal:"true false nil"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.NUMBER_MODE,a,t.preprocessor],illegal:/#/}}},{name:"sql",create:function(e){var t=e.COMMENT("--","$");return{case_insensitive:!0,illegal:/[<>{}*#]/,contains:[{beginKey...
return{aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+o.join("|")+")",contains:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+i,returnBegin:!0,cont...
built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx...
"atelier-lakeside-light":".hljs-atelier-lakeside-light .hljs-comment,.hljs-atelier-lakeside-light .hljs-quote{color:#5a7b8c}.hljs-atelier-lakeside-light .hljs-variable,.hljs-atelier-lakeside-light .hljs-template-variable,.hljs-atelier-lakeside-light ...
grayscale:".hljs-grayscale .hljs{display:block;overflow-x:auto;padding:.5em;color:#333;background:#fff}.hljs-grayscale .hljs-comment,.hljs-grayscale .hljs-quote{color:#777;font-style:italic}.hljs-grayscale .hljs-keyword,.hljs-grayscale .hljs-selector...
"solarized-dark":".hljs-solarized-dark .hljs{display:block;overflow-x:auto;padding:.5em;background:#002b36;color:#839496}.hljs-solarized-dark .hljs-comment,.hljs-solarized-dark .hljs-quote{color:#586e75}.hljs-solarized-dark .hljs-keyword,.hljs-solari...
view all matches for this distribution
view release on metacpan or search on metacpan
share/revealjs/plugin/highlight/highlight.esm.js view on Meta::CPAN
function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,t){if(!(...
/*!
* reveal.js plugin that adds syntax highlight support.
*/
var of={id:"highlight",HIGHLIGHT_STEP_DELIMITER:"|",HIGHLIGHT_LINE_DELIMITER:",",HIGHLIGHT_LINE_RANGE_DELIMITER:"-",hljs:rf,init:function(e){var t=e.getConfig().highlight||{};t.highlightOnLoad="boolean"!=typeof t.highlightOnLoad||t.highlightOnLoad,t....
view all matches for this distribution
view release on metacpan or search on metacpan
mpg123/Makefile view on Meta::CPAN
IPV6LIBDIR=
IPV6LIB=
### KAME stack
#IPV6LIBDIR=-L/usr/local/v6/lib
#IPV6LIB=-linet6
### BSD/OS 4.0 (NRL) stack
#IPV6LIBDIR=
#IPV6LIB=
### Linux stack
#IPV6LIBDIR= #/usr/inet6/lib
#IPV6LIB= #-linet6
###################################################
###### ######
###### End of user-configurable settings ######
###### ######
view all matches for this distribution
view release on metacpan or search on metacpan
ramblings/remark.js view on Meta::CPAN
require=function(e,t,n){function i(n,s){if(!t[n]){if(!e[n]){var o=typeof require=="function"&&require;if(!s&&o)return o(n,!0);if(r)return r(n,!0);throw new Error("Cannot find module '"+n+"'")}var u=t[n]={exports:{}};e[n][0].call(u.exports,function(t)...
this.QUOTE_STRING_MODE={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[this.BACKSLASH_ESCAPE]};this.PHRASAL_WORDS_MODE={begin:/\b(a|an|the|are|I|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such)...
SUBST.contains=EXPRESSIONS;return{aliases:["coffee","cson","iced"],keywords:KEYWORDS,contains:EXPRESSIONS.concat([{className:"comment",begin:"###",end:"###"},hljs.HASH_COMMENT_MODE,{className:"function",begin:"("+JS_IDENT_RE+"\\s*=\\s*)?(\\(.*\\))?\\...
}()},{}],8:[function(require,module,exports){exports.addClass=function(element,className){element.className=exports.getClasses(element).concat([className]).join(" ")};exports.removeClass=function(element,className){element.className=exports.getClasse...
events.on("slideChanged",updateHash);navigateByHash()}function navigateByHash(){var slideNoOrName=(dom.getLocationHash()||"").substr(1);events.emit("gotoSlide",slideNoOrName)}function updateHash(slideNoOrName){dom.setLocationHash("#"+slideNoOrName)}}...
view all matches for this distribution
view release on metacpan or search on metacpan
lib/BGPmon/CPM/Prefix/Finder.pm view on Meta::CPAN
my $source = shift;
my $netname = shift;
my $ua = LWP::UserAgent->new;
my $res = $ua->get("http://apps.db.ripe.net/whois/grs-search?" .
"&type-filter=inetnum&type-filter=inet6num" .
"&source=$source-grs&query-string=$netname" .
"&flags=Cr",'Accept'=>'application/json');
my $res_struct = decode_json($res->content);
print Dumper($res_struct);
}
view all matches for this distribution
view release on metacpan or search on metacpan
#include <netinet/in.h>
#include <netinet/ip_var.h>
#include <netinet/udp.h>
#include <netinet/udp_var.h>
#include <netinet6/raw_ip6.h>
#include "bsd-sysctl.h"
int
_init_iterator(HV *self, int *mib, int *miblenp, int valid) {
SV **headp;
view all matches for this distribution
view release on metacpan or search on metacpan
configure.sh view on Meta::CPAN
fi
if test x"$enable_ipv6" != x"no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking ipv6 stack type" >&5
$as_echo_n "checking ipv6 stack type... " >&6; }
for i in inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta cygwin; do
case $i in
inria)
# http://www.kame.net/
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
configure.sh view on Meta::CPAN
fi
rm -f conftest*
;;
linux-inet6)
# http://www.v6.linux.or.jp/
if test -d /usr/inet6 -o -f /usr/inet6/lib/libinet6.a; then
ipv6type=$i
ipv6lib=inet6
ipv6libdir=/usr/inet6/lib
ipv6trylibc=yes;
$as_echo "#define INET6 1" >>confdefs.h
CFLAGS="-I/usr/inet6/include $CFLAGS"
fi
;;
solaris)
# http://www.sun.com
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
configure.sh view on Meta::CPAN
#endif
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "yes" >/dev/null 2>&1; then :
ipv6type=$i;
ipv6lib=inet6;
ipv6libdir=/usr/local/v6/lib;
$as_echo "#define INET6 1" >>confdefs.h
fi
configure.sh view on Meta::CPAN
#endif
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "yes" >/dev/null 2>&1; then :
ipv6type=$i;
ipv6lib=inet6;
ipv6libdir=/usr/local/v6/lib;
$as_echo "#define INET6 1" >>confdefs.h
fi
configure.sh view on Meta::CPAN
return getaddrinfo ();
;
return 0;
}
_ACEOF
for ac_lib in '' inet6; do
if test -z "$ac_lib"; then
ac_res="none required"
else
ac_res=-l$ac_lib
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
view all matches for this distribution
view release on metacpan or search on metacpan
xt/js/uri.js view on Meta::CPAN
0;d<c;d++)if(a.charAt(d)!==b.charAt(d)){d--;break}if(1>d)return a.charAt(0)===b.charAt(0)&&"/"===a.charAt(0)?"/":"";if("/"!==a.charAt(d)||"/"!==b.charAt(d))d=a.substring(0,d).lastIndexOf("/");return a.substring(0,d+1)};d.withinString=function(a,b){re...
a+"' contains characters other than [A-Z0-9.-]");}};e.build=function(a){if(!0===a)this._deferred_build=!0;else if(void 0===a||this._deferred_build)this._string=d.build(this._parts),this._deferred_build=!1;return this};e.clone=function(){return new d(...
b;this.build(!c);return this}};for(h in k)e[h]=q(k[h]);k={query:"?",fragment:"#"};q=function(a,b){return function(c,d){if(void 0===c)return this._parts[a]||"";null!==c&&(c+="",c.charAt(0)===b&&(c=c.substring(1)));this._parts[a]=c;this.build(!d);retur...
a||!0===a){var c=this._parts.path||(this._parts.urn?"":"/");return a?d.decodePath(c):c}this._parts.path=a?d.recodePath(a):"/";this.build(!b);return this};e.path=e.pathname;e.href=function(a,b){var c;if(void 0===a)return this.toString();this._string="...
c)&&(this._parts[c]=f[c]);else throw new TypeError("invalid input");this.build(!b);return this};e.is=function(a){var b=!1,c=!1,f=!1,g=!1,e=!1,m=!1,j=!1,h=!this._parts.urn;this._parts.hostname&&(h=!1,c=d.ip4_expression.test(this._parts.hostname),f=d.i...
case "domain":case "name":return g;case "sld":return e;case "ip":return b;case "ip4":case "ipv4":case "inet4":return c;case "ip6":case "ipv6":case "inet6":return f;case "idn":return m;case "url":return!this._parts.urn;case "urn":return!!this._parts.u...
return x.call(this,a,b)};e.scheme=e.protocol;e.port=function(a,b){if(this._parts.urn)return void 0===a?"":this;if(void 0!==a&&(0===a&&(a=null),a&&(a+="",":"===a.charAt(0)&&(a=a.substring(1)),a.match(/[^0-9]/))))throw new TypeError("Port '"+a+"' conta...
a?"":this;if(void 0===a)return this._parts.hostname?d.buildHost(this._parts):"";d.parseHost(a,this._parts);this.build(!b);return this};e.authority=function(a,b){if(this._parts.urn)return void 0===a?"":this;if(void 0===a)return this._parts.hostname?d....
c.length-1)}"@"!==a[a.length-1]&&(a+="@");d.parseUserinfo(a,this._parts);this.build(!b);return this};e.resource=function(a,b){var c;if(void 0===a)return this.path()+this.search()+this.hash();c=d.parse(a);this._parts.path=c.path;this._parts.query=c.qu...
1;return this._parts.hostname.substring(0,c)||""}c=this._parts.hostname.length-this.domain().length;c=this._parts.hostname.substring(0,c);c=RegExp("^"+n(c));a&&"."!==a.charAt(a.length-1)&&(a+=".");a&&d.ensureValidHostname(a);this._parts.hostname=this...
if(c&&2>c.length)return this._parts.hostname;c=this._parts.hostname.length-this.tld(b).length-1;c=this._parts.hostname.lastIndexOf(".",c-1)+1;return this._parts.hostname.substring(c)||""}if(!a)throw new TypeError("cannot set domain empty");d.ensureVa...
view all matches for this distribution
view release on metacpan or search on metacpan
t/data/build.fresh.log view on Meta::CPAN
t/cert_no_file.t .................. ok
t/cert_formats.t .................. ok
t/core.t .......................... ok
t/dhe.t ........................... ok
t/ecdhe.t ......................... ok
t/io-socket-inet6.t ............... skipped: no IO::Socket::INET6 available
t/io-socket-ip.t .................. ok
t/memleak_bad_handshake.t ......... ok
t/npn.t ........................... ok
# -- test: newINET start_SSL stop_SSL start_SSL
# server accepted new client
view all matches for this distribution
view release on metacpan or search on metacpan
src/Reachability.h view on Meta::CPAN
#import <Foundation/Foundation.h>
#import <SystemConfiguration/SystemConfiguration.h>
#import <sys/socket.h>
#import <netinet/in.h>
#import <netinet6/in6.h>
#import <arpa/inet.h>
#import <ifaddrs.h>
#import <netdb.h>
/**
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Complete/Host.pm view on Meta::CPAN
for my $line (@lines) {
if ($line =~ /^\s*inet addr:(\S+)/) {
log_trace("[comphost] Adding %s", $1) if $COMPLETE_HOST_TRACE;
$hosts{$1}++;
}
if ($line =~ m!^\s*inet6 addr:\s*(\S+?)(?:/\d+)?(?=\s)!) {
log_trace("[comphost] Adding %s", $1) if $COMPLETE_HOST_TRACE;
$hosts{$1}++;
}
}
last IFCONFIG;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Config/Model/models/Ssh/HostElement.pl view on Meta::CPAN
'AddressFamily',
{
'choice' => [
'any',
'inet',
'inet6'
],
'description' => 'Specifies which address family
to use when connecting. Valid arguments are B<any> (the
default), B<inet> (use IPv4 only), or B<inet6> (use
IPv6 only).Specifies which address family
to use when connecting. Valid arguments are B<any> (the
default), B<inet> (use IPv4 only), or B<inet6> (use
IPv6 only).',
'type' => 'leaf',
'upstream_default' => 'any',
'value_type' => 'enum'
},
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Config/Model/Manual/ModelCreationIntroduction.pod view on Meta::CPAN
To know which attributes to use, you should read the
documentation of the target application.
For instance, C<AddressFamily> parameter (sshd_config(5)) is specified
with: I<Specifies which address family should be used by sshd(8).
Valid arguments are "any", "inet" (use IPv4 only), or "inet6" (use
IPv6 only). The default is "any".>
For Config::Model, C<AddressFamily> is a type C<leaf> element,
value_type C<enum> and the application falls back to C<any> if this
parameter is left blank in C<sshd_config> file.
lib/Config/Model/Manual/ModelCreationIntroduction.pod view on Meta::CPAN
AddressFamily => {
type => 'leaf',
value_type => 'enum',
upstream_default => 'any',
description => 'Specifies which address family should be used by sshd(8).',
choice => [ 'any', 'inet', 'inet6' ]
}
=head2 Simple list or hash element
Some configuration parameters are in fact a list or a hash of
view all matches for this distribution
view release on metacpan or search on metacpan
test_data/big.log view on Meta::CPAN
2010-12-14 13:56:20 startup archives unpack
2010-12-14 13:56:29 install libsocket6-perl <keine> 0.23-1
2010-12-14 13:56:29 status half-installed libsocket6-perl 0.23-1
2010-12-14 13:56:30 status unpacked libsocket6-perl 0.23-1
2010-12-14 13:56:30 status unpacked libsocket6-perl 0.23-1
2010-12-14 13:56:30 install libio-socket-inet6-perl <keine> 2.65-1
2010-12-14 13:56:30 status half-installed libio-socket-inet6-perl 2.65-1
2010-12-14 13:56:30 status triggers-pending man-db 2.5.7-7
2010-12-14 13:56:30 status half-installed libio-socket-inet6-perl 2.65-1
2010-12-14 13:56:30 status unpacked libio-socket-inet6-perl 2.65-1
2010-12-14 13:56:30 status unpacked libio-socket-inet6-perl 2.65-1
2010-12-14 13:56:30 install libmail-spf-perl <keine> 2.007-1
2010-12-14 13:56:30 status half-installed libmail-spf-perl 2.007-1
2010-12-14 13:56:30 status half-installed libmail-spf-perl 2.007-1
2010-12-14 13:56:31 status unpacked libmail-spf-perl 2.007-1
2010-12-14 13:56:31 status unpacked libmail-spf-perl 2.007-1
test_data/big.log view on Meta::CPAN
2010-12-14 13:56:45 startup packages configure
2010-12-14 13:56:45 configure libsocket6-perl 0.23-1 0.23-1
2010-12-14 13:56:45 status unpacked libsocket6-perl 0.23-1
2010-12-14 13:56:45 status half-configured libsocket6-perl 0.23-1
2010-12-14 13:56:45 status installed libsocket6-perl 0.23-1
2010-12-14 13:56:46 configure libio-socket-inet6-perl 2.65-1 2.65-1
2010-12-14 13:56:46 status unpacked libio-socket-inet6-perl 2.65-1
2010-12-14 13:56:46 status half-configured libio-socket-inet6-perl 2.65-1
2010-12-14 13:56:46 status installed libio-socket-inet6-perl 2.65-1
2010-12-14 13:56:46 configure libmail-spf-perl 2.007-1 2.007-1
2010-12-14 13:56:46 status unpacked libmail-spf-perl 2.007-1
2010-12-14 13:56:46 status half-configured libmail-spf-perl 2.007-1
2010-12-14 13:56:46 status installed libmail-spf-perl 2.007-1
2010-12-14 13:56:46 configure re2c 0.13.5-1 0.13.5-1
view all matches for this distribution
view release on metacpan or search on metacpan
share/assets/dash_core_components/async~highlight.js view on Meta::CPAN
(window.webpackJsonpdash_core_components=window.webpackJsonpdash_core_components||[]).push([[3],{669:function(e,n,a){var t,s,r;s=function(e){var n,a=[],t=Object.keys,s={},r={},i=!0,l=/^(no-?highlight|plain|text)$/i,o=/\blang(?:uage)?-([\w-]+)\b/i,c=/...
//# sourceMappingURL=async~highlight.js.map
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Device/Network/ConfigParser/Linux/NetUtils.pm view on Meta::CPAN
config_line:
ifconfig(s) { { ifconfig => $item{'ifconfig(s)'} } } |
not_parsed { $item[1] }
ifconfig:
interface encap hw_addr(?) inet(?) inet6(s?) flag(s) mtu if_metric rx_stats tx_stats rx_bytes tx_bytes {
{
interface => $item{interface},
encapsulation => $item{encap},
hw_addr => $item{'hw_addr(?)'},
inet => $item{'inet(?)'},
inet6 => $item{'inet6(s?)'},
flags => $item{'flag(s)'},
mtu => $item{mtu},
metric => $item{if_metric},
rx_stats => $item{rx_stats},
tx_stats => $item{tx_stats},
lib/Device/Network/ConfigParser/Linux/NetUtils.pm view on Meta::CPAN
}
inet_addr: 'inet addr:' ipv4 { $item{ipv4} }
inet_bcast: 'Bcast:' ipv4 { $item{ipv4} }
inet_mask: 'Mask:' netmask { $item{netmask} }
inet6: inet6_addr inet6_mask inet6_scope {
{
address => $item{inet6_addr},
mask => $item{inet6_mask},
scope => $item{inet6_scope}
}
}
inet6_addr: 'inet6 addr:' ipv6 { $item{ipv6} }
inet6_mask: '/' m{\d{1,3}} { $item{__PATTERN1__} }
inet6_scope: 'Scope:' m{\w+} { $item{__PATTERN1__} }
flag: m{UP|BROADCAST|RUNNING|MULTICAST|LOOPBACK} { $item{__PATTERN1__} }
mtu: 'MTU:' m{\d+} { $item{__PATTERN1__} }
if_metric: 'Metric:' m{\d+} { $item{__PATTERN1__} }
rx_stats: 'RX packets:' m{\d+} 'errors:' m{\d+} 'dropped:' m{\d+} 'overruns:' m{\d+} 'frame:' m{\d+} {
view all matches for this distribution