/freebsd/contrib/ofed/libibmad/ |
H A D | resolve.c | 142 int ib_resolve_portid_str_via(ib_portid_t * portid, char *addr_str, in ib_resolve_portid_str_via() argument 157 lid = strtol(addr_str, 0, 0); in ib_resolve_portid_str_via() 165 if (str2drpath(&portid->drpath, addr_str, 0, 0) < 0) { in ib_resolve_portid_str_via() 172 if (!(guid = strtoull(addr_str, 0, 0))) { in ib_resolve_portid_str_via() 181 lid = strtol(addr_str, &routepath, 0); in ib_resolve_portid_str_via() 200 if (inet_pton(AF_INET6, addr_str, &gid) <= 0) in ib_resolve_portid_str_via() 211 int ib_resolve_portid_str(ib_portid_t * portid, char *addr_str, in ib_resolve_portid_str() argument 214 return ib_resolve_portid_str_via(portid, addr_str, dest_type, in ib_resolve_portid_str()
|
H A D | mad.h | 1728 MAD_EXPORT int ib_resolve_portid_str(ib_portid_t * portid, char *addr_str, 1743 MAD_EXPORT int ib_resolve_portid_str_via(ib_portid_t * portid, char *addr_str,
|
/freebsd/sys/tests/fib_lookup/ |
H A D | fib_lookup.c | 75 add_addr(int family, char *addr_str) in add_addr() argument 83 if (inet_pton(AF_INET, addr_str, &addr) != 1) in add_addr() 97 inet_ntop(AF_INET, &addr, addr_str, sizeof(addr_str)); in add_addr() 103 if (inet_pton(AF_INET6, addr_str, &addr6) != 1) in add_addr() 117 inet_ntop(AF_INET6, &addr6, addr_str, sizeof(addr_str)); in add_addr() 126 char addr_str[INET6_ADDRSTRLEN]; in add_addr_sysctl_handler() local 129 bzero(addr_str, sizeof(addr_str)); in add_addr_sysctl_handler() 131 error = sysctl_handle_string(oidp, addr_str, sizeof(addr_str), req); in add_addr_sysctl_handler() 135 error = add_addr(family, addr_str); in add_addr_sysctl_handler()
|
/freebsd/sbin/ifconfig/ |
H A D | af_inet.c | 268 in_getip(const char *addr_str, struct in_addr *ip) in in_getip() argument 273 if (inet_aton(addr_str, ip)) in in_getip() 275 if ((hp = gethostbyname(addr_str)) != NULL) in in_getip() 278 else if ((np = getnetbyname(addr_str)) != NULL) in in_getip() 281 errx(1, "%s: bad value", addr_str); in in_getip()
|
H A D | af_inet6.c | 427 in6_getaddr(const char *addr_str, int which) in in6_getaddr() argument 435 if((p = strrchr(addr_str, '/')) != NULL) { in in6_getaddr() 448 int error = getaddrinfo(addr_str, NULL, &hints, &res); in in6_getaddr() 450 if (inet_pton(AF_INET6, addr_str, &px->addr) != 1) in in6_getaddr() 451 errx(1, "%s: bad value", addr_str); in in6_getaddr()
|
/freebsd/contrib/ofed/infiniband-diags/src/ |
H A D | ibdiag_common.c | 689 char *addr_str, enum MAD_DEST dest_type, in resolve_portid_str() argument 703 lid = strtol(addr_str, 0, 0); in resolve_portid_str() 709 if (str2drpath(&portid->drpath, addr_str, 0, 0) < 0) in resolve_portid_str() 714 if (!(guid = strtoull(addr_str, 0, 0))) in resolve_portid_str() 722 lid = strtol(addr_str, &routepath, 0); in resolve_portid_str() 738 if (inet_pton(AF_INET6, addr_str, &gid) <= 0) in resolve_portid_str()
|
H A D | ibdiag_common.h | 156 char *addr_str, enum MAD_DEST dest_type,
|
/freebsd/crypto/heimdal/appl/rsh/ |
H A D | rshd.c | 381 char addr_str[256]; in recv_krb5_auth() local 385 addr_str, sizeof(addr_str)) == NULL) in recv_krb5_auth() 386 strlcpy (addr_str, "unknown address", in recv_krb5_auth() 387 sizeof(addr_str)); in recv_krb5_auth() 392 addr_str, in recv_krb5_auth()
|
H A D | rsh.c | 612 char addr_str[256]; in print_addr() local 618 addr_str, sizeof(addr_str)); in print_addr() 622 addr_str, sizeof(addr_str)); in print_addr()
|
/freebsd/contrib/llvm-project/lldb/source/Host/posix/ |
H A D | ConnectionFileDescriptorPosix.cpp | 725 std::string addr_str = s.str(); in ConnectFile() 727 int fd = FileSystem::Instance().Open(addr_str.c_str(), O_RDWR); in ConnectFile() 728 std::string addr_str = s.str(); ConnectFile() local
|
/freebsd/crypto/heimdal/appl/ftp/ftp/ |
H A D | ftp.c | 1328 char addr_str[256]; in active_mode() local 1333 addr_str, sizeof(addr_str)) == NULL) in active_mode() 1354 inet_af, addr_str, in active_mode()
|
/freebsd/crypto/openssl/test/ |
H A D | ssl_old_test.c | 1926 char addr_str[40]; in doit_localhost() local 1940 BIO_snprintf(addr_str, sizeof(addr_str), ":%s", BIO_get_accept_port(acpt)); in doit_localhost() 1942 client = BIO_new_connect(addr_str); in doit_localhost()
|
/freebsd/sys/contrib/rdma/krping/ |
H A D | krping.c | 222 char *addr_str; /* dst addr string */ member 2023 cb->addr_str = optarg; in krping_doit() 2033 cb->addr_str = optarg; in krping_doit()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | ProcessGDBRemote.cpp | 2247 llvm::StringRef addr_str, bytes_str; in SetThreadStopInfo() local 2248 std::tie(addr_str, bytes_str) = value.split('='); in SetThreadStopInfo() 2249 if (!addr_str.empty() && !bytes_str.empty()) { in SetThreadStopInfo() 2251 if (!addr_str.getAsInteger(0, mem_cache_addr)) { in SetThreadStopInfo()
|