Home
last modified time | relevance | path

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

/external/curl/tests/
Dserverhelp.pm105 my ($proto, $ipver, $idnum) = @_;
111 $ipver = (not $ipver) ? 'ipv4' : lc($ipver);
112 die "unsupported IP version: '$ipver'" unless($ipver &&
113 ($ipver =~ /^(4|6|ipv4|ipv6|-ipv4|-ipv6|unix)$/));
114 $ipver = ($ipver =~ /6$/) ? '-IPv6' : (($ipver =~ /unix$/) ? '-unix' : '');
121 return "${proto}${idnum}${ipver}";
129 my ($proto, $ipver, $idnum) = @_;
130 return lc(servername_str($proto, $ipver, $idnum));
138 my ($proto, $ipver, $idnum) = @_;
139 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/progs/
Dtest_seg6_loop.c58 uint8_t *ipver; in get_srh() local
62 ipver = (uint8_t *)cursor; in get_srh()
64 if ((void *)ipver + sizeof(*ipver) > data_end) in get_srh()
67 if ((*ipver >> 4) != 6) in get_srh()
Dtest_lwt_seg6local.c58 uint8_t *ipver; in get_srh() local
62 ipver = (uint8_t *)cursor; in get_srh()
64 if ((void *)ipver + sizeof(*ipver) > data_end) in get_srh()
67 if ((*ipver >> 4) != 6) in get_srh()
/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_l3_drops.sh355 local ipver=$1; shift
361 )"$ipver"$( : IP version
379 local ipver=$1; shift
394 payload=$(ipv4_payload_get $ipver $ihl $checksum)
409 local ipver=$1; shift
413 )"$ipver"$( : IP version
428 local ipver=$1; shift
441 payload=$(ipv6_payload_get $ipver)
/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.c348 long ipver = conn->ip_version; in bindlocal() local
361 conn->ip_version = ipver; in bindlocal()
Durldata.h1703 long ipver; /* the CURL_IPRESOLVE_* defines in the public header file member
Dsetopt.c2251 data->set.ipver = arg; in Curl_vsetopt()
Durl.c1698 conn->ip_version = data->set.ipver; in allocate_conn()