/freebsd/lib/libc/inet/ |
H A D | inet_pton.c | 50 inet_pton(int af, const char * __restrict src, void * __restrict dst) in inet_pton() function 217 #undef inet_pton 218 __weak_reference(__inet_pton, inet_pton);
|
H A D | Symbol.map | 29 inet_pton;
|
H A D | Makefile.inc | 7 inet_pton.c nsap_addr.c
|
/freebsd/tests/sys/netinet/ |
H A D | sendto-IP_MULTICAST_IF.c | 47 if (inet_pton(AF_INET, argv[1], &in) != 1) in main() 55 assert(inet_pton(AF_INET, "233.252.0.1", &sin.sin_addr) == 1); in main()
|
H A D | udp_dontroute.c | 103 ret = inet_pton(AF_INET6, addr, &dst6->sin6_addr); in main() 110 ret = inet_pton(AF_INET, addr, &dst4->sin_addr); in main()
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | inet_pton.c | 41 inet_pton(int af, const char *csrc, void *dst) in inet_pton() function 107 inet_pton(int af, const char *src, void *dst) in inet_pton() function
|
/freebsd/lib/libcasper/services/cap_net/tests/ |
H A D | net_test.c | 72 inet_pton(family, ip, &ipaddr.sin_addr); in test_getnameinfo_v4() 101 inet_pton(AF_INET6, ip, &ipaddr.sin6_addr); in test_getnameinfo_v6() 138 inet_pton(AF_INET, ip, &ipaddr); in test_gethostbyaddr_v4() 160 inet_pton(AF_INET6, ip, &ipaddr); in test_gethostbyaddr_v6() 255 inet_pton(AF_INET, ip, &ipv4.sin_addr); in test_bind() 276 inet_pton(AF_INET, ip, &ipv4.sin_addr); in test_connect() 296 inet_pton(AF_INET, ip, &ipv4.sin_addr); in test_connect() 430 ret = inet_pton(AF_INET, TEST_IPV4, &sin.sin_addr); in ATF_TC_BODY() 544 inet_pton(AF_INET, TEST_IPV4, &ipaddrv4.sin_addr); in ATF_TC_BODY() 547 inet_pton(AF_INET6, TEST_IPV6, &ipaddrv6.sin6_addr); in ATF_TC_BODY() [all …]
|
/freebsd/contrib/blocklist/test/ |
H A D | cltest.c | 72 c = inet_pton(AF_INET6, a, &s6->sin6_addr); in getaddr() 78 c = inet_pton(AF_INET, a, &s->sin_addr); in getaddr()
|
/freebsd/tools/tools/mcgrab/ |
H A D | mcgrab.cc | 99 if (inet_pton(AF_INET, DEFAULT_GROUP, group) < 1) in grab() 172 if (inet_pton(AF_INET, optarg, group) < 1) in main()
|
/freebsd/contrib/ntp/libntp/ |
H A D | decodenetnum.c | 140 if (inet_pton(afam, haddr, &netnum.sa4.sin_addr) <= 0) in decodenetnum() 147 if (inet_pton(afam, haddr, &netnum.sa6.sin6_addr) <= 0) in decodenetnum()
|
H A D | ntp_rfc2553.c | 515 if (inet_pton(AF_INET6, nodename, in do_nodename() 527 if (inet_pton(AF_INET, nodename, in do_nodename() 551 if (inet_pton(AF_INET, nodename, in do_nodename()
|
/freebsd/include/arpa/ |
H A D | inet.h | 130 #define inet_pton __inet_pton macro 149 int inet_pton(int, const char * __restrict, void * __restrict);
|
/freebsd/sbin/ipf/libipf/ |
H A D | parsewhoisline.c | 51 if (inet_pton(AF_INET6, s, &a61.in6) != 1) in parsewhoisline() 59 if (inet_pton(AF_INET6, s, &a62) != 1) in parsewhoisline()
|
/freebsd/contrib/pf/authpf/ |
H A D | authpf.c | 130 if (inet_pton(AF_INET, ipsrc, &ina) != 1 && in main() 131 inet_pton(AF_INET6, ipsrc, &ina) != 1) { in main() 858 if (inet_pton(AF_INET, ip_src, &addr.pfra_ip4addr) == 1) { in change_table() 861 } else if (inet_pton(AF_INET6, ip_src, &addr.pfra_ip6addr) == 1) { in change_table() 895 if (inet_pton(AF_INET, ipsrc, &target.v4) == 1) in authpf_kill_states() 897 else if (inet_pton(AF_INET6, ipsrc, &target.v6) == 1) in authpf_kill_states() 900 syslog(LOG_ERR, "inet_pton(%s) failed", ipsrc); in authpf_kill_states()
|
/freebsd/contrib/ntp/libntp/lib/isc/unix/include/isc/ |
H A D | net.h | 353 #undef inet_pton 354 #define inet_pton isc_net_pton macro
|
/freebsd/usr.sbin/rpc.statd/ |
H A D | statd.c | 382 if (inet_pton(AF_INET, hosts[nhostsbak], in create_service() 389 if (inet_pton(AF_INET6, hosts[nhostsbak], in create_service() 397 if (inet_pton(AF_INET6, hosts[nhostsbak], in create_service() 404 if (inet_pton(AF_INET, hosts[nhostsbak], in create_service()
|
/freebsd/sbin/ping/ |
H A D | main.c | 123 if (inet_pton(AF_INET, optarg, &a) == 1) in main() 127 if (inet_pton(AF_INET6, optarg, &a6) == 1) in main()
|
/freebsd/usr.sbin/rpcbind/tests/ |
H A D | addrmerge_test.c | 141 ATF_REQUIRE_EQ(1, inet_pton(AF_INET6, addr, (void*)&in6->sin6_addr)); in mock_ifaddr6() 146 ATF_REQUIRE_EQ(1, inet_pton(AF_INET6, mask, in mock_ifaddr6() 152 ATF_REQUIRE_EQ(1, inet_pton(AF_INET6, bcast, in mock_ifaddr6() 384 ATF_REQUIRE_EQ(1, inet_pton(AF_INET6, "2001:db8::1", in do_addrmerge6() 414 ATF_REQUIRE_EQ(1, inet_pton(AF_INET6, "fe80::beef", in do_addrmerge6_ll()
|
/freebsd/tests/sys/net/routing/ |
H A D | rtsock_config.h | 86 inet_pton(AF_INET, buf, &c->net4.sin_addr); in config_setup() 110 inet_pton(AF_INET6, buf, &c->net6.sin6_addr); in config_setup()
|
/freebsd/contrib/openbsm/test/bsm/ |
H A D | generate.c | 322 inet_pton(AF_INET6, "fe80::1", subject32_tid_addr.at_addr); in generate_subject32ex_token() 349 inet_pton(AF_INET6, "fe80::1", subject32_tid_addr.at_addr); in generate_subject32ex_record() 416 inet_pton(AF_INET6, "fe80::1", process32_tid_addr.at_addr); in generate_process32ex_token() 443 inet_pton(AF_INET6, "fe80::1", process32_tid_addr.at_addr); in generate_process32ex_record() 510 inet_pton(AF_INET6, "fe80::1", process64_tid_addr.at_addr); in generate_process64ex_token() 537 inet_pton(AF_INET6, "fe80::1", process64_tid_addr.at_addr); in generate_process64ex_record()
|
/freebsd/tools/tools/mctest/ |
H A D | mctest.cc | 108 if (inet_pton(AF_INET, DEFAULT_GROUP, group) < 1) in sink() 308 if (inet_pton(AF_INET, DEFAULT_GROUP, group) < 1) in source() 468 if (inet_pton(AF_INET, optarg, group) < 1) in main()
|
/freebsd/lib/libunbound/ |
H A D | config.h | 1321 #define inet_pton inet_pton_unbound macro 1322 int inet_pton(int af, const char* src, void* dst); 1434 int inet_pton(int af, const char* src, void* dst);
|
/freebsd/sbin/ipf/common/ |
H A D | genmask.c | 26 if (inet_pton(AF_INET6, msk, &mskp->in4) != 1) in genmask()
|
/freebsd/contrib/sendmail/libsm/ |
H A D | t-inet6_ntop.c | 47 r = inet_pton(AF_INET6, ip, &addr.sin6_addr); in test()
|
/freebsd/usr.sbin/rpc.lockd/ |
H A D | lockd.c | 559 if (inet_pton(AF_INET, hosts[nhostsbak], in create_service() 566 if (inet_pton(AF_INET6, hosts[nhostsbak], in create_service() 575 if (inet_pton(AF_INET6, hosts[nhostsbak], in create_service() 582 if (inet_pton(AF_INET, hosts[nhostsbak], in create_service()
|