Home
last modified time | relevance | path

Searched refs:ipver (Results 1 – 9 of 9) sorted by relevance

/external/curl/tests/
Dserverhelp.pm104 my ($proto, $ipver, $idnum) = @_;
110 $ipver = (not $ipver) ? 'ipv4' : lc($ipver);
111 die "unsupported IP version: '$ipver'" unless($ipver &&
112 ($ipver =~ /^(4|6|ipv4|ipv6|-ipv4|-ipv6|unix)$/));
113 $ipver = ($ipver =~ /6$/) ? '-IPv6' : (($ipver =~ /unix$/) ? '-unix' : '');
120 return "${proto}${idnum}${ipver}";
128 my ($proto, $ipver, $idnum) = @_;
129 return lc(servername_str($proto, $ipver, $idnum));
137 my ($proto, $ipver, $idnum) = @_;
138 my $string = lc(servername_str($proto, $ipver, $idnum));
[all …]
/external/ltp/testcases/kernel/containers/netns/
Dnetns_helper.h39 unsigned int ipver = 0; in check_iproute() local
46 n = fscanf(ipf, "ip utility, iproute2-ss%u", &ipver); in check_iproute()
51 if (ipver < spe_ipver) { in check_iproute()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_lwt_seg6local.c69 uint8_t *ipver; in get_srh() local
73 ipver = (uint8_t *)cursor; in get_srh()
75 if ((void *)ipver + sizeof(*ipver) > data_end) in get_srh()
78 if ((*ipver >> 4) != 6) in get_srh()
/external/tcpdump/
Dprint-mptcp.c333 u_int ipver = MP_ADD_ADDR_IPVER(add_addr->sub_ipver); in add_addr_print() local
335 if (!((opt_len == 8 || opt_len == 10) && ipver == 4) && in add_addr_print()
336 !((opt_len == 20 || opt_len == 22) && ipver == 6)) in add_addr_print()
340 switch (ipver) { in add_addr_print()
Dprint-nfs.c845 int ipver; /* IP version (4 or 6) */ member
893 xmep->ipver = 4; in xid_map_enter()
898 xmep->ipver = 6; in xid_map_enter()
928 if (xmep->ipver != IP_V(ip) || xmep->xid != xid) in xid_map_find()
930 switch (xmep->ipver) { in xid_map_find()
/external/curl/lib/
Dconnect.c350 long ipver = conn->ip_version; in bindlocal() local
363 conn->ip_version = ipver; in bindlocal()
Durldata.h1609 long ipver; /* the CURL_IPRESOLVE_* defines in the public header file member
Dsetopt.c2109 data->set.ipver = arg; in vsetopt()
Durl.c1921 conn->ip_version = data->set.ipver; in allocate_conn()