Searched refs:SSTRLEN (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/samples/net/sockets/big_http_download/src/ |
D | big_http_download.c | 74 #define SSTRLEN(s) (sizeof(s) - 1) macro 299 sendall(sock, "GET /", SSTRLEN("GET /")); in download() 301 sendall(sock, " HTTP/1.0\r\n", SSTRLEN(" HTTP/1.0\r\n")); in download() 302 sendall(sock, "Host: ", SSTRLEN("Host: ")); in download() 304 sendall(sock, "\r\n\r\n", SSTRLEN("\r\n\r\n")); in download() 388 if (strncmp(download_url, "http://", SSTRLEN("http://")) == 0) { in main() 390 p = download_url + SSTRLEN("http://"); in main() 393 SSTRLEN("https://")) == 0) { in main() 396 p = download_url + SSTRLEN("https://"); in main()
|
/Zephyr-latest/samples/net/sockets/http_get/src/ |
D | http_get.c | 44 #define SSTRLEN(s) (sizeof(s) - 1) macro 114 CHECK(send(sock, REQUEST, SSTRLEN(REQUEST), 0)); in main()
|