/dports/net/ntp/ntp-4.2.8p15/sntp/m4/ |
H A D | ntp_af_unspec.m4 | 2 dnl AF_UNSPEC checks 11 #ifndef AF_UNSPEC 12 #include "Bletch: AF_UNSPEC is undefined!" 14 #if AF_UNSPEC != 0 15 #include "Bletch: AF_UNSPEC != 0" 18 [AC_MSG_NOTICE([AF_UNSPEC is zero, as expected.])], 19 [AC_MSG_ERROR([AF_UNSPEC is not zero on this platform!])]
|
/dports/devel/libvirt/libvirt-7.10.0/tests/ |
H A D | sockettest.c | 93 if (virSocketAddrParse(&saddr, saddrstr, AF_UNSPEC) < 0) in testRange() 95 if (virSocketAddrParse(&eaddr, eaddrstr, AF_UNSPEC) < 0) in testRange() 140 if (virSocketAddrParse(&addr1, addr1str, AF_UNSPEC) < 0) in testNetmask() 142 if (virSocketAddrParse(&addr2, addr2str, AF_UNSPEC) < 0) in testNetmask() 144 if (virSocketAddrParse(&netmask, netmaskstr, AF_UNSPEC) < 0) in testNetmask() 181 if (virSocketAddrParse(&addr, addrstr, AF_UNSPEC) < 0) in testMaskNetwork() 214 if (virSocketAddrParse(&addr, addrstr, AF_UNSPEC) < 0) in testWildcard() 359 DO_TEST_PARSE_AND_FORMAT("127.0.0.1", AF_UNSPEC, true); in mymain() 363 DO_TEST_PARSE_AND_FORMAT("127.0.0.256", AF_UNSPEC, false); in mymain() 375 DO_TEST_PARSE_AND_FORMAT("::1", AF_UNSPEC, true); in mymain() [all …]
|
/dports/dns/nss_mdns/nss-mdns-99c2f1c/src/ |
H A D | nss.c | 43 if (af == AF_INET || af == AF_UNSPEC) { in do_avahi_resolve_name() 60 if (af == AF_INET6 || af == AF_UNSPEC) { in do_avahi_resolve_name() 92 if (af == AF_UNSPEC) { in _nss_mdns_gethostbyname_impl() 98 if (af == AF_UNSPEC) { in _nss_mdns_gethostbyname_impl() 108 if (af != AF_INET && af != AF_INET6 && af != AF_UNSPEC) in _nss_mdns_gethostbyname_impl() 163 _nss_mdns_gethostbyname_impl(name, AF_UNSPEC, &u, errnop, h_errnop); in _nss_mdns_gethostbyname4_r() 186 if (af == AF_UNSPEC) { in _nss_mdns_gethostbyname3_r() 217 return _nss_mdns_gethostbyname2_r(name, AF_UNSPEC, result, buffer, buflen, in _nss_mdns_gethostbyname_r()
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llgo/third_party/gofrontend/libgo/go/syscall/ |
H A D | route_bsd_test.go | 20 for _, param := range []int{syscall.AF_UNSPEC, syscall.AF_INET, syscall.AF_INET6} { 72 if param == syscall.AF_UNSPEC && len(msgs) > 0 && !ipv4loopback && !ipv6loopback { 85 s, err := syscall.Socket(syscall.AF_ROUTE, syscall.SOCK_RAW, syscall.AF_UNSPEC) 126 case syscall.AF_UNSPEC: 199 family := syscall.AF_UNSPEC 206 if family == syscall.AF_UNSPEC { 213 if family == syscall.AF_UNSPEC {
|
/dports/lang/yap/yap-6.2.2/C/ |
H A D | ypsocks.c | 78 #ifndef AF_UNSPEC 79 #define AF_UNSPEC 0 macro 82 #define AF_LOCAL AF_UNSPEC 85 #define AF_AAL5 AF_UNSPEC 91 #define AF_AX25 AF_UNSPEC 100 #define AF_FILE AF_UNSPEC 103 #define AF_INET AF_UNSPEC 109 #define AF_IPX AF_UNSPEC 130 #define AF_ROSE AF_UNSPEC 139 #define AF_SNA AF_UNSPEC [all …]
|
/dports/www/trafficserver/trafficserver-9.1.1/iocore/net/unit_tests/ |
H A D | test_ProxyProtocol.cc | 76 CHECK(pp_info.ip_family == AF_UNSPEC); 88 CHECK(pp_info.ip_family == AF_UNSPEC); 210 CHECK(pp_info.ip_family == AF_UNSPEC); 235 CHECK(pp_info.ip_family == AF_UNSPEC); 292 CHECK(pp_info.ip_family == AF_UNSPEC); 315 CHECK(pp_info.ip_family == AF_UNSPEC); 338 CHECK(pp_info.ip_family == AF_UNSPEC); 361 CHECK(pp_info.ip_family == AF_UNSPEC); 384 CHECK(pp_info.ip_family == AF_UNSPEC); 405 CHECK(pp_info.ip_family == AF_UNSPEC); [all …]
|
/dports/lang/gcc6-aux/gcc-6-20180516/libgo/go/syscall/ |
H A D | route_bsd_test.go | 20 for _, param := range []int{syscall.AF_UNSPEC, syscall.AF_INET, syscall.AF_INET6} { 72 if param == syscall.AF_UNSPEC && len(msgs) > 0 && !ipv4loopback && !ipv6loopback { 85 s, err := syscall.Socket(syscall.AF_ROUTE, syscall.SOCK_RAW, syscall.AF_UNSPEC) 161 case syscall.AF_UNSPEC: 234 family := syscall.AF_UNSPEC 241 if family == syscall.AF_UNSPEC { 248 if family == syscall.AF_UNSPEC {
|
/dports/lang/gnat_util/gcc-6-20180516/libgo/go/syscall/ |
H A D | route_bsd_test.go | 20 for _, param := range []int{syscall.AF_UNSPEC, syscall.AF_INET, syscall.AF_INET6} { 72 if param == syscall.AF_UNSPEC && len(msgs) > 0 && !ipv4loopback && !ipv6loopback { 85 s, err := syscall.Socket(syscall.AF_ROUTE, syscall.SOCK_RAW, syscall.AF_UNSPEC) 161 case syscall.AF_UNSPEC: 234 family := syscall.AF_UNSPEC 241 if family == syscall.AF_UNSPEC { 248 if family == syscall.AF_UNSPEC {
|
/dports/mail/mailutils/mailutils-3.13/libmailutils/sockaddr/ |
H A D | url.c | 45 { "inet", AF_UNSPEC }, 66 hints.family = AF_UNSPEC; in mu_sockaddr_from_url() 71 if (hints.family == AF_UNSPEC) in mu_sockaddr_from_url() 119 if (hints.family == AF_UNSPEC) in mu_sockaddr_from_url()
|
/dports/devel/caf/actor-framework-0.18.5/libcaf_io/src/io/network/ |
H A D | interfaces.cpp | 63 return AF_UNSPEC; in fetch_addr_str() 69 : AF_UNSPEC; in fetch_addr_str() 88 retval = GetAdaptersAddresses(AF_UNSPEC, GAA_FLAG_INCLUDE_PREFIX, nullptr, in for_each_address() 116 if (family != AF_UNSPEC) in for_each_address() 137 if (family != AF_UNSPEC) in for_each_address() 220 if (family != AF_UNSPEC) in native_address() 237 hint.ai_family = AF_UNSPEC; in server_address() 250 if (family != AF_UNSPEC) { in server_address() 284 if (i->ai_family != AF_UNSPEC) { in get_endpoint()
|
/dports/net/py-kafka-python/kafka-python-1.4.5/test/ |
H A D | test_client.py | 40 sorted([('kafka01', 9092, socket.AF_UNSPEC), ('kafka02', 9092, socket.AF_UNSPEC), 41 ('kafka03', 9092, socket.AF_UNSPEC)]), 49 sorted([('kafka01', 9092, socket.AF_UNSPEC), ('kafka02', 9092, socket.AF_UNSPEC), 50 ('kafka03', 9092, socket.AF_UNSPEC)]), 58 sorted([('kafka01', 9092, socket.AF_UNSPEC), ('kafka02', 9092, socket.AF_UNSPEC), 59 ('kafka03', 9092, socket.AF_UNSPEC)]),
|
/dports/net/frr7-pythontools/frr-frr-7.5.1/nhrpd/ |
H A D | nhrp_nhs.c | 51 proto = sockunion_family(&cie_proto) != AF_UNSPEC in nhrp_reg_reply() 66 sockunion_family(&nifp->nat_nbma) = AF_UNSPEC; in nhrp_reg_reply() 109 if (r->timeout >= 16 && sockunion_family(&r->proto_addr) != AF_UNSPEC) { in nhrp_reg_timeout() 115 sockunion_family(&r->proto_addr) = AF_UNSPEC; in nhrp_reg_timeout() 176 if (sockunion_family(dst_proto) == AF_UNSPEC) in nhrp_reg_send_req() 185 if (sockunion_family(&if_ad->addr) == AF_UNSPEC) in nhrp_reg_send_req() 311 if (sockunion_family(proto_addr) != AF_UNSPEC in nhrp_nhs_add() 317 if (sockunion_family(&nhs->proto_addr) != AF_UNSPEC in nhrp_nhs_add() 318 && sockunion_family(proto_addr) != AF_UNSPEC in nhrp_nhs_add() 349 if (sockunion_family(proto_addr) != AF_UNSPEC in nhrp_nhs_del()
|
/dports/net/frr7/frr-frr-7.5.1/nhrpd/ |
H A D | nhrp_nhs.c | 51 proto = sockunion_family(&cie_proto) != AF_UNSPEC in nhrp_reg_reply() 66 sockunion_family(&nifp->nat_nbma) = AF_UNSPEC; in nhrp_reg_reply() 109 if (r->timeout >= 16 && sockunion_family(&r->proto_addr) != AF_UNSPEC) { in nhrp_reg_timeout() 115 sockunion_family(&r->proto_addr) = AF_UNSPEC; in nhrp_reg_timeout() 176 if (sockunion_family(dst_proto) == AF_UNSPEC) in nhrp_reg_send_req() 185 if (sockunion_family(&if_ad->addr) == AF_UNSPEC) in nhrp_reg_send_req() 311 if (sockunion_family(proto_addr) != AF_UNSPEC in nhrp_nhs_add() 317 if (sockunion_family(&nhs->proto_addr) != AF_UNSPEC in nhrp_nhs_add() 318 && sockunion_family(proto_addr) != AF_UNSPEC in nhrp_nhs_add() 349 if (sockunion_family(proto_addr) != AF_UNSPEC in nhrp_nhs_del()
|
/dports/net/quagga/quagga-1.2.4/nhrpd/ |
H A D | nhrp_nhs.c | 46 proto = sockunion_family(&cie_proto) != AF_UNSPEC ? &cie_proto : &p->src_proto; in nhrp_reg_reply() 59 sockunion_family(&nifp->nat_nbma) = AF_UNSPEC; in nhrp_reg_reply() 95 if (r->timeout >= 16 && sockunion_family(&r->proto_addr) != AF_UNSPEC) { in nhrp_reg_timeout() 99 sockunion_family(&r->proto_addr) = AF_UNSPEC; in nhrp_reg_timeout() 153 if (sockunion_family(dst_proto) == AF_UNSPEC) in nhrp_reg_send_req() 161 if (sockunion_family(&if_ad->addr) == AF_UNSPEC) in nhrp_reg_send_req() 275 if (sockunion_family(proto_addr) != AF_UNSPEC && in nhrp_nhs_add() 280 if (sockunion_family(&nhs->proto_addr) != AF_UNSPEC && in nhrp_nhs_add() 281 sockunion_family(proto_addr) != AF_UNSPEC && in nhrp_nhs_add() 311 if (sockunion_family(proto_addr) != AF_UNSPEC && in nhrp_nhs_del()
|
/dports/net/tcpreen/tcpreen-1.4.4/libsolve/ |
H A D | sockprot.h | 33 # ifndef AF_UNSPEC 34 # define AF_UNSPEC 0 macro 63 int flags = 0, int af = AF_UNSPEC,
|
/dports/dns/dnsforwarder/dnsforwarder-6.1.15/ |
H A D | addresslist.c | 63 return AF_UNSPEC; in AddressList_ConvertFromString() 114 return AF_UNSPEC; in AddressList_ConvertFromString() 123 if( AddressList_ConvertFromString(&Tmp, Addr_Port, DefaultPort) == AF_UNSPEC ) in AddressList_Add_From_String() 175 sa_family_t OneFamily = AF_UNSPEC; in AddressList_GetPtrListOfFamily() 229 (*families)[Itr] = AF_UNSPEC; in AddressList_GetPtrList()
|
/dports/devel/emscripten/emscripten-2.0.3/tests/ |
H A D | 799.cpp | 31 NetworkAddress(const char *hostname = "", uint16 port = 0, int family = AF_UNSPEC) in NetworkAddress() 50 case AF_UNSPEC: in GetPort() 70 case AF_UNSPEC: in SetPort()
|
/dports/www/py-tornado5/tornado-5.1.1/tornado/ |
H A D | netutil.py | 80 def bind_sockets(port, address=None, family=socket.AF_UNSPEC, 111 if not socket.has_ipv6 and family == socket.AF_UNSPEC: 282 res = socket.getaddrinfo(ip, 0, socket.AF_UNSPEC, 324 def resolve(self, host, port, family=socket.AF_UNSPEC, callback=None): 357 def _resolve_addr(host, port, family=socket.AF_UNSPEC): 376 def resolve(self, host, port, family=socket.AF_UNSPEC): 414 def resolve(self, host, port, family=socket.AF_UNSPEC): 503 def resolve(self, host, port, family=socket.AF_UNSPEC, *args, **kwargs):
|
/dports/devel/libpo6/libpo6-0.8.0/po6/net/ |
H A D | ipaddr.h | 143 : m_family(AF_UNSPEC) in ipaddr() 150 : m_family(AF_UNSPEC) in ipaddr() 158 : m_family(AF_UNSPEC) in ipaddr() 166 : m_family(AF_UNSPEC) in ipaddr() 174 : m_family(AF_UNSPEC) in ipaddr() 184 : m_family(AF_UNSPEC) in ipaddr() 213 if (m_family == AF_UNSPEC) in pack() 384 if (rhs.m_family == AF_UNSPEC)
|
/dports/security/tor/tor-0.4.6.8/src/test/ |
H A D | test_addr.c | 297 tt_int_op(tor_inet_pton(AF_UNSPEC, 0, 0),OP_EQ, -1); in test_addr_ip6_helpers() 462 t1.family = AF_UNSPEC; in test_addr_ip6_helpers() 471 AF_UNSPEC, 1); in test_addr_ip6_helpers() 474 AF_UNSPEC, 1); in test_addr_ip6_helpers() 490 AF_UNSPEC, 0); in test_addr_ip6_helpers() 553 t1.family = AF_UNSPEC; in test_addr_ip6_helpers() 684 tt_int_op(r,OP_EQ,AF_UNSPEC); in test_addr_ip6_helpers() 685 tt_int_op(tor_addr_family(&t1),OP_EQ,AF_UNSPEC); in test_addr_ip6_helpers() 1074 TEST_ADDR_LOOKUP_XFAIL(bad_str, AF_UNSPEC); \ 1093 TEST_HOST_LOOKUP(host_str, AF_UNSPEC); \ [all …]
|
/dports/security/tor-devel/tor-0.4.7.2-alpha/src/test/ |
H A D | test_addr.c | 297 tt_int_op(tor_inet_pton(AF_UNSPEC, 0, 0),OP_EQ, -1); in test_addr_ip6_helpers() 462 t1.family = AF_UNSPEC; in test_addr_ip6_helpers() 471 AF_UNSPEC, 1); in test_addr_ip6_helpers() 474 AF_UNSPEC, 1); in test_addr_ip6_helpers() 490 AF_UNSPEC, 0); in test_addr_ip6_helpers() 553 t1.family = AF_UNSPEC; in test_addr_ip6_helpers() 684 tt_int_op(r,OP_EQ,AF_UNSPEC); in test_addr_ip6_helpers() 685 tt_int_op(tor_addr_family(&t1),OP_EQ,AF_UNSPEC); in test_addr_ip6_helpers() 1074 TEST_ADDR_LOOKUP_XFAIL(bad_str, AF_UNSPEC); \ 1093 TEST_HOST_LOOKUP(host_str, AF_UNSPEC); \ [all …]
|
/dports/security/tor/tor-0.4.6.8/src/lib/net/ |
H A D | resolve.c | 93 if (family == AF_UNSPEC) { 200 tor_assert(family == AF_INET || family == AF_INET6 || family == AF_UNSPEC); 212 if (parsed_family == family || family == AF_UNSPEC) { 297 if (tor_addr_lookup(tmp, AF_UNSPEC, &addr) != 0) in tor_addr_port_lookup() 425 search.family = hints ? hints->ai_family : AF_UNSPEC; in tor_getaddrinfo() 438 item->family = hints ? hints->ai_family : AF_UNSPEC; in tor_getaddrinfo() 469 static const int families[] = { AF_INET, AF_INET6, AF_UNSPEC }; in tor_add_addrinfo()
|
/dports/security/tor-devel/tor-0.4.7.2-alpha/src/lib/net/ |
H A D | resolve.c | 93 if (family == AF_UNSPEC) { 200 tor_assert(family == AF_INET || family == AF_INET6 || family == AF_UNSPEC); 212 if (parsed_family == family || family == AF_UNSPEC) { 297 if (tor_addr_lookup(tmp, AF_UNSPEC, &addr) != 0) in tor_addr_port_lookup() 425 search.family = hints ? hints->ai_family : AF_UNSPEC; in tor_getaddrinfo() 438 item->family = hints ? hints->ai_family : AF_UNSPEC; in tor_getaddrinfo() 469 static const int families[] = { AF_INET, AF_INET6, AF_UNSPEC }; in tor_add_addrinfo()
|
/dports/www/py-tornado/tornado-6.1/tornado/ |
H A D | netutil.py | 58 family: socket.AddressFamily = socket.AF_UNSPEC, 92 if not socket.has_ipv6 and family == socket.AF_UNSPEC: 297 ip, 0, socket.AF_UNSPEC, socket.SOCK_STREAM, 0, socket.AI_NUMERICHOST 340 self, host: str, port: int, family: socket.AddressFamily = socket.AF_UNSPEC 375 host: str, port: int, family: socket.AddressFamily = socket.AF_UNSPEC 396 self, host: str, port: int, family: socket.AddressFamily = socket.AF_UNSPEC 442 self, host: str, port: int, family: socket.AddressFamily = socket.AF_UNSPEC 536 self, host: str, port: int, family: socket.AddressFamily = socket.AF_UNSPEC
|
/dports/lang/gcc8/gcc-8.5.0/libgo/go/net/ |
H A D | interface_freebsd.go | 15 rib, err := route.FetchRIB(syscall.AF_UNSPEC, typ, ifindex) 18 rib, err = route.FetchRIB(syscall.AF_UNSPEC, typ, ifindex) 29 rib, err := route.FetchRIB(syscall.AF_UNSPEC, syscall.NET_RT_IFMALIST, ifi.Index)
|