Lines Matching refs:ip
930 posix_sock_create(const char *ip, int port,
957 if (ip == NULL) {
960 if (ip[0] == '[') {
961 snprintf(buf, sizeof(buf), "%s", ip + 1);
966 ip = (const char *) &buf[0];
976 rc = getaddrinfo(ip, portnum, &hints, &res0);
1003 "run before starting spdk app.\n", ip);
1122 posix_sock_listen(const char *ip, int port, struct spdk_sock_opts *opts)
1124 return posix_sock_create(ip, port, SPDK_SOCK_CREATE_LISTEN, opts, false);
1128 posix_sock_connect(const char *ip, int port, struct spdk_sock_opts *opts)
1130 return posix_sock_create(ip, port, SPDK_SOCK_CREATE_CONNECT, opts, false);
2272 ssl_sock_listen(const char *ip, int port, struct spdk_sock_opts *opts)
2274 return posix_sock_create(ip, port, SPDK_SOCK_CREATE_LISTEN, opts, true);
2278 ssl_sock_connect(const char *ip, int port, struct spdk_sock_opts *opts)
2280 return posix_sock_create(ip, port, SPDK_SOCK_CREATE_CONNECT, opts, true);