Home
last modified time | relevance | path

Searched refs:sun_path (Results 1 – 9 of 9) sorted by relevance

/curl/packages/OS400/
H A Dos400sys.c815 dstsize = sizeof(*dstaddr) - offsetof(struct sockaddr_un, sun_path); in sockaddr2ebcdic()
816 srclen -= offsetof(struct sockaddr_un, sun_path); in sockaddr2ebcdic()
817 i = QadrtConvertA2E(dstu->sun_path, srcu->sun_path, dstsize - 1, srclen); in sockaddr2ebcdic()
818 dstu->sun_path[i] = '\0'; in sockaddr2ebcdic()
819 srclen = i + offsetof(struct sockaddr_un, sun_path); in sockaddr2ebcdic()
854 dstsize = dstlen - offsetof(struct sockaddr_un, sun_path); in sockaddr2ascii()
855 srclen -= offsetof(struct sockaddr_un, sun_path); in sockaddr2ascii()
857 srclen = QadrtConvertE2A(dstu->sun_path, srcu->sun_path, in sockaddr2ascii()
859 dstu->sun_path[srclen] = '\0'; in sockaddr2ascii()
861 srclen += offsetof(struct sockaddr_un, sun_path); in sockaddr2ascii()
/curl/lib/
H A Dcurl_addrinfo.c480 if(path_len > sizeof(sa_un->sun_path)) { in Curl_unix2addr()
489 ((offsetof(struct sockaddr_un, sun_path) + path_len) & 0x7FFFFFFF); in Curl_unix2addr()
493 memcpy(sa_un->sun_path + 1, path, path_len - 1); in Curl_unix2addr()
495 memcpy(sa_un->sun_path, path, path_len); /* copy NUL byte */ in Curl_unix2addr()
H A Dcurl_setup.h960 char sun_path[UNIX_PATH_MAX]; member
H A Dconnect.c273 msnprintf(addr, MAX_IPADR_LEN, "%s", su->sun_path); in Curl_addr2string()
/curl/tests/server/
H A Dutil.c845 if(len >= sizeof(sau->sun_path) - 1) { in bind_unix_socket()
849 strcpy(sau->sun_path, unix_socket); in bind_unix_socket()
H A Dsocksd.c1037 if(strlen(unix_socket) >= sizeof(sau.sun_path)) { in main()
1040 sizeof(sau.sun_path), unix_socket); in main()
H A Dsws.c2084 if(strlen(unix_socket) >= sizeof(me.sau.sun_path)) { in main()
2087 sizeof(me.sau.sun_path), unix_socket); in main()
/curl/
H A DCMakeLists.txt1329 check_struct_has_member("struct sockaddr_un" "sun_path" "sys/un.h" USE_UNIX_SOCKETS)
H A Dconfigure.ac4644 AC_CHECK_MEMBER([struct sockaddr_un.sun_path], [

Completed in 41 milliseconds