Searched refs:sun_path (Results 1 – 9 of 9) sorted by relevance
/curl/packages/OS400/ |
H A D | os400sys.c | 815 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 D | curl_addrinfo.c | 480 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 D | curl_setup.h | 960 char sun_path[UNIX_PATH_MAX]; member
|
H A D | connect.c | 273 msnprintf(addr, MAX_IPADR_LEN, "%s", su->sun_path); in Curl_addr2string()
|
/curl/tests/server/ |
H A D | util.c | 845 if(len >= sizeof(sau->sun_path) - 1) { in bind_unix_socket() 849 strcpy(sau->sun_path, unix_socket); in bind_unix_socket()
|
H A D | socksd.c | 1037 if(strlen(unix_socket) >= sizeof(sau.sun_path)) { in main() 1040 sizeof(sau.sun_path), unix_socket); in main()
|
H A D | sws.c | 2084 if(strlen(unix_socket) >= sizeof(me.sau.sun_path)) { in main() 2087 sizeof(me.sau.sun_path), unix_socket); in main()
|
/curl/ |
H A D | CMakeLists.txt | 1329 check_struct_has_member("struct sockaddr_un" "sun_path" "sys/un.h" USE_UNIX_SOCKETS)
|
H A D | configure.ac | 4644 AC_CHECK_MEMBER([struct sockaddr_un.sun_path], [
|
Completed in 44 milliseconds